{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tintin-x-com/json-schema/tintin-x-com-agent-response-schema.json",
  "title": "AgentResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/tintin-x-com-api-openapi.json#/components/schemas/AgentResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "character_id": {
      "type": "string",
      "title": "Character Id"
    },
    "character_json": {
      "additionalProperties": true,
      "type": "object",
      "title": "Character Json"
    },
    "creation_mode": {
      "type": "string",
      "title": "Creation Mode"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "iq_tier": {
      "type": "integer",
      "title": "Iq Tier"
    },
    "primary_model": {
      "type": "string",
      "title": "Primary Model"
    },
    "heartbeat_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Heartbeat Model"
    },
    "agent_runtime": {
      "type": "string",
      "title": "Agent Runtime",
      "default": "openclaw"
    },
    "heartbeat_minutes": {
      "type": "integer",
      "title": "Heartbeat Minutes"
    },
    "heartbeat_steps": {
      "additionalProperties": true,
      "type": "object",
      "title": "Heartbeat Steps",
      "default": {}
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "team_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Id"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id"
    },
    "creator_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Creator Email"
    },
    "role_label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Role Label"
    },
    "role_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Role Id"
    },
    "custom_role_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Role Name"
    },
    "public_slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Public Slug"
    },
    "public_owner_handle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Public Owner Handle"
    },
    "public_bio": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Public Bio"
    },
    "public_samples": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Public Samples"
    },
    "public_visible": {
      "type": "boolean",
      "title": "Public Visible",
      "default": false
    },
    "role": {
      "anyOf": [
        {
          "$ref": "#/$defs/RoleInfo"
        },
        {
          "type": "null"
        }
      ]
    },
    "program_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Program Id"
    },
    "build_mode": {
      "type": "boolean",
      "title": "Build Mode",
      "default": false
    },
    "enable_dreaming": {
      "type": "boolean",
      "title": "Enable Dreaming",
      "default": false
    },
    "dreaming_auto_managed": {
      "type": "boolean",
      "title": "Dreaming Auto Managed",
      "default": true
    },
    "heartbeat_auto_managed": {
      "type": "boolean",
      "title": "Heartbeat Auto Managed",
      "default": true
    },
    "heartbeat_minutes_user_set": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Heartbeat Minutes User Set"
    },
    "agent_type": {
      "type": "string",
      "title": "Agent Type",
      "default": "standard"
    },
    "archetype": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Archetype"
    },
    "endpoint_registered": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Endpoint Registered"
    }
  },
  "type": "object",
  "required": [
    "id",
    "character_id",
    "character_json",
    "creation_mode",
    "tier",
    "iq_tier",
    "primary_model",
    "heartbeat_minutes",
    "status",
    "created_at"
  ],
  "$defs": {
    "RoleInfo": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "slug": {
          "type": "string",
          "title": "Slug"
        },
        "label": {
          "type": "string",
          "title": "Label"
        },
        "icon": {
          "type": "string",
          "title": "Icon"
        },
        "archetype": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Archetype"
        },
        "recommended_services": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Recommended Services",
          "default": []
        },
        "onboarding_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Onboarding Message"
        }
      },
      "type": "object",
      "required": [
        "id",
        "slug",
        "label",
        "icon"
      ],
      "title": "RoleInfo",
      "description": "Lightweight role info embedded in agent responses."
    }
  }
}