AgentTurnRequest
A request or response body; the type column links to the schemas it refers to.
AgentTurnRequest
| Field | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | What the person asks the agent. 1–20000 characters |
| attachments | array of AgentAttachmentInput | no | Files to give the agent with the message — images and PDFs, at most five — each uploaded first through `POST /api/agent-sessions/{session_id}/attachment-uploads`. The agent gets every one in its sandbox and is shown the images. A file can be attached once. at most 5 items |
jsonExample
{
"prompt": "Which of my team's forklift certifications lapse this month?",
"attachments": [
{
"pathname": "string",
"file_name": "forklift-certificate.pdf"
}
]
}