cURL
curl --request PATCH \ --url https://api.example.com/api/agents/{agent_uid}/scratchpads/{scratchpad_uid} \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>" } '
Update the content of an agent run scratchpad
{ "content": "## Investigation Notes\n\nInvoice INV-2026-0042 is 15 days overdue. Customer has been contacted twice. Escalating to account manager." }
{ "status": "success", "status_code": 200, "message": "Scratchpad updated", "data": { "uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "agent_uid": "550e8400-e29b-41d4-a716-446655440000", "organization_uid": "660e8400-e29b-41d4-a716-446655440000", "content": "## Investigation Notes\n\nInvoice INV-2026-0042 is 15 days overdue. Customer has been contacted twice. Escalating to account manager.", "status": "open", "created_on": "2026-03-18T09:15:00Z", "updated_on": "2026-03-20T10:00:00Z", "closed_on": null } }
403
404
422
content