{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/avala-ai/json-schema/avala-ai-agent-registration-detail-schema.json",
  "title": "AgentRegistrationDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/avala-ai-agents-api-openapi.yml#/components/schemas/AgentRegistrationDetail",
  "type": "object",
  "properties": {
    "uid": {
      "title": "Uid",
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "title": "Name",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "description": {
      "title": "Description",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "events": {
      "description": "List of event types this agent subscribes to, e.g. ['task.completed', 'result.submitted'].",
      "type": "array",
      "items": {
        "title": "Events",
        "type": "string",
        "maxLength": 100,
        "minLength": 1
      },
      "readOnly": true
    },
    "callback_url": {
      "title": "Callback url",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "readOnly": true,
      "minLength": 1
    },
    "is_active": {
      "title": "Is active",
      "type": "boolean",
      "readOnly": true
    },
    "project": {
      "title": "Project",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "readOnly": true
    },
    "task_types": {
      "description": "If non-empty, only events for tasks of these types will trigger the agent.",
      "type": "array",
      "items": {
        "title": "Task types",
        "type": "string",
        "maxLength": 50,
        "minLength": 1
      },
      "readOnly": true
    },
    "execution_stats": {
      "title": "Execution stats",
      "type": "object",
      "readOnly": true
    },
    "created_at": {
      "title": "Created at",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "title": "Updated at",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  }
}