Get Document
Retrieve a single document by ID
GET
Returns a single document with all its data.
Path Parameters
idstringrequiredThe document ID.
curl -X GET "https://api.example.com/v1/documents/doc_abc" \
-H "Authorization: Bearer $TOKEN"{
"data": {
"id": "doc_abc",
"collection": "posts",
"data": {
"title": "Hello World",
"content": "Welcome to my blog!",
"published": true,
"tags": ["intro", "welcome"]
},
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}