VirtuousAI
Reference

Knowledge

List Knowledge Activity

GET
/api/v1/knowledge/activity

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/activity"
[
  {}
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Dispute Claim

POST
/api/v1/knowledge/claims/{claim_id}/dispute

Path Parameters

claim_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/claims/497f6eca-6276-4993-bfeb-53cbbbba6f08/dispute"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Endorse Claim

POST
/api/v1/knowledge/claims/{claim_id}/endorse

Path Parameters

claim_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/claims/497f6eca-6276-4993-bfeb-53cbbbba6f08/endorse"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Resolve Comment

POST
/api/v1/knowledge/comments/{comment_id}/resolve

Path Parameters

comment_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08/resolve"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Or Resume Curator Session

POST
/api/v1/knowledge/curator/session

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/curator/session"
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Documents

GET
/api/v1/knowledge/documents

Query Parameters

q?|

Search by title or content

tag?array<>|

Filter by tag name(s)

tag_namespace?|

Restrict tag name filters to a namespace

tag_id?array<>|

Filter by tag id(s)

tag_match?string
Default"any"
Value in"any" | "all"
limit?integer
Default50
Range1 <= value <= 100
offset?integer
Default0
Range0 <= value

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents"
{
  "hasNext": true,
  "items": [
    {
      "clonedFromTemplateId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "disabled": false,
      "id": "string",
      "lastEditedBy": "string",
      "parentDocumentId": "string",
      "status": "string",
      "tags": [
        {
          "attributes": {},
          "color": "string",
          "createdAt": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "string",
          "namespace": "string",
          "slug": "string",
          "updatedAt": "2019-08-24T14:15:22Z"
        }
      ],
      "tenantId": "string",
      "title": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "limit": 0,
  "nextOffset": 0,
  "offset": 0,
  "total": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Document

POST
/api/v1/knowledge/documents

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

content*
title*string

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents" \  -H "Content-Type: application/json" \  -d '{    "content": {},    "title": "string"  }'
{
  "clonedFromTemplateId": "string",
  "content": {},
  "contentText": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "disabled": false,
  "id": "string",
  "lastEditedBy": "string",
  "parentDocumentId": "string",
  "status": "string",
  "tags": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "tenantId": "string",
  "title": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Document

GET
/api/v1/knowledge/documents/{document_id}

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "clonedFromTemplateId": "string",
  "content": {},
  "contentText": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "disabled": false,
  "id": "string",
  "lastEditedBy": "string",
  "parentDocumentId": "string",
  "status": "string",
  "tags": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "tenantId": "string",
  "title": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Update Document

PATCH
/api/v1/knowledge/documents/{document_id}

Path Parameters

document_id*string
Formatuuid

Header Parameters

X-Dialectic-Update-Source?|
authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

content?|
title?|

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "clonedFromTemplateId": "string",
  "content": {},
  "contentText": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "disabled": false,
  "id": "string",
  "lastEditedBy": "string",
  "parentDocumentId": "string",
  "status": "string",
  "tags": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "tenantId": "string",
  "title": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Delete Document

DELETE
/api/v1/knowledge/documents/{document_id}

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Suggest Changeset

POST
/api/v1/knowledge/documents/{document_id}/changesets/suggest

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

sectionFrom*integer
sectionText*string
sectionTo*integer

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/changesets/suggest" \  -H "Content-Type: application/json" \  -d '{    "sectionFrom": 0,    "sectionText": "string",    "sectionTo": 0  }'
{
  "changeset": {
    "createdAt": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "itemCount": 0,
    "proposedEventId": "739c2f67-0578-48e7-9ee8-cf667c07cb88",
    "proposerType": "string",
    "proposerUserId": "62b86409-fac8-4e68-b306-9cdf48f52616",
    "rationale": "string",
    "resolvedAt": "2019-08-24T14:15:22Z",
    "resolvedBy": "14b2aa2a-efb0-4ef1-9ffc-3025efbd2222",
    "resolvedEventId": "812b5d17-6c80-4776-a21b-73c2932f1589",
    "reviewNote": "string",
    "status": "proposed",
    "threadId": "51f72284-0555-48fe-a20a-4369ee94dc3e",
    "title": "string",
    "turnId": "7513f73d-27ec-455d-85b7-7bd021b4dccf",
    "updatedAt": "2019-08-24T14:15:22Z",
    "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c"
  },
  "items": [
    {
      "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
      "assetKind": "knowledge_document",
      "baseContentSha256": "string",
      "baseText": "string",
      "baseVersion": 0,
      "baseVersionId": "238d56e0-9ec7-4ebf-bfb2-e487b4bc769c",
      "changesetId": "7df26743-2060-4d41-a94a-946846cd7422",
      "contentFormat": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "diffStats": {},
      "diffUnified": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "operation": "create",
      "ordinal": 0,
      "proposedContentSha256": "string",
      "proposedPayload": {},
      "proposedText": "string",
      "resultVersion": 0,
      "resultVersionId": "5bdef736-5d13-4b91-8666-e0cb14973657",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Document Claims

GET
/api/v1/knowledge/documents/{document_id}/claims

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/claims"
[
  {
    "confidence": 0,
    "contradictionCount": 0,
    "effectiveConfidence": 0,
    "id": "string",
    "spanFrom": 0,
    "spanTo": 0,
    "text": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Extract Claims Now

POST
/api/v1/knowledge/documents/{document_id}/claims/extract

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/claims/extract"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Comments

GET
/api/v1/knowledge/documents/{document_id}/comments

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments"
[
  {
    "anchorFrom": 0,
    "anchorText": "string",
    "anchorTo": 0,
    "authorName": "string",
    "authorUserId": "string",
    "body": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "documentId": "string",
    "id": "string",
    "parentCommentId": "string",
    "resolvedAt": "2019-08-24T14:15:22Z"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Comment

POST
/api/v1/knowledge/documents/{document_id}/comments

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

anchorFrom?|
anchorText?|
anchorTo?|
body*string
parentCommentId?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments" \  -H "Content-Type: application/json" \  -d '{    "body": "string"  }'
{
  "anchorFrom": 0,
  "anchorText": "string",
  "anchorTo": 0,
  "authorName": "string",
  "authorUserId": "string",
  "body": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "documentId": "string",
  "id": "string",
  "parentCommentId": "string",
  "resolvedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Document Contradictions

GET
/api/v1/knowledge/documents/{document_id}/contradictions

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/contradictions"
[
  {
    "claimADocumentTitle": "string",
    "claimAText": "string",
    "claimBDocumentTitle": "string",
    "claimBText": "string",
    "confidence": 0,
    "explanation": "string",
    "relation": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Fork Document

POST
/api/v1/knowledge/documents/{document_id}/fork

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

Body for POST /documents/:id/fork — currently empty (future: fork label).

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/fork" \  -H "Content-Type: application/json" \  -d '{}'
{
  "clonedFromTemplateId": "string",
  "content": {},
  "contentText": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "disabled": false,
  "id": "string",
  "lastEditedBy": "string",
  "parentDocumentId": "string",
  "status": "string",
  "tags": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "tenantId": "string",
  "title": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Upload Document Image

POST
/api/v1/knowledge/documents/{document_id}/images

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

multipart/form-data

file*file
Formatbinary

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/images" \  -F file="string"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Document Image

GET
/api/v1/knowledge/documents/{document_id}/images/{filename}

Path Parameters

document_id*string
Formatuuid
filename*string

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/images/string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Document Refs

GET
/api/v1/knowledge/documents/{document_id}/refs

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/refs"
{
  "docRefs": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "documentId": "string",
      "id": "string",
      "label": "string",
      "position": 0,
      "targetDocumentId": "string",
      "tenantId": "string"
    }
  ],
  "entityRefs": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "documentId": "string",
      "entityId": "string",
      "id": "string",
      "label": "string",
      "position": 0,
      "tenantId": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Add Doc Ref

POST
/api/v1/knowledge/documents/{document_id}/refs/documents

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

label?|
position?integer
Default0
targetDocumentId*string

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/refs/documents" \  -H "Content-Type: application/json" \  -d '{    "targetDocumentId": "string"  }'
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "documentId": "string",
  "id": "string",
  "label": "string",
  "position": 0,
  "targetDocumentId": "string",
  "tenantId": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Remove Doc Ref

DELETE
/api/v1/knowledge/documents/{document_id}/refs/documents/{ref_id}

Path Parameters

document_id*string
Formatuuid
ref_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/refs/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Add Entity Ref

POST
/api/v1/knowledge/documents/{document_id}/refs/entities

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

entityId*string
label?|
position?integer
Default0

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/refs/entities" \  -H "Content-Type: application/json" \  -d '{    "entityId": "string"  }'
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "documentId": "string",
  "entityId": "string",
  "id": "string",
  "label": "string",
  "position": 0,
  "tenantId": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Remove Entity Ref

DELETE
/api/v1/knowledge/documents/{document_id}/refs/entities/{ref_id}

Path Parameters

document_id*string
Formatuuid
ref_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/refs/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Document Sessions

GET
/api/v1/knowledge/documents/{document_id}/sessions

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions"
[
  {}
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Knowledge Session

POST
/api/v1/knowledge/documents/{document_id}/sessions

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Document Tags

GET
/api/v1/knowledge/documents/{document_id}/tags

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/tags"
{
  "items": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Set Document Tags

PUT
/api/v1/knowledge/documents/{document_id}/tags

Path Parameters

document_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

tagIds?array<>
tagNames?array<>

Response Body

application/json

application/json

curl -X PUT "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/tags" \  -H "Content-Type: application/json" \  -d '{}'
{
  "items": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Document Versions

GET
/api/v1/knowledge/documents/{document_id}/versions

Path Parameters

document_id*string
Formatuuid

Query Parameters

limit?integer
Default20
Range1 <= value <= 100

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions"
[
  {
    "authorAgentSpecId": "string",
    "authorKind": "user",
    "content": {},
    "contentText": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "createdByName": "string",
    "diffableText": "string",
    "id": "string",
    "sourceColorBucket": "string",
    "sourceLabel": "string",
    "sourceType": "string",
    "summary": "string",
    "title": "string",
    "version": 0
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Document Version

GET
/api/v1/knowledge/documents/{document_id}/versions/{version}

Path Parameters

document_id*string
Formatuuid
version*integer

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/0"
{
  "authorAgentSpecId": "string",
  "authorKind": "user",
  "content": {},
  "contentText": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "createdByName": "string",
  "diffableText": "string",
  "id": "string",
  "sourceColorBucket": "string",
  "sourceLabel": "string",
  "sourceType": "string",
  "summary": "string",
  "title": "string",
  "version": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Restore Document Version

POST
/api/v1/knowledge/documents/{document_id}/versions/{version}/restore

Path Parameters

document_id*string
Formatuuid
version*integer

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/0/restore"
{
  "clonedFromTemplateId": "string",
  "content": {},
  "contentText": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "disabled": false,
  "id": "string",
  "lastEditedBy": "string",
  "parentDocumentId": "string",
  "status": "string",
  "tags": [
    {
      "attributes": {},
      "color": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "namespace": "string",
      "slug": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "tenantId": "string",
  "title": "string",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Entities

GET
/api/v1/knowledge/entities

Query Parameters

q?|

Search by name or slug

kind?|
status?|

Filter by lifecycle status

limit?integer
Default25
Range1 <= value <= 100
offset?integer
Default0
Range0 <= value

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/entities"
{
  "hasNext": true,
  "items": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
      "definition": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "kind": "master_entity",
      "name": "string",
      "objectiveCadence": "daily",
      "objectiveOwnerUserId": "c0f02024-f2e5-43f2-a58c-ed830253c720",
      "objectiveTargetDirection": "higher_is_better",
      "objectiveTargetValue": "string",
      "parentObjectiveId": "f9c63857-12dd-44e1-8c01-2ea02152219c",
      "slug": "string",
      "status": "draft",
      "stewardUserId": "831e2145-fdd2-4963-89ff-f7f8818795d6",
      "updatedAt": "2019-08-24T14:15:22Z",
      "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"
    }
  ],
  "limit": 0,
  "nextOffset": 0,
  "offset": 0,
  "total": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Entity

POST
/api/v1/knowledge/entities

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

definition?string
Default""
Lengthlength <= 8000
initialBinding?|
kind*string

The seven primitive kinds organized into four semantic layers.

Subject — the nouns the rest of the model hangs off: MASTER_ENTITY: a real-world business object (Company, Customer, Deal)

Event — the verbs: EVENT: something that happens involving entities (OrderPlaced, SyncRan)

Property — how to describe and slice subjects/events: ATTRIBUTE: categorical/temporal property (status, stage, region) MEASURE: calculated/aggregated value over events (revenue, count)

Aggregation — named slices and goal-bearing measures: SEGMENT: a constrained subset of a master entity OBJECTIVE: a measure plus target + owner + cadence (KPI generalization)

Vocabulary — defined terms that aren't first-class data: GLOSSARY_TERM: industry jargon, methodology, policy

Value in"master_entity" | "event" | "attribute" | "measure" | "segment" | "objective" | "glossary_term"
name*string
Length1 <= length <= 120
objectiveCadence?|
objectiveOwnerUserId?|
objectiveTargetDirection?|
objectiveTargetValue?||
parentObjectiveId?|
slug?|
status?string
Default"draft"
Value in"draft" | "approved" | "deprecated"
stewardUserId?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/entities" \  -H "Content-Type: application/json" \  -d '{    "kind": "master_entity",    "name": "string"  }'
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
  "definition": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "kind": "master_entity",
  "name": "string",
  "objectiveCadence": "daily",
  "objectiveOwnerUserId": "c0f02024-f2e5-43f2-a58c-ed830253c720",
  "objectiveTargetDirection": "higher_is_better",
  "objectiveTargetValue": "string",
  "parentObjectiveId": "f9c63857-12dd-44e1-8c01-2ea02152219c",
  "slug": "string",
  "status": "draft",
  "stewardUserId": "831e2145-fdd2-4963-89ff-f7f8818795d6",
  "updatedAt": "2019-08-24T14:15:22Z",
  "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Find Entities By Binding

GET
/api/v1/knowledge/entities/by-binding

Query Parameters

target_kind*string

The kind of data resource a canonical entity binds to.

Covers every form data takes in the platform — UUID-backed managed resources, external-warehouse natural keys, and physical tables in the tenant data schema (golden layer, task storage, workspace storage, materialized tool results).

Value in"data_product_task" | "data_product_tool" | "workspace_chart" | "workspace" | "artifact" | "document" | "sync_table_binding" | "external_schema_table" | "external_schema_column" | "internal_data_table"
ref_data_product_task_id?|
ref_data_product_tool_id?|
ref_workspace_chart_id?|
ref_workspace_id?|
ref_artifact_id?|
ref_document_id?|
ref_sync_table_binding_id?|
ref_connection_id?|
ref_external_schema?|
ref_external_table?|
ref_external_column?|
ref_internal_table_name?|
ref_internal_table_scope?|

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/entities/by-binding?target_kind=data_product_task"
{
  "items": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
      "definition": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "kind": "master_entity",
      "name": "string",
      "objectiveCadence": "daily",
      "objectiveOwnerUserId": "c0f02024-f2e5-43f2-a58c-ed830253c720",
      "objectiveTargetDirection": "higher_is_better",
      "objectiveTargetValue": "string",
      "parentObjectiveId": "f9c63857-12dd-44e1-8c01-2ea02152219c",
      "slug": "string",
      "status": "draft",
      "stewardUserId": "831e2145-fdd2-4963-89ff-f7f8818795d6",
      "updatedAt": "2019-08-24T14:15:22Z",
      "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Entity

GET
/api/v1/knowledge/entities/{entity_id}

Path Parameters

entity_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
  "definition": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "kind": "master_entity",
  "name": "string",
  "objectiveCadence": "daily",
  "objectiveOwnerUserId": "c0f02024-f2e5-43f2-a58c-ed830253c720",
  "objectiveTargetDirection": "higher_is_better",
  "objectiveTargetValue": "string",
  "parentObjectiveId": "f9c63857-12dd-44e1-8c01-2ea02152219c",
  "slug": "string",
  "status": "draft",
  "stewardUserId": "831e2145-fdd2-4963-89ff-f7f8818795d6",
  "updatedAt": "2019-08-24T14:15:22Z",
  "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Update Entity

PATCH
/api/v1/knowledge/entities/{entity_id}

Path Parameters

entity_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

definition?|
name?|
objectiveCadence?|
objectiveOwnerUserId?|
objectiveTargetDirection?|
objectiveTargetValue?||
parentObjectiveId?|
slug?|
status?|
stewardUserId?|

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
  "definition": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "kind": "master_entity",
  "name": "string",
  "objectiveCadence": "daily",
  "objectiveOwnerUserId": "c0f02024-f2e5-43f2-a58c-ed830253c720",
  "objectiveTargetDirection": "higher_is_better",
  "objectiveTargetValue": "string",
  "parentObjectiveId": "f9c63857-12dd-44e1-8c01-2ea02152219c",
  "slug": "string",
  "status": "draft",
  "stewardUserId": "831e2145-fdd2-4963-89ff-f7f8818795d6",
  "updatedAt": "2019-08-24T14:15:22Z",
  "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Delete Entity

DELETE
/api/v1/knowledge/entities/{entity_id}

Path Parameters

entity_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Entity Bindings

GET
/api/v1/knowledge/entities/{entity_id}/bindings

Path Parameters

entity_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/bindings"
{
  "items": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
      "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "note": "string",
      "refArtifactId": "3ee22991-0e40-4b9b-89a0-e37853f160f1",
      "refConnectionId": "c6b691bd-2811-434b-a8da-1b987093634e",
      "refDataProductTaskId": "23788a9c-d89a-4597-b979-83dd994eb14f",
      "refDataProductToolId": "959beb0d-ef56-4029-9715-b6e10582b227",
      "refDocumentId": "3d1faf84-ac8e-4e99-a7c1-22b08ddf0438",
      "refExternalColumn": "string",
      "refExternalSchema": "string",
      "refExternalTable": "string",
      "refInternalTableName": "string",
      "refInternalTableScope": "shared",
      "refSyncTableBindingId": "2d36b2ce-2250-41f9-a0e4-ae4654bb80d0",
      "refWorkspaceChartId": "fb8695fa-a296-4ada-bfc9-412d58e19fa3",
      "refWorkspaceId": "813e345c-4fbb-4217-a367-2fd917424eb9",
      "targetKind": "data_product_task",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Entity Binding

POST
/api/v1/knowledge/entities/{entity_id}/bindings

Path Parameters

entity_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

note?|
refArtifactId?|
refConnectionId?|
refDataProductTaskId?|
refDataProductToolId?|
refDocumentId?|
refExternalColumn?|
refExternalSchema?|
refExternalTable?|
refInternalTableName?|
refInternalTableScope?|
refSyncTableBindingId?|
refWorkspaceChartId?|
refWorkspaceId?|
targetKind*string

The kind of data resource a canonical entity binds to.

Covers every form data takes in the platform — UUID-backed managed resources, external-warehouse natural keys, and physical tables in the tenant data schema (golden layer, task storage, workspace storage, materialized tool results).

Value in"data_product_task" | "data_product_tool" | "workspace_chart" | "workspace" | "artifact" | "document" | "sync_table_binding" | "external_schema_table" | "external_schema_column" | "internal_data_table"

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/bindings" \  -H "Content-Type: application/json" \  -d '{    "targetKind": "data_product_task"  }'
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
  "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "note": "string",
  "refArtifactId": "3ee22991-0e40-4b9b-89a0-e37853f160f1",
  "refConnectionId": "c6b691bd-2811-434b-a8da-1b987093634e",
  "refDataProductTaskId": "23788a9c-d89a-4597-b979-83dd994eb14f",
  "refDataProductToolId": "959beb0d-ef56-4029-9715-b6e10582b227",
  "refDocumentId": "3d1faf84-ac8e-4e99-a7c1-22b08ddf0438",
  "refExternalColumn": "string",
  "refExternalSchema": "string",
  "refExternalTable": "string",
  "refInternalTableName": "string",
  "refInternalTableScope": "shared",
  "refSyncTableBindingId": "2d36b2ce-2250-41f9-a0e4-ae4654bb80d0",
  "refWorkspaceChartId": "fb8695fa-a296-4ada-bfc9-412d58e19fa3",
  "refWorkspaceId": "813e345c-4fbb-4217-a367-2fd917424eb9",
  "targetKind": "data_product_task",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Update Entity Binding

PATCH
/api/v1/knowledge/entities/{entity_id}/bindings/{binding_id}

Path Parameters

entity_id*string
Formatuuid
binding_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

note?|

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/bindings/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "createdAt": "2019-08-24T14:15:22Z",
  "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
  "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "note": "string",
  "refArtifactId": "3ee22991-0e40-4b9b-89a0-e37853f160f1",
  "refConnectionId": "c6b691bd-2811-434b-a8da-1b987093634e",
  "refDataProductTaskId": "23788a9c-d89a-4597-b979-83dd994eb14f",
  "refDataProductToolId": "959beb0d-ef56-4029-9715-b6e10582b227",
  "refDocumentId": "3d1faf84-ac8e-4e99-a7c1-22b08ddf0438",
  "refExternalColumn": "string",
  "refExternalSchema": "string",
  "refExternalTable": "string",
  "refInternalTableName": "string",
  "refInternalTableScope": "shared",
  "refSyncTableBindingId": "2d36b2ce-2250-41f9-a0e4-ae4654bb80d0",
  "refWorkspaceChartId": "fb8695fa-a296-4ada-bfc9-412d58e19fa3",
  "refWorkspaceId": "813e345c-4fbb-4217-a367-2fd917424eb9",
  "targetKind": "data_product_task",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Delete Entity Binding

DELETE
/api/v1/knowledge/entities/{entity_id}/bindings/{binding_id}

Path Parameters

entity_id*string
Formatuuid
binding_id*string
Formatuuid

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/bindings/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Entity Versions

GET
/api/v1/knowledge/entities/{entity_id}/versions

Path Parameters

entity_id*string
Formatuuid

Query Parameters

limit?integer
Default50
Range1 <= value <= 100

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions"
{
  "items": [
    {
      "contentSha256": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
      "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "sourceType": "manual_edit",
      "summary": "string",
      "version": 0
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Knowledge Graph

GET
/api/v1/knowledge/graph

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/graph"
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Regenerate Knowledge Graph

POST
/api/v1/knowledge/graph/regenerate

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/graph/regenerate"
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Start Knowledge Interview

POST
/api/v1/knowledge/interview

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/interview"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Preview Knowledge

POST
/api/v1/knowledge/preview

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Request Body

application/json

query*string

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/preview" \  -H "Content-Type: application/json" \  -d '{    "query": "string"  }'
{
  "claims": [
    {
      "claimText": "string",
      "confidence": 0,
      "contradictions": [
        "string"
      ],
      "effectiveConfidence": 0,
      "entityId": "string",
      "evidenceSummary": "string",
      "sourceDocuments": [
        {
          "documentId": "string",
          "documentTitle": "string"
        }
      ],
      "supportingClaims": [
        "string"
      ]
    }
  ],
  "formattedPrompt": "string",
  "memories": [
    {
      "content": "string",
      "source": "string"
    }
  ],
  "totalClaims": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Trigger Knowledge Synthesis

POST
/api/v1/knowledge/seed

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/knowledge/seed"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Get Seed Status

GET
/api/v1/knowledge/seed/status

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/seed/status"
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List All Knowledge Sessions

GET
/api/v1/knowledge/sessions

Query Parameters

limit?integer
Default20
Range1 <= value <= 50

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/knowledge/sessions"
[
  {}
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}