Skip to main content
POST
Interaction API
The Interaction API lets you send user interactions directly to the Nebuly platform.
object
required
object[]
A list of feedback actions provided by the end-user during or after the interaction.
object[]
required
The full trace of your LLM agent or chain.
boolean
default:"true"
Boolean flag to anonymize your data

Validation errors

Every interaction must contain at least one of input or output. If both are present and empty, the interaction is rejected with HTTP status 422 Unprocessable Entity and nothing is stored. If a field is missing entirely, the standard Field required error is returned for that field instead. The same validation applies to the v1, v2 and v3 interaction and conversation ingestion endpoints. Validation errors on these endpoints return a trimmed body: each entry in detail contains only type, loc and msg.
For trace_conversation, loc points to the offending interaction by index:
If a required field is missing entirely, the error is the standard one for that field: