Test Agent
POST
/api/v1/admin/projects/{project_id}/test
Run one test message through the agent without sending to a real channel.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” project_id
required
Project Id
string format: uuid
Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ” AgentTestRequest
Payload for testing an agent without a live channel.
object
channel
Channel
string
message
required
Message
string
phone_e164
Phone E164
string
Responses
Section titled “ Responses ”Successful Response
AgentTestResponse
Agent test endpoint response.
object
cost_usd
Cost Usd
number
metadata
Metadata
object
key
additional properties
any
response_text
Response Text
string
warnings
Warnings
Array<string>
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string