POST
/
v1
/
storage
/
docsets
/
{docset_id}
/
docs
Add Doc
curl --request POST \
  --url https://api.aryn.cloud/v1/storage/docsets/{docset_id}/docs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file_url=<string>' \
  --form file=@example-file \
  --form options=@example-file
{
  "account_id": "<string>",
  "doc_id": "<string>",
  "docset_id": "<string>",
  "created_at": "<string>",
  "name": "<string>",
  "size": 123,
  "content_type": "<string>",
  "properties": {}
}

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

The unique identifier of the docset to which to add the doc.

Body

multipart/form-data

Response

Successful Response