Skip to main content
GET
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
knowledge
List all pieces of knowledge
curl --request GET \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/knowledge \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "7b9e5d2c-f314-48a9-be56-9843a2f6c019",
      "state": "initial",
      "title": "Best practices for AI in healthcare",
      "description": "A collection of best practices for AI in healthcare",
      "createdAt": "2023-01-01T00:00:00.000Z",
      "updatedAt": "2023-01-01T00:00:00.000Z",
      "source": "text",
      "providedBy": "NotionPage",
      "pdfFileUrl": "https://example.com/document.pdf",
      "txtFileUrl": "/knowledge/7b9e5d2c-f314-48a9-be56-9843a2f6c019",
      "url": "https://example.com/document.pdf"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

Response

Success

Response containing an array of knowledge

data
object[]
required

Array of knowledge