Skip to main content
POST
Add a text source

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

Body

application/json
title
string
required
Maximum string length: 100
Example:

"Shipping policy"

text
string
required
Maximum string length: 10000
validFrom
string<date-time> | null

ISO 8601. The agent uses the source only from this time. null clears it. When editing, an omitted field keeps the current value.

Example:

"2026-11-24T00:00:00.000Z"

validUntil
string<date-time> | null

ISO 8601, after validFrom. The agent stops using the source after this time. null clears it. When editing, an omitted field keeps the current value.

Example:

"2026-11-30T23:59:59.000Z"

Response

source
object
required
trainingRequired
boolean
required

True when the change reaches the agent only after the next training run.