{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/runbios/main/json-schema/runbios-get-api-models-response-schema.json",
  "title": "GetApiModelsResponse",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/runbios-openapi-generated.yml#/components/schemas/GetApiModelsResponse",
  "type": "object",
  "properties": {
    "auth_type": {
      "type": "string"
    },
    "key_id": {
      "type": "string"
    },
    "key_name": {
      "type": "string"
    },
    "key_prefix": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "scope_preset": {
      "type": "string"
    },
    "org": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "workspace": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "user": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "role": {
          "type": "string"
        }
      }
    },
    "scope_details": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sdk_methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "allowed_mcp_tools": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "allowed_sdk_methods": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}