{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-autopilot-v1-assistant-schema.json", "title": "autopilot.v1.assistant", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/twilio-assistants-api-openapi.yml#/components/schemas/autopilot.v1.assistant", "type": "object", "properties": { "account_sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^AC[0-9a-fA-F]{32}$", "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Assistant resource." }, "date_created": { "type": [ "string", "null" ], "format": "date-time", "description": "The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format." }, "date_updated": { "type": [ "string", "null" ], "format": "date-time", "description": "The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format." }, "friendly_name": { "type": [ "string", "null" ], "description": "The string that you assigned to describe the resource. It is not unique and can be up to 255 characters long." }, "latest_model_build_sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^UG[0-9a-fA-F]{32}$", "description": "Reserved." }, "links": { "type": [ "object", "null" ], "format": "uri-map", "description": "A list of the URLs of the Assistant's related resources." }, "log_queries": { "type": [ "boolean", "null" ], "description": "Whether queries should be logged and kept after training. Can be: `true` or `false` and defaults to `true`. If `true`, queries are stored for 30 days, and then deleted. If `false`, no queries are stored." }, "development_stage": { "type": [ "string", "null" ], "description": "A string describing the state of the assistant." }, "needs_model_build": { "type": [ "boolean", "null" ], "description": "Whether model needs to be rebuilt." }, "sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^UA[0-9a-fA-F]{32}$", "description": "The unique string that we created to identify the Assistant resource." }, "unique_name": { "type": [ "string", "null" ], "description": "An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. It can be up to 64 characters long." }, "url": { "type": [ "string", "null" ], "format": "uri", "description": "The absolute URL of the Assistant resource." }, "callback_url": { "type": [ "string", "null" ], "format": "uri", "description": "Reserved." }, "callback_events": { "type": [ "string", "null" ], "description": "Reserved." } } }