1. AI
Cekat Open API
  • Chat
    • Connected Platforms
      • List inboxes
      • List inboxes (legacy) (deprecated)
    • Broadcast
      • Create a template
      • Synchronize templates
      • Delete a template
      • List templates
      • Send a template
      • List recipient lists
      • Upload a recipient list
      • List campaigns
      • Create a campaign
      • Get campaign details
      • List campaign messages (deprecated)
      • Check or reserve template-message balance
    • Conversation
      • List conversations
      • Get a conversation
      • Update a conversation
      • List agent assignments
    • Message
      • List messages
      • Get AI credit usage
      • Check or reserve service-message balance
      • List messages in a conversation
      • Get a message
      • Send a WhatsApp message
  • CRM
    • Contact
      • List contacts
      • Create a contact
      • Search contacts
      • Get contact filter fields
      • Get the contact board
      • Create a contact property
      • Get a contact
      • Update a contact
      • Get contact properties
      • Update contact properties
    • Board
      • List CRM boards
      • Get a CRM board
      • Get a CRM column
      • Get a CRM column by name
      • List CRM board items
      • List CRM board items (page-based) (deprecated)
      • Create a CRM board item
      • Delete CRM board items
      • Search CRM board items
      • Get a CRM board item
      • Update a CRM board item
  • AI
    • List Q&A documents
      GET
    • Create Q&A documents
      POST
    • Delete Q&A documents
      DELETE
    • Generate an AI response (beta)
      POST
    • Get the OrderOnline integration
      GET
    • Delete the OrderOnline integration
      DELETE
  • Orders
    • List orders
      GET
    • Create an order
      POST
    • Get an order
      GET
    • Update an order
      PUT
  • Settings
    • List agents
      GET
    • List agents (v2)
      GET
  • Tickets
    • List ticket boards
      GET
    • List ticket templates
      GET
    • List tickets
      POST
    • Create a ticket
      POST
    • Update a ticket
      PUT
    • Add a product to a ticket
      POST
    • Update a ticket product
      PUT
  1. AI

List Q&A documents

GET
/api/documents
Lists the question-and-answer pairs in your AI agents' knowledge, newest first.

Request

Authorization
Add parameter in header
api_key
Example:
api_key: ********************
Query Params

Responses

🟢200
application/json
Bodyapplication/json

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/documents' \
--header 'api_key: <api-key>'
Response Response Example
200 - 200 A page of Q&A documents.
{
  "success": true,
  "data": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "question": "Jam berapa toko buka?",
      "answer": "Toko buka setiap hari pukul 09.00 sampai 21.00 WIB.",
      "ai_agent_id": "4d3c2b1a-0f9e-4d8c-b7a6-5f4e3d2c1b0a",
      "created_at": "2026-10-01T03:00:00.000000+00:00",
      "updated_at": null
    }
  ],
  "metadata": {
    "pagination": {
      "page": 1,
      "limit": 100,
      "total": 1,
      "total_pages": 1
    }
  }
}
Modified at 2026-10-13 05:32:46
Previous
AI
Next
Create Q&A documents
Built with