Returns a single document with a temporary download URL (for file documents) or the original URL (for web links), plus a list of linked agents with their sync status.
cURL
curl --request GET \ --url https://api.vocobase.com/api/v2/documents/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "type": "pdf", "status": "uploading", "file_size": 123, "mime_type": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "download_url": "<string>", "agents": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "sync_status": "pending" } ] } }
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
rg_live_xxxx
Document ID.
Document details.
Show child attributes