Upload Document

Upload up to ten documents to your Stax.ai account, optionally to a specific stack and with metadata (fields).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

🚧

POST Body Format

Documents uploads are done by passing the file and any additional data such as target stack or metadata as a multipart/form-data body to the request.

Body Params
file
required

A list of up to 10 multipart/form-data files to upload.

string

Target stack ID for document. Leave empty to auto-sort.

string
Defaults to []

JSON-formatted string of document metadata (fields).

string

If any client-side key or path is used to identify a document. This helps prevent duplicates without having to extract content.

Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json