PATCH
/
indexing
/
v0
/
documents
/
{flow_id}
/
{org_id}
/
{node_id}
curl -X PATCH "https://api.stack-ai.com/indexing/v0/documents/{flow_id}/{org_id}/{node_id}" \
  -H "Authorization: Bearer <your-private-key>" \
  -F "file1=@/path/to/updated_document1.pdf" \
  -F "file2=@/path/to/updated_document2.pdf"
"<any>"
curl -X PATCH "https://api.stack-ai.com/indexing/v0/documents/{flow_id}/{org_id}/{node_id}" \
  -H "Authorization: Bearer <your-private-key>" \
  -F "file1=@/path/to/updated_document1.pdf" \
  -F "file2=@/path/to/updated_document2.pdf"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string
required

The organization ID. Learn how to get it.

flow_id
string
required

The flow ID. Learn how to get it.

node_id
string
required

The node ID. Learn how to get it.

Body

application/json · file[]

Files to index

Response

200
application/json
Successful Response

The response is of type any.