ChatAgentWrite
- analysisType: string
_prompt required - Properties: 1analysisType: ResiaJsonObject
_schema required - Properties: 1inputType: ResiaJsonObject
_schema required - instructionsType: stringrequired
The instructions the agent follows for each chat. Use
$nameor${name}to insert a top-level input property. Declare every placeholder ininput_schema.properties. Supply every referenced value in the chat'sinputs, even if the schema does not require it. Use$$for a literal dollar sign. Nested property paths are not supported. - nameType: stringmin length:1required
- chatType: string
_ended _webhook _url min length:1Format: urinullableHTTPS URL Resia POSTs a chat.ended event to each time a chat this Chat Agent runs reaches a terminal status. The body is a JSON WebhookEvent: {"type": "chat.ended", "chat": ...}, where chat is the same ChatDetail that GET /v1/chats/{chat_id} returns. Resia makes one immediate attempt when the chat ends and retries a failed delivery on a fixed schedule; any 2xx response is success. The chat's id repeats unchanged across retries, so treat a repeated chat.id as a duplicate. Treat the complete URL as a credential: delivery authenticity is HTTPS plus URL secrecy. Null clears the webhook and stops pending deliveries.
- descriptionType: stringmin length:1max length:280nullable

