{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amnt-io/json-schema/amnt-io-agent-list-schema.json",
  "title": "AgentList",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amnt-io-openapi.json#/components/schemas/AgentList",
  "type": "object",
  "properties": {
    "agents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentSummary"
      }
    },
    "total": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    }
  },
  "$defs": {
    "AgentSummary": {
      "type": "object",
      "properties": {
        "agent": {
          "type": "string",
          "description": "The id to pass to /api/v1/run, as \"handle/slug\"."
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "connector": {
          "type": "string"
        },
        "connector_name": {
          "type": "string"
        },
        "price_credits": {
          "type": "integer",
          "description": "0 means free."
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}