ChatAgentResource
- analysisType: string
_prompt required - Properties: 1analysisType: ResiaJsonObject
_schema required - createdType: stringFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- idType: stringmin length:1max length:512required
- 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. - isType: boolean
_active required - nameType: stringmin length:1required
- reviewType: CallAgentReviewStatusenum
_status requiredvaluespending_reviewapproved - submittedType: stringFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- activeType: stringFormat: date-timenullable
_updated _at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- archivedType: stringFormat: date-timenullable
_at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- 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

