cURL
curl --request POST \ --url https://api.aryn.cloud/v1/async/submit/storage/docsets/{docset_id}/docs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'file=<string>' \ --form 'file_url=<string>' \ --form 'options=<string>' \ --form file.0='@example-file' \ --form options.0='@example-file'
{ "task_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the docset to which to add the doc.
The file to add to the Aryn platform.
DocParse options to use during partitioning
Successful Response
The ID of the async task.
Was this page helpful?