Skip to main content
GET
/
v1
/
knowledge-base
/
{document_id}
/
dependent-agents
List Document Dependent Agents
curl --request GET \
  --url https://api.example.com/v1/knowledge-base/{document_id}/dependent-agents
{
  "agents": [
    {
      "id": "<string>",
      "name": "<string>",
      "created_at_unix_secs": 123,
      "type": "available"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Headers

x-api-key
string | null

API key for authentication

Path Parameters

document_id
string
required

Query Parameters

cursor
string | null

Cursor for pagination

page_size
integer
default:30

Items per page

Required range: 1 <= x <= 100

Response

Successful Response

Paginated dependent agents for a document

agents
DependentAgent · object[]
required
has_more
boolean
required
next_cursor
string | null