Skip to main content
POST
Train agent (deprecated)

Authorizations

Authorization
string
header
required

API key from your account settings

Path Parameters

agentId
string
required

The agent ID

Minimum string length: 1
Example:

"5QHA6VB-DIAbBhxwqxfdi"

Response

Nothing to do — sources already train on write

success
enum<boolean>
required
Available options:
true
deprecated
enum<boolean>
required
Available options:
true
message
string
required
Example:

"Deprecated: this endpoint does nothing. Sources train as soon as they are created, updated or deleted, so changes take effect immediately. Poll GET /agents/{agentId}/sources/{sourceId} for a source status."