> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vaultgraph.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# UCP capability discovery for a deployment



## OpenAPI

````yaml /api-reference/openapi.yaml get /.well-known/ucp/{deployment}
openapi: 3.1.0
info:
  title: VaultGraph Portal API
  version: 0.1.1
  description: Server-to-server endpoints exposed by the VaultGraph portal (beta).
servers:
  - url: https://app.vaultgraph.com
    description: Production
security: []
tags:
  - name: Shops
    description: Shop management endpoints.
  - name: Commerce
    description: >-
      Deployment-scoped commerce endpoints (catalog, checkout, order).
      Authenticated with a deployment (`dk_`) API key. Internal plumbing between
      the hosted MCP server and the merchant adapter — merchants integrate via
      the MCP, not these REST routes.
paths:
  /.well-known/ucp/{deployment}:
    get:
      tags:
        - Commerce
      summary: UCP capability discovery for a deployment
      operationId: ucpDiscovery
      parameters:
        - in: path
          name: deployment
          required: true
          schema:
            type: string
      responses:
        '200':
          description: UCP Discovery profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UCPDiscoveryProfile'
        '404':
          description: Deployment not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UCPDiscoveryProfile:
      type: object
      required:
        - version
        - capabilities
        - services
      properties:
        version:
          type: string
        capabilities:
          type: array
          items:
            type: object
            required:
              - name
              - spec
              - version
              - schema
            properties:
              name:
                type: string
              spec:
                type: string
              version:
                type: string
              schema:
                type: string
        services:
          type: object
          additionalProperties:
            type: object
            required:
              - spec
              - version
            properties:
              spec:
                type: string
              version:
                type: string
              rest:
                type: object
                properties:
                  endpoint:
                    type: string
                  schema:
                    type: string
              mcp:
                type: object
                properties:
                  endpoint:
                    type: string
                  schema:
                    type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        detail:
          type: string

````