cURL
curl --request GET \ --url https://api.aryn.cloud/v1/storage/docsets/{docset_id}/docs/{doc_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data include_elements=true \ --data include_binary=false
{ "id": "<string>", "elements": [], "properties": {}, "binary_data": "<string>" }
Get a document from a DocSet.
Args: docset_id: The ID of the DocSet doc_id: The ID of the document
Returns: Document: Document data including elements, embeddings, metadata, and binary data
Show child attributes
Was this page helpful?