openapi: 3.1.0
info:
    title: AgentRegistry Enterprise API
    description: API for the AgentRegistry Enterprise control plane, including catalog resources, deployments, policy, gateway, identity, and runtime invocation workflows.
    version: v2026.10.0
paths:
    /v0.1/servers:
        get:
            tags:
                - servers
            summary: List MCP servers (MCP Registry v0.1 compatibility)
            description: Read-only listing of registered MCP servers in the official MCP Registry server.json format.
            operationId: mcp-registry-list-servers
            parameters:
                - name: cursor
                  in: query
                  description: Opaque pagination cursor from a prior response.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor from a prior response.
                - name: limit
                  in: query
                  description: Max servers to return (capped at 100).
                  explode: false
                  schema:
                    type: integer
                    description: Max servers to return (capped at 100).
                    format: int64
                - name: search
                  in: query
                  description: Substring match on the server name.
                  explode: false
                  schema:
                    type: string
                    description: Substring match on the server name.
                - name: updated_since
                  in: query
                  description: RFC3339 timestamp; only servers updated at or after this time.
                  explode: false
                  schema:
                    type: string
                    description: RFC3339 timestamp; only servers updated at or after this time.
                - name: version
                  in: query
                  description: '''latest'' (default) or a specific version tag.'
                  explode: false
                  schema:
                    type: string
                    description: '''latest'' (default) or a specific version tag.'
                - name: include_deleted
                  in: query
                  description: Include servers pending deletion.
                  explode: false
                  schema:
                    type: boolean
                    description: Include servers pending deletion.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ServerListResponse'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0.1/servers/{serverName}/versions:
        get:
            tags:
                - servers
            summary: List versions of an MCP server (MCP Registry v0.1 compatibility)
            operationId: mcp-registry-list-server-versions
            parameters:
                - name: serverName
                  in: path
                  description: URL-encoded '<namespace>/<name>' server name.
                  required: true
                  schema:
                    type: string
                    description: URL-encoded '<namespace>/<name>' server name.
                - name: cursor
                  in: query
                  explode: false
                  schema:
                    type: string
                - name: limit
                  in: query
                  explode: false
                  schema:
                    type: integer
                    format: int64
                - name: include_deleted
                  in: query
                  explode: false
                  schema:
                    type: boolean
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ServerListResponse'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0.1/servers/{serverName}/versions/{version}:
        get:
            tags:
                - servers
            summary: Get a single MCP server version (MCP Registry v0.1 compatibility)
            operationId: mcp-registry-get-server-version
            parameters:
                - name: serverName
                  in: path
                  description: URL-encoded '<namespace>/<name>' server name.
                  required: true
                  schema:
                    type: string
                    description: URL-encoded '<namespace>/<name>' server name.
                - name: version
                  in: path
                  description: A specific version tag, or 'latest'.
                  required: true
                  schema:
                    type: string
                    description: A specific version tag, or 'latest'.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ServerResponse'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/a2a/sessions/{runtime}/agents/{deploymentName}:
        post:
            tags:
                - a2a
            summary: Start A2A session
            description: 'Streams the incoming request body to the upstream agent endpoint using credentials from the stored connection. Supported runtime types: BedrockAgentCore, Kagent, MicrosoftFoundry.'
            operationId: start-a2a-session
            parameters:
                - name: namespace
                  in: query
                  explode: false
                  schema:
                    type: string
                    pattern: ^\S*$
                - name: runtime
                  in: path
                  required: true
                  schema:
                    type: string
                    pattern: ^\S+$
                - name: deploymentName
                  in: path
                  required: true
                  schema:
                    type: string
                    pattern: ^\S+$
                - name: endpoint_name
                  in: query
                  explode: false
                  schema:
                    type: string
                    pattern: ^\S*$
            requestBody:
                content:
                    application/octet-stream:
                        schema:
                            type: string
                            format: binary
                required: true
            responses:
                "200":
                    description: OK
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/accesspolicies:
        get:
            summary: List AccessPolicy (scoped by ?namespace)
            operationId: list-accesspolicies
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputAccessPolicyBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/accesspolicies/{name}:
        get:
            summary: Get the latest AccessPolicy
            operationId: get-latest-accesspolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AccessPolicy'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a AccessPolicy (idempotent upsert)
            operationId: apply-accesspolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AccessPolicy'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AccessPolicy'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a AccessPolicy (soft-delete: sets deletionTimestamp)'
            operationId: delete-accesspolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/agents:
        get:
            summary: List Agent (scoped by ?namespace)
            operationId: list-agents
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputAgentBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/agents/{name}:
        get:
            summary: Get the latest Agent
            operationId: get-latest-agent
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Agent'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/agents/{name}/{tag}:
        get:
            summary: Get a Agent by name and tag
            operationId: get-agent
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Agent'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Agent (soft-delete: sets deletionTimestamp)'
            operationId: delete-agent
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/agents/{name}/tags:
        get:
            summary: List all tags of a Agent
            operationId: list-tags-agent
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputAgentBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/apply:
        post:
            summary: Apply a multi-doc YAML stream of v1alpha1 resources
            operationId: apply-batch
            parameters:
                - name: dryRun
                  in: query
                  description: Run validation without mutating the store. Defaults to false.
                  explode: false
                  schema:
                    type: boolean
                    description: Run validation without mutating the store. Defaults to false.
                - name: namespace
                  in: query
                  description: Namespace for documents that omit metadata.namespace; documents naming a different namespace fail. Empty keeps each document's namespace (default 'default'). 'all' is rejected.
                  explode: false
                  schema:
                    type: string
                    description: Namespace for documents that omit metadata.namespace; documents naming a different namespace fail. Empty keeps each document's namespace (default 'default'). 'all' is rejected.
            requestBody:
                content:
                    application/yaml:
                        schema:
                            type: string
                            format: binary
                required: true
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ApplyResultsResponse'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: Delete v1alpha1 resources identified by a multi-doc YAML stream
            operationId: delete-batch
            parameters:
                - name: dryRun
                  in: query
                  description: Run validation without mutating the store. Defaults to false.
                  explode: false
                  schema:
                    type: boolean
                    description: Run validation without mutating the store. Defaults to false.
                - name: namespace
                  in: query
                  description: Namespace for documents that omit metadata.namespace; documents naming a different namespace fail. Empty keeps each document's namespace (default 'default'). 'all' is rejected.
                  explode: false
                  schema:
                    type: string
                    description: Namespace for documents that omit metadata.namespace; documents naming a different namespace fail. Empty keeps each document's namespace (default 'default'). 'all' is rejected.
            requestBody:
                content:
                    application/yaml:
                        schema:
                            type: string
                            format: binary
                required: true
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ApplyResultsResponse'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/approve:
        get:
            summary: List approval requests
            description: Lists the staged write requests that the caller submitted or may approve. This endpoint is available only when approval mode is enabled (config.requireCreateApproval, which defaults to false). Without approval mode the route is not registered and returns 404.
            operationId: list-approval-requests
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        post:
            summary: Approve, withdraw, or revoke approval requests
            description: Applies one action to each item in the request. approve applies the staged change to the registry. withdraw removes a staged request without applying it. revoke deletes the published resource and stages it as revoked, so it is destructive. This endpoint is available only when approval mode is enabled (config.requireCreateApproval, which defaults to false). Without approval mode the route is not registered and returns 404. The response is HTTP 200 even when individual items fail, so check the status and error of each result.
            operationId: apply-approval-action
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/BatchInputBody'
                required: true
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/BatchOutputBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/deployments:
        get:
            summary: List Deployment (scoped by ?namespace)
            operationId: list-deployments
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
                - name: origin
                  in: query
                  description: 'Deployment origin filter: managed or discovered.'
                  explode: false
                  schema:
                    type: string
                    description: 'Deployment origin filter: managed or discovered.'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputDeploymentBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/deployments/{name}:
        get:
            summary: Get the latest Deployment
            operationId: get-latest-deployment
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Deployment'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a Deployment (idempotent upsert)
            operationId: apply-deployment
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/Deployment'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Deployment'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Deployment (soft-delete: sets deletionTimestamp)'
            operationId: delete-deployment
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/deployments/{name}/logs:
        get:
            summary: Stream logs from a deployment's runtime workload
            operationId: get-deployment-logs
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: follow
                  in: query
                  description: Stream indefinitely until client disconnects.
                  explode: false
                  schema:
                    type: boolean
                    description: Stream indefinitely until client disconnects.
                - name: tailLines
                  in: query
                  description: Max backlog lines before live tail; 0 = unbounded.
                  explode: false
                  schema:
                    type: integer
                    description: Max backlog lines before live tail; 0 = unbounded.
                    format: int64
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/DeploymentLogsOutputBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/gateways:
        get:
            summary: List Gateway (scoped by ?namespace)
            operationId: list-gateways
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputGatewayBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/gateways/{name}:
        get:
            summary: Get the latest Gateway
            operationId: get-latest-gateway
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Gateway'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a Gateway (idempotent upsert)
            operationId: apply-gateway
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/Gateway'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Gateway'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Gateway (soft-delete: sets deletionTimestamp)'
            operationId: delete-gateway
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/health:
        get:
            tags:
                - health
            summary: Health check
            description: Check the health status of the API
            operationId: get-health-v0
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/HealthBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/kubernetesclusters:
        get:
            summary: List KubernetesCluster (scoped by ?namespace)
            operationId: list-kubernetesclusters
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputKubernetesClusterBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/kubernetesclusters/{name}:
        get:
            summary: Get the latest KubernetesCluster
            operationId: get-latest-kubernetescluster
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/KubernetesCluster'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a KubernetesCluster (idempotent upsert)
            operationId: apply-kubernetescluster
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/KubernetesCluster'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/KubernetesCluster'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a KubernetesCluster (soft-delete: sets deletionTimestamp)'
            operationId: delete-kubernetescluster
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/mcpservers:
        get:
            summary: List MCPServer (scoped by ?namespace)
            operationId: list-mcpservers
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputMCPServerBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/mcpservers/{name}:
        get:
            summary: Get the latest MCPServer
            operationId: get-latest-mcpserver
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/MCPServer'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/mcpservers/{name}/{tag}:
        get:
            summary: Get a MCPServer by name and tag
            operationId: get-mcpserver
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/MCPServer'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a MCPServer (soft-delete: sets deletionTimestamp)'
            operationId: delete-mcpserver
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/mcpservers/{name}/tags:
        get:
            summary: List all tags of a MCPServer
            operationId: list-tags-mcpserver
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputMCPServerBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/models:
        get:
            summary: List Model (scoped by ?namespace)
            operationId: list-models
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputModelBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/models/{name}:
        get:
            summary: Get the latest Model
            operationId: get-latest-model
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Model'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/models/{name}/{tag}:
        get:
            summary: Get a Model by name and tag
            operationId: get-model
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Model'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Model (soft-delete: sets deletionTimestamp)'
            operationId: delete-model
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/models/{name}/tags:
        get:
            summary: List all tags of a Model
            operationId: list-tags-model
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputModelBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/ping:
        get:
            tags:
                - ping
            summary: Ping
            description: Simple ping endpoint
            operationId: ping-v0
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PingBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/platforms/aws/setup:
        post:
            tags:
                - platforms
                - aws
            summary: Generate AWS setup information
            description: Generate External ID and CloudFormation template for cross-account access setup
            operationId: get-aws-setup
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/Get-aws-setupRequest'
                required: true
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Setup'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/plugins:
        get:
            summary: List Plugin (scoped by ?namespace)
            operationId: list-plugins
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputPluginBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/plugins/{name}:
        get:
            summary: Get the latest Plugin
            operationId: get-latest-plugin
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Plugin'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/plugins/{name}/{tag}:
        get:
            summary: Get a Plugin by name and tag
            operationId: get-plugin
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Plugin'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Plugin (soft-delete: sets deletionTimestamp)'
            operationId: delete-plugin
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/plugins/{name}/tags:
        get:
            summary: List all tags of a Plugin
            operationId: list-tags-plugin
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputPluginBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/prompts:
        get:
            summary: List Prompt (scoped by ?namespace)
            operationId: list-prompts
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputPromptBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/prompts/{name}:
        get:
            summary: Get the latest Prompt
            operationId: get-latest-prompt
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Prompt'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/prompts/{name}/{tag}:
        get:
            summary: Get a Prompt by name and tag
            operationId: get-prompt
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Prompt'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Prompt (soft-delete: sets deletionTimestamp)'
            operationId: delete-prompt
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/prompts/{name}/tags:
        get:
            summary: List all tags of a Prompt
            operationId: list-tags-prompt
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputPromptBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/rbacpolicies:
        get:
            summary: List RBACPolicy (scoped by ?namespace)
            operationId: list-rbacpolicies
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputRBACPolicyBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/rbacpolicies/{name}:
        get:
            summary: Get the latest RBACPolicy
            operationId: get-latest-rbacpolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RBACPolicy'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a RBACPolicy (idempotent upsert)
            operationId: apply-rbacpolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/RBACPolicy'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RBACPolicy'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a RBACPolicy (soft-delete: sets deletionTimestamp)'
            operationId: delete-rbacpolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/runtimeaccesspolicies:
        get:
            summary: List RuntimeAccessPolicy (scoped by ?namespace)
            operationId: list-runtimeaccesspolicies
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputRuntimeAccessPolicyBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/runtimeaccesspolicies/{name}:
        get:
            summary: Get the latest RuntimeAccessPolicy
            operationId: get-latest-runtimeaccesspolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RuntimeAccessPolicy'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a RuntimeAccessPolicy (idempotent upsert)
            operationId: apply-runtimeaccesspolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/RuntimeAccessPolicy'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RuntimeAccessPolicy'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a RuntimeAccessPolicy (soft-delete: sets deletionTimestamp)'
            operationId: delete-runtimeaccesspolicy
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/runtimes:
        get:
            summary: List Runtime (scoped by ?namespace)
            operationId: list-runtimes
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputRuntimeBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/runtimes/{name}:
        get:
            summary: Get the latest Runtime
            operationId: get-latest-runtime
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Runtime'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a Runtime (idempotent upsert)
            operationId: apply-runtime
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/Runtime'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Runtime'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Runtime (soft-delete: sets deletionTimestamp)'
            operationId: delete-runtime
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/secrets:
        get:
            summary: List Secret (scoped by ?namespace)
            operationId: list-secrets
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputSecretBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/secrets/{name}:
        get:
            summary: Get the latest Secret
            operationId: get-latest-secret
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Secret'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        put:
            summary: Apply a Secret (idempotent upsert)
            operationId: apply-secret
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/Secret'
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Secret'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Secret (soft-delete: sets deletionTimestamp)'
            operationId: delete-secret
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/skills:
        get:
            summary: List Skill (scoped by ?namespace)
            operationId: list-skills
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                  explode: false
                  schema:
                    type: string
                    description: Namespace (defaults to 'default'; 'all' lists across all namespaces).
                - name: limit
                  in: query
                  description: Max items to return (default 50).
                  explode: false
                  schema:
                    type: integer
                    description: Max items to return (default 50).
                    format: int64
                    default: 50
                - name: cursor
                  in: query
                  description: Opaque pagination cursor.
                  explode: false
                  schema:
                    type: string
                    description: Opaque pagination cursor.
                - name: labels
                  in: query
                  description: 'Label selector: key=value,key2=value2.'
                  explode: false
                  schema:
                    type: string
                    description: 'Label selector: key=value,key2=value2.'
                - name: tag
                  in: query
                  description: Restrict the result set to one tag value (tagged artifact kinds only).
                  explode: false
                  schema:
                    type: string
                    description: Restrict the result set to one tag value (tagged artifact kinds only).
                - name: latestOnly
                  in: query
                  description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                  explode: false
                  schema:
                    type: boolean
                    description: Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
                - name: includeTerminating
                  in: query
                  description: Include rows with a deletionTimestamp.
                  explode: false
                  schema:
                    type: boolean
                    description: Include rows with a deletionTimestamp.
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputSkillBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/skills/{name}:
        get:
            summary: Get the latest Skill
            operationId: get-latest-skill
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Skill'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/skills/{name}/{tag}:
        get:
            summary: Get a Skill by name and tag
            operationId: get-skill
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Skill'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
        delete:
            summary: 'Delete a Skill (soft-delete: sets deletionTimestamp)'
            operationId: delete-skill
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
                - name: tag
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "204":
                    description: No Content
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/skills/{name}/tags:
        get:
            summary: List all tags of a Skill
            operationId: list-tags-skill
            parameters:
                - name: namespace
                  in: query
                  description: Namespace (internal; defaults to 'default').
                  explode: false
                  schema:
                    type: string
                    description: Namespace (internal; defaults to 'default').
                - name: name
                  in: path
                  required: true
                  schema:
                    type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ListOutputSkillBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/token-provider/jwks.json:
        get:
            tags:
                - token-provider
            summary: Get JSON Web Key Set
            description: Returns the JWKS containing public keys for verifying tokens minted by this registry. This endpoint is unauthenticated.
            operationId: get-jwks
            responses:
                "200":
                    description: OK
                    headers:
                        Content-Type:
                            schema:
                                type: string
                    content:
                        application/json:
                            schema: {}
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/user/whoami:
        get:
            tags:
                - user
            summary: Who am I
            description: Returns the authenticated user's identity and resolved roles
            operationId: whoami
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/WhoAmIResponse'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
    /v0/version:
        get:
            tags:
                - version
            summary: Get version information
            description: Returns the version, git commit, and build time of the registry application
            operationId: get-version-v0
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/VersionBody'
                default:
                    description: Error
                    content:
                        application/problem+json:
                            schema:
                                $ref: '#/components/schemas/ErrorModel'
