Skip to main content
POST
/
v1
/
assess
{
  "id": "pfh0haxfpzowht3oi213cqos"
}

Body

application/json
ticketId
string
required

The ID of the ticket in the external system. Ensure this is unique for each ticket.

Example:

"ticket_123"

messages
object[]
required

A list of messages that make up the conversation transcript (roles: user, agent, bot, mixed, system)

Example:
[
{
"role": "user",
"content": "Hello, world!"
},
{
"role": "agent",
"content": "Hello, world!"
}
]
subject
string

The subject of the ticket

Example:

"My computer is not working"

Response

The ingested event receipt. Note; we aim to 
respond as quickly as possible, so we return a 202 Accepted
status code, and process the event asynchronously.
id
string
required

The ID of the ingested event

Example:

"pfh0haxfpzowht3oi213cqos"

I