Skip to main content
GET
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
knowledge
/
{knowledgeId}
Get a piece of knowledge by ID
curl --request GET \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/knowledge/{knowledgeId} \
  --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",
    "content": "A collection of best practices for AI in healthcare"
  }
}

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

knowledgeId
string
required

Knowledge ID

Response

Success

Response containing a single knowledge

data
object
required

Response containing a single knowledge