GET
/
v1
/
storage
/
docsets
/
{docset_id}
/
docs
/
{doc_id}
Get Doc
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

docset_id
string
required
doc_id
string
required

Body

application/x-www-form-urlencoded
include_elements
boolean
default:true
include_binary
boolean
default:false

Response

Successful Response

id
string
required

The unique id for the Document.

elements
Element · object[]

The elements contained in the Document.

properties
object

A map of properties for the Document.

binary_data
string | null

The binary content of the document, encoded as a base64 string.