components:
    schemas:
        AccessPolicy:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/AccessPolicySpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        AccessPolicySpec:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                principals:
                    type: array
                    items:
                        $ref: '#/components/schemas/Principal'
                rules:
                    type: array
                    items:
                        $ref: '#/components/schemas/Rule'
            required:
                - principals
                - rules
        AccessRule:
            type: object
            additionalProperties: false
            properties:
                from:
                    type: array
                    items:
                        $ref: '#/components/schemas/FromRef'
                to:
                    type: array
                    items:
                        $ref: '#/components/schemas/ToRef'
            required:
                - to
        Agent:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/AgentSpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        AgentSource:
            type: object
            additionalProperties: false
            properties:
                image:
                    type: string
                protocol:
                    type: string
                    enum:
                        - A2A
                        - HTTP
                        - OpenAIResponses
        AgentSpec:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                iconUrl:
                    type: string
                instructions:
                    $ref: '#/components/schemas/ResourceRef'
                mcpServers:
                    type: array
                    items:
                        $ref: '#/components/schemas/ResourceRef'
                modelName:
                    type: string
                    deprecated: true
                modelProvider:
                    type: string
                    deprecated: true
                plugins:
                    type: array
                    items:
                        $ref: '#/components/schemas/ResourceRef'
                skills:
                    type: array
                    items:
                        $ref: '#/components/schemas/ResourceRef'
                source:
                    $ref: '#/components/schemas/AgentSource'
                title:
                    type: string
        ApplyResult:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                error:
                    type: string
                kind:
                    type: string
                name:
                    type: string
                namespace:
                    type: string
                status:
                    type: string
                tag:
                    type: string
            required:
                - name
                - status
        ApplyResultsResponse:
            type: object
            additionalProperties: false
            properties:
                results:
                    type: array
                    items:
                        $ref: '#/components/schemas/ApplyResult'
            required:
                - results
        BatchInputBody:
            type: object
            additionalProperties: false
            properties:
                action:
                    type: string
                    enum:
                        - approve
                        - revoke
                        - withdraw
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Identity'
            required:
                - action
                - items
        BatchOutputBody:
            type: object
            additionalProperties: false
            properties:
                results:
                    type: array
                    items:
                        $ref: '#/components/schemas/BatchResult'
            required:
                - results
        BatchResult:
            type: object
            additionalProperties: false
            properties:
                error:
                    type: string
                kind:
                    type: string
                name:
                    type: string
                namespace:
                    type: string
                status:
                    type: string
                tag:
                    type: string
            required:
                - status
                - kind
                - namespace
                - name
                - tag
        CommandEntry:
            type: object
            additionalProperties: false
            properties:
                allowedTools:
                    type: array
                    items:
                        type: string
                argumentHint:
                    type: string
                content:
                    type: string
                description:
                    type: string
                model:
                    type: string
                source:
                    type: string
        CommandsField:
            type: object
            additionalProperties: false
            properties:
                Map:
                    type: object
                    additionalProperties:
                        $ref: '#/components/schemas/CommandEntry'
                Paths:
                    $ref: '#/components/schemas/PathOrPaths'
            required:
                - Paths
                - Map
        Condition:
            type: object
            additionalProperties: false
            properties:
                lastTransitionTime:
                    type: string
                    format: date-time
                message:
                    type: string
                reason:
                    type: string
                status:
                    type: string
                type:
                    type: string
            required:
                - type
                - status
        Deployment:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/DeploymentSpec'
                status:
                    $ref: '#/components/schemas/DeploymentStatus'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        DeploymentHarness:
            type: object
            additionalProperties: false
            properties:
                permissionMode:
                    type: string
                type:
                    type: string
            required:
                - type
        DeploymentLogLine:
            type: object
            additionalProperties: false
            properties:
                line:
                    type: string
                    description: Single log record.
                stream:
                    type: string
                    description: stdout | stderr | runtime-specific.
                timestamp:
                    type: string
                    description: RFC3339 timestamp.
            required:
                - line
        DeploymentLogsOutputBody:
            type: object
            additionalProperties: false
            properties:
                lines:
                    type: array
                    items:
                        $ref: '#/components/schemas/DeploymentLogLine'
            required:
                - lines
        DeploymentRef:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
                namespace:
                    type: string
            required:
                - name
        DeploymentRuntimeStatus:
            type: object
            additionalProperties: false
            properties:
                endpoint:
                    type: string
                id:
                    type: string
                name:
                    type: string
                resourceId:
                    type: string
        DeploymentSpec:
            type: object
            additionalProperties: false
            properties:
                deploymentRefs:
                    type: array
                    items:
                        $ref: '#/components/schemas/DeploymentRef'
                desiredState:
                    type: string
                env:
                    type: object
                    additionalProperties:
                        type: string
                harness:
                    $ref: '#/components/schemas/DeploymentHarness'
                modelRef:
                    $ref: '#/components/schemas/ModelRef'
                runtimeConfig:
                    type: object
                    additionalProperties: {}
                runtimeRef:
                    $ref: '#/components/schemas/ResourceRef'
                targetRef:
                    $ref: '#/components/schemas/ResourceRef'
            required:
                - targetRef
                - runtimeRef
        DeploymentStatus:
            type: object
            additionalProperties: false
            properties:
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Condition'
                runtime:
                    $ref: '#/components/schemas/DeploymentRuntimeStatus'
        ErrorDetail:
            type: object
            additionalProperties: false
            properties:
                location:
                    type: string
                    description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
                message:
                    type: string
                    description: Error message text
                value:
                    description: The value at the given location
        ErrorModel:
            type: object
            additionalProperties: false
            properties:
                detail:
                    type: string
                    description: A human-readable explanation specific to this occurrence of the problem.
                    examples:
                        - Property foo is required but is missing.
                errors:
                    type: array
                    description: Optional list of individual error details
                    items:
                        $ref: '#/components/schemas/ErrorDetail'
                instance:
                    type: string
                    description: A URI reference that identifies the specific occurrence of the problem.
                    format: uri
                    examples:
                        - https://example.com/error-log/abc123
                status:
                    type: integer
                    description: HTTP status code
                    format: int64
                    examples:
                        - 400
                title:
                    type: string
                    description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
                    examples:
                        - Bad Request
                type:
                    type: string
                    description: A URI reference to human-readable documentation for the error.
                    format: uri
                    default: about:blank
                    examples:
                        - https://example.com/errors/example
        FromRef:
            type: object
            additionalProperties: false
            properties:
                kind:
                    type: string
                name:
                    type: string
                onBehalfOf:
                    $ref: '#/components/schemas/OnBehalfOf'
            required:
                - kind
                - name
        Gateway:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/GatewaySpec'
                status:
                    $ref: '#/components/schemas/GatewayStatus'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        GatewayAPIGatewayStatus:
            type: object
            additionalProperties: false
            properties:
                addresses:
                    type: array
                    items:
                        $ref: '#/components/schemas/GatewayAPIGatewayStatusAddress'
                attachedListenerSets:
                    type: integer
                    format: int32
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/KubernetesMetaCondition'
                listeners:
                    type: array
                    items:
                        $ref: '#/components/schemas/GatewayAPIListenerStatus'
        GatewayAPIGatewayStatusAddress:
            type: object
            additionalProperties: false
            properties:
                type:
                    type: string
                value:
                    type: string
            required:
                - value
        GatewayAPIListenerStatus:
            type: object
            additionalProperties: false
            properties:
                attachedRoutes:
                    type: integer
                    format: int32
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/KubernetesMetaCondition'
                name:
                    type: string
                supportedKinds:
                    type: array
                    items:
                        $ref: '#/components/schemas/GatewayAPIRouteGroupKind'
            required:
                - name
                - attachedRoutes
                - conditions
        GatewayAPIRouteGroupKind:
            type: object
            additionalProperties: false
            properties:
                group:
                    type: string
                kind:
                    type: string
            required:
                - kind
        GatewaySpec:
            type: object
            additionalProperties: false
            properties:
                kubernetes:
                    $ref: '#/components/schemas/KubernetesPlatform'
        GatewayStatus:
            type: object
            additionalProperties: false
            properties:
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Condition'
                kubernetes:
                    $ref: '#/components/schemas/GatewayAPIGatewayStatus'
                lastError:
                    type: string
                lastReconciledAt:
                    type: string
                    format: date-time
                phase:
                    type: string
                platform:
                    type: string
        Get-aws-setupRequest:
            type: object
            additionalProperties: false
            properties:
                awsAccountId:
                    type: string
                    description: AWS Account ID
                    examples:
                        - "123456789012"
                roleName:
                    type: string
                    description: Name for the IAM role (optional)
                    examples:
                        - AgentRegistryAccessRole-abc12345
            required:
                - awsAccountId
        HTTPHeader:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
                value:
                    type: string
            required:
                - name
        HealthBody:
            type: object
            additionalProperties: false
            properties:
                status:
                    type: string
                    description: Health status
                    examples:
                        - ok
            required:
                - status
        HookEntry:
            type: object
            additionalProperties: false
            properties:
                allowedEnvVars:
                    type: array
                    items:
                        type: string
                async:
                    type: boolean
                asyncRewake:
                    type: boolean
                command:
                    type: string
                headers:
                    type: object
                    additionalProperties:
                        type: string
                if:
                    type: string
                input: {}
                model:
                    type: string
                once:
                    type: boolean
                prompt:
                    type: string
                server:
                    type: string
                shell:
                    type: string
                statusMessage:
                    type: string
                timeout:
                    type: number
                    format: double
                tool:
                    type: string
                type:
                    type: string
                url:
                    type: string
            required:
                - type
        HookMatcherGroup:
            type: object
            additionalProperties: false
            properties:
                hooks:
                    type: array
                    items:
                        $ref: '#/components/schemas/HookEntry'
                matcher:
                    type: string
            required:
                - hooks
        HooksField:
            type: object
            additionalProperties: false
            properties:
                Events:
                    type: object
                    additionalProperties:
                        type: array
                        items:
                            $ref: '#/components/schemas/HookMatcherGroup'
                Path:
                    type: string
                Raw: {}
            required:
                - Path
                - Events
                - Raw
        Identity:
            type: object
            additionalProperties: false
            properties:
                kind:
                    type: string
                name:
                    type: string
                namespace:
                    type: string
                tag:
                    type: string
            required:
                - kind
                - namespace
                - name
                - tag
        KubernetesCluster:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/KubernetesClusterSpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        KubernetesClusterSpec:
            type: object
            additionalProperties: false
        KubernetesMetaCondition:
            type: object
            additionalProperties: false
            properties:
                lastTransitionTime:
                    type: string
                message:
                    type: string
                observedGeneration:
                    type: integer
                    format: int64
                reason:
                    type: string
                status:
                    type: string
                type:
                    type: string
            required:
                - type
                - status
                - lastTransitionTime
                - reason
                - message
        KubernetesPlatform:
            type: object
            additionalProperties: false
            properties:
                clusterRef:
                    $ref: '#/components/schemas/LocalObjectRef'
                gatewayClass:
                    type: string
        LSPServerEntry:
            type: object
            additionalProperties: false
            properties:
                args:
                    type: array
                    items:
                        type: string
                command:
                    type: string
                env:
                    type: object
                    additionalProperties:
                        type: string
                extensionToLanguage:
                    type: object
                    additionalProperties:
                        type: string
                initializationOptions: {}
                maxRestarts:
                    type: integer
                    format: int64
                settings: {}
                startupTimeout:
                    type: integer
                    format: int64
                transport:
                    type: string
                workspaceFolder:
                    type: string
            required:
                - command
                - extensionToLanguage
        LSPServersField:
            type: object
            additionalProperties: false
            properties:
                Path:
                    type: string
                Raw: {}
                Servers:
                    type: object
                    additionalProperties:
                        $ref: '#/components/schemas/LSPServerEntry'
            required:
                - Path
                - Servers
                - Raw
        ListMetadata:
            type: object
            additionalProperties: false
            properties:
                count:
                    type: integer
                    format: int64
                nextCursor:
                    type: string
            required:
                - count
        ListOutputAccessPolicyBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/AccessPolicy'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputAgentBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Agent'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Row'
            required:
                - items
        ListOutputDeploymentBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Deployment'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputGatewayBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Gateway'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputKubernetesClusterBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/KubernetesCluster'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputMCPServerBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/MCPServer'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputModelBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Model'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputPluginBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Plugin'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputPromptBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Prompt'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputRBACPolicyBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/RBACPolicy'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputRuntimeAccessPolicyBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/RuntimeAccessPolicy'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputRuntimeBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Runtime'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputSecretBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Secret'
                nextCursor:
                    type: string
            required:
                - items
        ListOutputSkillBody:
            type: object
            additionalProperties: false
            properties:
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/Skill'
                nextCursor:
                    type: string
            required:
                - items
        LocalObjectRef:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
        LocalSecretReference:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
            required:
                - name
        MCPArgument:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
                type:
                    type: string
                value:
                    type: string
            required:
                - type
        MCPKeyValueInput:
            type: object
            additionalProperties: false
            properties:
                isRequired:
                    type: boolean
                name:
                    type: string
                value:
                    type: string
            required:
                - name
        MCPPackage:
            type: object
            additionalProperties: false
            properties:
                launch:
                    $ref: '#/components/schemas/MCPPackageLaunch'
                origin:
                    $ref: '#/components/schemas/MCPPackageOrigin'
                transport:
                    $ref: '#/components/schemas/MCPTransport'
            required:
                - origin
                - transport
        MCPPackageLaunch:
            type: object
            additionalProperties: false
            properties:
                args:
                    type: array
                    items:
                        $ref: '#/components/schemas/MCPArgument'
                command:
                    type: string
                env:
                    type: array
                    items:
                        $ref: '#/components/schemas/MCPKeyValueInput'
        MCPPackageOrigin:
            type: object
            additionalProperties: false
            properties:
                identifier:
                    type: string
                npm:
                    $ref: '#/components/schemas/MCPPackageOriginNPM'
                oci:
                    $ref: '#/components/schemas/MCPPackageOriginOCI'
                pypi:
                    $ref: '#/components/schemas/MCPPackageOriginPyPI'
                type:
                    type: string
            required:
                - type
                - identifier
        MCPPackageOriginNPM:
            type: object
            additionalProperties: false
            properties:
                mirror:
                    type: string
                serverName:
                    type: string
                version:
                    type: string
            required:
                - version
                - serverName
        MCPPackageOriginOCI:
            type: object
            additionalProperties: false
            properties:
                serverName:
                    type: string
            required:
                - serverName
        MCPPackageOriginPyPI:
            type: object
            additionalProperties: false
            properties:
                mirror:
                    type: string
                serverName:
                    type: string
                version:
                    type: string
            required:
                - version
                - serverName
        MCPRemote:
            type: object
            additionalProperties: false
            properties:
                headers:
                    type: array
                    items:
                        $ref: '#/components/schemas/HTTPHeader'
                type:
                    type: string
                url:
                    type: string
            required:
                - type
                - url
        MCPServer:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/MCPServerSpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        MCPServerEntry:
            type: object
            additionalProperties: false
            properties:
                args:
                    type: array
                    items:
                        type: string
                command:
                    type: string
                env:
                    type: object
                    additionalProperties:
                        type: string
                headers:
                    type: object
                    additionalProperties:
                        type: string
                headersHelper:
                    type: string
                oauth:
                    $ref: '#/components/schemas/MCPServerOAuth'
                type:
                    type: string
                url:
                    type: string
        MCPServerOAuth:
            type: object
            additionalProperties: false
            properties:
                authServerMetadataUrl:
                    type: string
                callbackPort:
                    type: integer
                    format: int64
                clientId:
                    type: string
                scopes:
                    type: array
                    items:
                        type: string
        MCPServerSource:
            type: object
            additionalProperties: false
            properties:
                package:
                    $ref: '#/components/schemas/MCPPackage'
        MCPServerSpec:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                iconUrl:
                    type: string
                remote:
                    $ref: '#/components/schemas/MCPRemote'
                source:
                    $ref: '#/components/schemas/MCPServerSource'
                title:
                    type: string
        MCPServersField:
            type: object
            additionalProperties: false
            properties:
                Path:
                    type: string
                Raw: {}
                Servers:
                    type: object
                    additionalProperties:
                        $ref: '#/components/schemas/MCPServerEntry'
            required:
                - Path
                - Servers
                - Raw
        MCPTransport:
            type: object
            additionalProperties: false
            properties:
                path:
                    type: string
                port:
                    type: integer
                    format: int32
                    minimum: 0
                type:
                    type: string
            required:
                - type
        Model:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/ModelSpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        ModelAuthConfig:
            type: object
            additionalProperties: false
            properties:
                secretRef:
                    $ref: '#/components/schemas/SecretKeyRef'
                strategy:
                    type: string
                    enum:
                        - runtime
                        - secretRef
                        - passthrough
            required:
                - strategy
        ModelEndpointConfig:
            type: object
            additionalProperties: false
            properties:
                baseUrl:
                    type: string
                region:
                    type: string
                tls:
                    $ref: '#/components/schemas/ModelTLSConfig'
        ModelRef:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
                namespace:
                    type: string
                tag:
                    type: string
            required:
                - name
        ModelSpec:
            type: object
            additionalProperties: false
            properties:
                auth:
                    $ref: '#/components/schemas/ModelAuthConfig'
                description:
                    type: string
                endpoint:
                    $ref: '#/components/schemas/ModelEndpointConfig'
                iconUrl:
                    type: string
                model:
                    type: string
                provider:
                    type: string
                    enum:
                        - bedrock
                title:
                    type: string
            required:
                - provider
                - model
        ModelTLSConfig:
            type: object
            additionalProperties: false
            properties:
                caCertSecretRef:
                    $ref: '#/components/schemas/SecretKeyRef'
                disableVerify:
                    type: boolean
        MonitorEntry:
            type: object
            additionalProperties: false
            properties:
                command:
                    type: string
                description:
                    type: string
                name:
                    type: string
                when:
                    type: string
            required:
                - name
                - command
                - description
        MonitorsField:
            type: object
            additionalProperties: false
            properties:
                Entries:
                    type: array
                    items:
                        $ref: '#/components/schemas/MonitorEntry'
                Path:
                    type: string
            required:
                - Path
                - Entries
        ObjectMeta:
            type: object
            additionalProperties: false
            properties:
                annotations:
                    type: object
                    additionalProperties:
                        type: string
                createdAt:
                    type: string
                    format: date-time
                deletionTimestamp:
                    type: string
                    format: date-time
                labels:
                    type: object
                    additionalProperties:
                        type: string
                name:
                    type: string
                namespace:
                    type: string
                tag:
                    type: string
                uid:
                    type: string
                updatedAt:
                    type: string
                    format: date-time
            required:
                - name
        OfficialMeta:
            type: object
            additionalProperties: false
            properties:
                isLatest:
                    type: boolean
                publishedAt:
                    type: string
                status:
                    type: string
                statusChangedAt:
                    type: string
                updatedAt:
                    type: string
            required:
                - isLatest
        OnBehalfOf:
            type: object
            additionalProperties: false
            properties:
                roles:
                    type: array
                    items:
                        type: string
            required:
                - roles
        PathOrPaths:
            type: object
            additionalProperties: false
            properties:
                Values:
                    type: array
                    items:
                        type: string
                WasArray:
                    type: boolean
            required:
                - Values
                - WasArray
        PingBody:
            type: object
            additionalProperties: false
            properties:
                pong:
                    type: boolean
                    description: Ping response
                    examples:
                        - true
            required:
                - pong
        Plugin:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/PluginSpec'
                status:
                    $ref: '#/components/schemas/PluginStatus'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        PluginAuthor:
            type: object
            additionalProperties: false
            properties:
                email:
                    type: string
                name:
                    type: string
                url:
                    type: string
            required:
                - name
        PluginChannel:
            type: object
            additionalProperties: false
            properties:
                displayName:
                    type: string
                server:
                    type: string
                userConfig:
                    type: object
                    additionalProperties:
                        $ref: '#/components/schemas/PluginUserConfigField'
            required:
                - server
        PluginDependency:
            type: object
            additionalProperties: false
            properties:
                marketplace:
                    type: string
                name:
                    type: string
                version:
                    type: string
        PluginExperimental:
            type: object
            additionalProperties: false
            properties:
                monitors:
                    $ref: '#/components/schemas/MonitorsField'
                themes:
                    $ref: '#/components/schemas/PathOrPaths'
        PluginHook:
            type: object
            additionalProperties: false
            properties:
                event:
                    type: string
                type:
                    type: string
            required:
                - event
        PluginInventory:
            type: object
            additionalProperties: false
            properties:
                agents:
                    type: array
                    items:
                        type: string
                commands:
                    type: array
                    items:
                        type: string
                executables:
                    type: array
                    items:
                        type: string
                hooks:
                    type: array
                    items:
                        $ref: '#/components/schemas/PluginHook'
                mcpServers:
                    type: array
                    items:
                        type: string
                skills:
                    type: array
                    items:
                        $ref: '#/components/schemas/PluginSkill'
        PluginManifest:
            type: object
            additionalProperties: false
            properties:
                $schema:
                    type: string
                agents:
                    $ref: '#/components/schemas/PathOrPaths'
                author:
                    $ref: '#/components/schemas/PluginAuthor'
                channels:
                    type: array
                    items:
                        $ref: '#/components/schemas/PluginChannel'
                commands:
                    $ref: '#/components/schemas/CommandsField'
                defaultEnabled:
                    type: boolean
                dependencies:
                    type: array
                    items:
                        $ref: '#/components/schemas/PluginDependency'
                description:
                    type: string
                displayName:
                    type: string
                experimental:
                    $ref: '#/components/schemas/PluginExperimental'
                homepage:
                    type: string
                hooks:
                    $ref: '#/components/schemas/HooksField'
                keywords:
                    type: array
                    items:
                        type: string
                license:
                    type: string
                lspServers:
                    $ref: '#/components/schemas/LSPServersField'
                mcpServers:
                    $ref: '#/components/schemas/MCPServersField'
                monitors:
                    $ref: '#/components/schemas/MonitorsField'
                name:
                    type: string
                outputStyles:
                    $ref: '#/components/schemas/PathOrPaths'
                repository:
                    type: string
                settings: {}
                skills:
                    $ref: '#/components/schemas/PathOrPaths'
                themes:
                    $ref: '#/components/schemas/PathOrPaths'
                userConfig:
                    type: object
                    additionalProperties:
                        $ref: '#/components/schemas/PluginUserConfigField'
                version:
                    type: string
            required:
                - name
        PluginResolvedSource:
            type: object
            additionalProperties: false
            properties:
                commit:
                    type: string
                digest:
                    type: string
                type:
                    type: string
            required:
                - type
        PluginSkill:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                name:
                    type: string
            required:
                - name
        PluginSource:
            type: object
            additionalProperties: false
            properties:
                git:
                    $ref: '#/components/schemas/PluginSourceGit'
                oci:
                    $ref: '#/components/schemas/PluginSourceOCI'
                type:
                    type: string
            required:
                - type
        PluginSourceGit:
            type: object
            additionalProperties: false
            properties:
                repository:
                    $ref: '#/components/schemas/Repository'
            required:
                - repository
        PluginSourceOCI:
            type: object
            additionalProperties: false
            properties:
                reference:
                    type: string
            required:
                - reference
        PluginSpec:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                iconUrl:
                    type: string
                source:
                    $ref: '#/components/schemas/PluginSource'
                title:
                    type: string
        PluginStatus:
            type: object
            additionalProperties: false
            properties:
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Condition'
                inventory:
                    $ref: '#/components/schemas/PluginInventory'
                manifest:
                    $ref: '#/components/schemas/PluginManifest'
                resolvedSource:
                    $ref: '#/components/schemas/PluginResolvedSource'
        PluginUserConfigField:
            type: object
            additionalProperties: false
            properties:
                default: {}
                description:
                    type: string
                max:
                    type: number
                    format: double
                min:
                    type: number
                    format: double
                multiple:
                    type: boolean
                required:
                    type: boolean
                sensitive:
                    type: boolean
                title:
                    type: string
                type:
                    type: string
            required:
                - type
                - title
                - description
        Principal:
            type: object
            additionalProperties: false
            properties:
                kind:
                    type: string
                name:
                    type: string
                role:
                    type: string
            required:
                - kind
                - name
        Prompt:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/PromptSpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        PromptSpec:
            type: object
            additionalProperties: false
            properties:
                content:
                    type: string
                description:
                    type: string
                iconUrl:
                    type: string
        RBACCondition:
            type: object
            additionalProperties: false
            properties:
                attribute:
                    type: string
                values:
                    type: array
                    items:
                        type: string
                    minItems: 1
            required:
                - attribute
                - values
        RBACConditionGroup:
            type: object
            additionalProperties: false
            properties:
                all:
                    type: array
                    items:
                        $ref: '#/components/schemas/RBACCondition'
                    minItems: 1
            required:
                - all
        RBACGrant:
            type: object
            additionalProperties: false
            properties:
                accessLevel:
                    type: string
                    enum:
                        - view
                        - manage
                        - invoke
                        - approve
                constraints:
                    type: array
                    items:
                        $ref: '#/components/schemas/RBACConditionGroup'
                name:
                    type: string
                resource:
                    type: string
            required:
                - name
                - accessLevel
                - resource
        RBACPolicy:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/RBACPolicySpec'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        RBACPolicySpec:
            type: object
            additionalProperties: false
            properties:
                grants:
                    type: array
                    items:
                        $ref: '#/components/schemas/RBACGrant'
                    minItems: 1
                principals:
                    type: array
                    items:
                        $ref: '#/components/schemas/RBACPrincipal'
                    minItems: 1
            required:
                - principals
                - grants
        RBACPrincipal:
            type: object
            additionalProperties: false
            properties:
                all:
                    type: array
                    items:
                        $ref: '#/components/schemas/RBACCondition'
                    minItems: 1
            required:
                - all
        Repository:
            type: object
            additionalProperties: false
            properties:
                branch:
                    type: string
                commit:
                    type: string
                credentialsRef:
                    $ref: '#/components/schemas/LocalSecretReference'
                subfolder:
                    type: string
                url:
                    type: string
        ResourceRef:
            type: object
            additionalProperties: false
            properties:
                kind:
                    type: string
                name:
                    type: string
                namespace:
                    type: string
                tag:
                    type: string
            required:
                - kind
                - name
        ResponseMeta:
            type: object
            additionalProperties: false
            properties:
                io.modelcontextprotocol.registry/official:
                    $ref: '#/components/schemas/OfficialMeta'
        Row:
            type: object
            additionalProperties: false
            properties:
                annotations:
                    type: object
                    additionalProperties:
                        type: string
                baseContentHash:
                    type: string
                kind:
                    type: string
                labels:
                    type: object
                    additionalProperties:
                        type: string
                lastError:
                    type: string
                name:
                    type: string
                namespace:
                    type: string
                operation:
                    type: string
                source:
                    type: string
                spec: {}
                state:
                    type: string
                submittedAt:
                    type: string
                    format: date-time
                submittedBy:
                    type: string
                tag:
                    type: string
                updatedAt:
                    type: string
                    format: date-time
                updatedBy:
                    type: string
            required:
                - state
                - submittedBy
                - submittedAt
                - updatedBy
                - updatedAt
                - kind
                - namespace
                - name
                - tag
        Rule:
            type: object
            additionalProperties: false
            properties:
                actions:
                    type: array
                    items:
                        type: string
                resources:
                    type: array
                    items:
                        $ref: '#/components/schemas/RuleResource'
            required:
                - actions
                - resources
        RuleResource:
            type: object
            additionalProperties: false
            properties:
                kind:
                    type: string
                name:
                    type: string
                subresources:
                    type: array
                    items:
                        type: string
            required:
                - kind
                - name
        Runtime:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/RuntimeSpec'
                status:
                    $ref: '#/components/schemas/RuntimeStatus'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        RuntimeAccessPolicy:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/RuntimeAccessPolicySpec'
                status:
                    $ref: '#/components/schemas/Status'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        RuntimeAccessPolicySpec:
            type: object
            additionalProperties: false
            properties:
                rules:
                    type: array
                    items:
                        $ref: '#/components/schemas/AccessRule'
                runtimeRef:
                    $ref: '#/components/schemas/LocalObjectRef'
            required:
                - runtimeRef
                - rules
        RuntimeSpec:
            type: object
            additionalProperties: false
            properties:
                config:
                    type: object
                    additionalProperties: {}
                telemetryEndpoint:
                    type: string
                type:
                    type: string
            required:
                - type
        RuntimeStatus:
            type: object
            additionalProperties: false
            properties:
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Condition'
        Secret:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/SecretSpec'
                status:
                    $ref: '#/components/schemas/SecretStatus'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        SecretKeyRef:
            type: object
            additionalProperties: false
            properties:
                key:
                    type: string
                name:
                    type: string
                namespace:
                    type: string
            required:
                - name
        SecretSpec:
            type: object
            additionalProperties: false
            properties:
                data:
                    type: object
                    additionalProperties:
                        type: string
                immutable:
                    type: boolean
                stringData:
                    type: object
                    additionalProperties:
                        type: string
                type:
                    type: string
        SecretStatus:
            type: object
            additionalProperties: false
            properties:
                dataKeys:
                    type: array
                    items:
                        type: string
        ServerArgument:
            type: object
            additionalProperties: false
            properties:
                name:
                    type: string
                type:
                    type: string
                value:
                    type: string
            required:
                - type
        ServerDetail:
            type: object
            additionalProperties: false
            properties:
                $schema:
                    type: string
                description:
                    type: string
                name:
                    type: string
                packages:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerPackage'
                remotes:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerTransport'
                title:
                    type: string
                version:
                    type: string
                websiteUrl:
                    type: string
            required:
                - name
                - description
                - version
        ServerInput:
            type: object
            additionalProperties: false
            properties:
                isRequired:
                    type: boolean
                name:
                    type: string
                value:
                    type: string
            required:
                - name
        ServerListResponse:
            type: object
            additionalProperties: false
            properties:
                metadata:
                    $ref: '#/components/schemas/ListMetadata'
                servers:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerResponse'
            required:
                - servers
                - metadata
        ServerPackage:
            type: object
            additionalProperties: false
            properties:
                environmentVariables:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerInput'
                fileSha256:
                    type: string
                identifier:
                    type: string
                packageArguments:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerArgument'
                registryBaseUrl:
                    type: string
                registryType:
                    type: string
                runtimeArguments:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerArgument'
                runtimeHint:
                    type: string
                transport:
                    $ref: '#/components/schemas/ServerTransport'
                version:
                    type: string
            required:
                - registryType
                - identifier
                - version
                - transport
        ServerResponse:
            type: object
            additionalProperties: false
            properties:
                _meta:
                    $ref: '#/components/schemas/ResponseMeta'
                server:
                    $ref: '#/components/schemas/ServerDetail'
            required:
                - server
        ServerTransport:
            type: object
            additionalProperties: false
            properties:
                headers:
                    type: array
                    items:
                        $ref: '#/components/schemas/ServerInput'
                type:
                    type: string
                url:
                    type: string
            required:
                - type
        Setup:
            type: object
            additionalProperties: false
            properties:
                cloudFormationYaml:
                    type: string
                    description: CloudFormation template in YAML format
                expectedRoleName:
                    type: string
                    description: The role name that will be created
                externalId:
                    type: string
                    description: External ID to use in CloudFormation and connection
                quickCreateUrl:
                    type: string
                    description: URL to CloudFormation console
            required:
                - externalId
                - cloudFormationYaml
                - expectedRoleName
                - quickCreateUrl
        Skill:
            type: object
            additionalProperties: false
            properties:
                apiVersion:
                    type: string
                kind:
                    type: string
                metadata:
                    $ref: '#/components/schemas/ObjectMeta'
                spec:
                    $ref: '#/components/schemas/SkillSpec'
                status:
                    $ref: '#/components/schemas/SkillStatus'
            required:
                - metadata
                - spec
                - apiVersion
                - kind
        SkillResolvedSource:
            type: object
            additionalProperties: false
            properties:
                commit:
                    type: string
        SkillSource:
            type: object
            additionalProperties: false
            properties:
                repository:
                    $ref: '#/components/schemas/Repository'
        SkillSpec:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                iconUrl:
                    type: string
                source:
                    $ref: '#/components/schemas/SkillSource'
                title:
                    type: string
        SkillStatus:
            type: object
            additionalProperties: false
            properties:
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Condition'
                resolvedSource:
                    $ref: '#/components/schemas/SkillResolvedSource'
        Status:
            type: object
            additionalProperties: false
            properties:
                conditions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Condition'
        ToRef:
            type: object
            additionalProperties: false
            properties:
                inboundAccess:
                    type: string
                kind:
                    type: string
                mcpTools:
                    type: array
                    items:
                        type: string
                name:
                    type: string
            required:
                - kind
                - name
        VersionBody:
            type: object
            additionalProperties: false
            properties:
                build_time:
                    type: string
                    description: Build timestamp
                    examples:
                        - "2025-10-14T12:00:00Z"
                git_commit:
                    type: string
                    description: Git commit SHA
                    examples:
                        - abc123d
                version:
                    type: string
                    description: Application version
                    examples:
                        - v1.0.0
            required:
                - version
                - git_commit
                - build_time
        WhoAmIResponse:
            type: object
            additionalProperties: false
            properties:
                approveTenants:
                    type: array
                    items:
                        type: string
                email:
                    type: string
                isSuperuser:
                    type: boolean
                issuer:
                    type: string
                mappedRoles:
                    type: array
                    items:
                        type: string
                resolvedRoles:
                    type: array
                    items:
                        $ref: '#/components/schemas/WhoAmIRoleResponse'
                subject:
                    type: string
                tenants:
                    type: array
                    items:
                        type: string
                unresolvedRoles:
                    type: array
                    items:
                        type: string
            required:
                - subject
                - mappedRoles
                - isSuperuser
                - resolvedRoles
                - unresolvedRoles
                - tenants
                - approveTenants
        WhoAmIRoleResponse:
            type: object
            additionalProperties: false
            properties:
                description:
                    type: string
                name:
                    type: string
                permissions:
                    type: array
                    items:
                        $ref: '#/components/schemas/Rule'
            required:
                - name
                - permissions
tags:
    - name: servers
      description: Operations for discovering and retrieving MCP servers
    - name: agents
      description: Operations for discovering and retrieving Agentic agents
    - name: skills
      description: Operations for discovering and retrieving Agentic skills
    - name: runtimes
      description: Operations for managing deployment runtime instances
    - name: publish
      description: Operations for publishing MCP servers to the registry
    - name: health
      description: Health check endpoint for monitoring service availability
    - name: ping
      description: Simple ping endpoint for testing connectivity
    - name: version
      description: Version information endpoint for retrieving build and version details
