GET /api/v1/{context_id}/documents
Changed onLists Layer 0 knowledge documents
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Spectron context id
Query parameters
Filter by document status
Filter by mime type
Max documents to return (default 100, max 500)
Continuation token from the previous page's page.nextCursor
Also return page.totalSize (costs a full count of the filtered set)
Deprecated: zero-based page index. Use cursor.
Deprecated: page size. Use limit.
Response
Documents
Changes
- breaking
the
response's property type changed fromintegertoobject, and format fromint32to no format for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
added the new optional
queryrequest parametercount - info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the non-success response with the status
- info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- warning
deleted the
queryrequest parametermime_type - warning
deleted the
queryrequest parameterpage_size - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the new optional
queryrequest parametermimeType - info
added the new optional
queryrequest parameterpageSize
- warning