POST
/
indexing
/
v0
/
data
/
{flow_id}
/
{org_id}
/
{node_id}
curl -X POST "https://api.stack-ai.com/indexing/v0/data/{flow_id}/{org_id}/{node_id}" \
  -H "Authorization: Bearer <your-private-key>" \
  -H "Content-Type: application/json" \
  -d '[{"title": "doc 1", "text": "content 1"}, {"title": "doc 2", "text": "content 2"}]'
"<any>"
curl -X POST "https://api.stack-ai.com/indexing/v0/data/{flow_id}/{org_id}/{node_id}" \
  -H "Authorization: Bearer <your-private-key>" \
  -H "Content-Type: application/json" \
  -d '[{"title": "doc 1", "text": "content 1"}, {"title": "doc 2", "text": "content 2"}]'

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 · object[]

Data to index

Response

200
application/json
Successful Response

The response is of type any.