cURL
curl --request GET \ --url https://api.contextual.ai/v1/datastores/{datastore_id}/documents/{document_id}/metadata \ --header 'Authorization: Bearer <token>'
{ "custom_metadata": {}, "custom_metadata_config": {}, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "status": "pending", "created_at": "<string>", "updated_at": "<string>", "ingestion_config": {}, "has_access": true }
Get details of a given document, including its name and ingestion job status.
name
status
pending
processing
retrying
completed
failed
cancelled
Show child attributes
Was this page helpful?