Header Parameters
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/email-attachments" \ -F file="string"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "content_type": "string", "size_bytes": 0}Update Agent
Change some fields. Fields left out keep their value; ``null`` clears first_message, ai_disclosure_line, tools, max_duration_seconds or handover_max_duration_seconds. Live calls keep the settings they started with. ``handover_contacts`` replaces the list; ``[]`` clears it and ``null`` leaves it.
Upsert Provider
Save a provider for ``layer`` and make it the active one. A partial write: anything you omit keeps its saved value. Omitting ``api_key`` keeps the stored key, ``params`` keys you don't send are preserved, and omitting ``fallback_enabled`` leaves the flag alone (``false`` on a new row). The merged result — not the partial input — is validated against the layer's schema (422 on a mismatch). 404 on an unknown layer.