KumkuatKumkuat
API reference › Documents

Get all documents

GET/api/v1/documents

GET/api/v1/documents

Get all documents

Get all documents with pagination, filtering, and sorting

PARAMETERS
pagequery · integer
Page number, 1-based.
e.g. 1
per_pagequery · integer
Items per page.
e.g. 20
sort_byquery · string
Field to sort on.
e.g. extracted_at
sort_orderquery · enum
asc or desc.
one of: asc, desc
searchquery · string
Full-text filter on title and content.
e.g. string
lightquery · string
Set to 1 to omit content and tags.
e.g. string
facetsquery · string
Set to 1 to add executive, company and communication_type.
e.g. string
exclude_persona_kbsquery · string
Set to 1 to leave out persona knowledge-base documents.
e.g. string
In the full reference
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/documents" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "documents": [
    {
      "auto_tags": [
        {
          "extracted_value": "Jane Doe",
          "name": "Executives"
        }
      ],
      "content_type": "transcript",
      "id": "c0a8e2f4-1b7d-4e2a-8c9f-5d6e7a8b9c01",
      "source_url": "https://investors.example.com/q3-call",
      "tags": [
        "string"
      ],
      "title": "Acme Q3 earnings call transcript",
      "word_count": 4210,
      "workspace_id": "string"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.