Get dependent agents for multiple documents

Get a list of agents depending on any of the given knowledge base documents.

Headers

xi-api-keystringOptional

Query parameters

dependent_typeenumOptional
Type of dependent agents to return.
Allowed values:
page_sizeintegerOptional1-100Defaults to 30
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstringOptional
Used for fetching next page. Cursor is returned in the response.

Request

This endpoint expects an object.
document_idslist of stringsRequired
The ids of documents or folders from the knowledge base.

Response

Successful Response
agentslist of objects
has_moreboolean
brancheslist of objects
next_cursorstring

Errors

422
Documents Get Bulk Agents Request Unprocessable Entity Error