Skip to main content
GET
/
documents
/
:id
Get Document
curl --request GET \
  --url https://api.example.com/documents/:id
{
  "document": {}
}

Path Parameters

id
string
required
The unique ID of the document.

Response

document
object
The document metadata and content.
Example Response
{
  "id": "doc-123",
  "title": "Welcome",
  "text": "This is the content of the document...",
  "status": "indexed"
}