Skip to main content
POST
/
api
/
v1
/
add
Add Data to Ingestion Queue
curl --request POST \
  --url {protocol}://{domain}/api/v1/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "episodeBody": "<string>",
  "referenceTime": "2023-11-07T05:31:56Z",
  "source": "<string>",
  "metadata": {},
  "labelIds": [
    "<string>"
  ],
  "sessionId": "<string>"
}
'
{
  "success": true,
  "queueId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication supports:

  • Personal API tokens (PATs)
  • OAuth2 access tokens
  • JWT tokens

Example: Authorization: Bearer your_token_here

Body

application/json
episodeBody
string
required

Content to ingest and process

referenceTime
string<date-time>
required

Reference timestamp for the content

source
string
required

Source identifier

metadata
object

Additional metadata

labelIds
string[]

Labels to assign the content to

sessionId
string

Session identifier

Response

200 - application/json

Data queued for ingestion

success
boolean
queueId
string