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

# Agent key only: routes, API key digests, admission policies, and request quota for this agent's agent-managed endpoints



## OpenAPI

````yaml /openapi.json get /api/v1/agent/data-plane
openapi: 3.1.0
info:
  description: >-
    Durable, authenticated control-plane operations. Mutation responses may
    outlive the requesting client.
  title: InferCrane Control API
  version: 2.0.2
servers:
  - description: Local InferCrane API and gateway
    url: http://127.0.0.1:18000
security: []
tags:
  - name: Admission
  - name: Adoption
  - name: Agents
  - name: Alerts
  - name: Async inference
  - name: Audit
  - name: Autopilot
  - name: Benchmarks
  - name: Billing
  - name: Billing administration
  - name: Burst Guard
  - name: Capacity intelligence
  - name: Compute
  - name: Context Passport
  - name: Deployments
  - name: Diagnostics
  - name: Endpoints
  - name: External capacity
  - name: FinOps
  - name: Identity
  - name: Inference
  - name: Inference Lab
  - name: Inference decisions
  - name: Inference optimization
  - name: Infrastructure
  - name: Marketplace administration
  - name: Migration Proof
  - name: Model API administration
  - name: Model APIs
  - name: Model artifacts
  - name: Model catalog
  - name: Monitoring
  - name: Notifications
  - name: Operations
  - name: Planning
  - name: Providers
  - name: Recipes
  - name: Release Guard
  - name: Release evidence
  - name: Replay
  - name: Revisions
  - name: Routing
  - name: Sandboxes
  - name: Scaling
  - name: Secrets
  - name: System
  - name: Targets
  - name: Training lineage
paths:
  /api/v1/agent/data-plane:
    get:
      tags:
        - Agents
      summary: >-
        Agent key only: routes, API key digests, admission policies, and request
        quota for this agent's agent-managed endpoints
      operationId: agentDataPlane
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDataPlaneSnapshot'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    AgentDataPlaneSnapshot:
      additionalProperties: true
      description: >-
        What one agent needs to serve its agent-managed endpoints. No request
        content and no secret: API keys appear only as the SHA-256 digests the
        control plane stores, and only keys that may call one of these
        endpoints.
      properties:
        admission:
          items:
            additionalProperties: true
            type: object
          maxItems: 32
          type: array
        credentials:
          items:
            additionalProperties: true
            properties:
              endpoint_names:
                items:
                  type: string
                type: array
              expires_at:
                format: date-time
                type:
                  - string
                  - 'null'
              hash:
                pattern: ^[a-f0-9]{64}$
                type: string
              principal_id:
                type: string
              role:
                type: string
              scopes:
                items:
                  type: string
                type: array
            type: object
          maxItems: 10000
          type: array
        generation:
          description: >-
            sha256 digest of the content; send it back as ?generation= to
            receive unchanged: true
          type: string
        request_quota:
          properties:
            max_requests_per_minute:
              minimum: 0
              type: integer
          type:
            - object
            - 'null'
        routes:
          items:
            additionalProperties: true
            properties:
              bindings:
                items:
                  additionalProperties: true
                  properties:
                    binding_id:
                      type: string
                    capabilities:
                      additionalProperties: true
                      type: object
                    runtime:
                      type: string
                    server_key:
                      pattern: ^[a-z0-9][a-z0-9._:-]{0,127}$
                      type: string
                    target_id:
                      type: string
                    upstream_model:
                      type: string
                    weight:
                      maximum: 100
                      minimum: 0
                      type: integer
                  type: object
                maxItems: 16
                type: array
              endpoint:
                pattern: ^[a-z0-9](?:[a-z0-9._-]{0,62}[a-z0-9])?$
                type: string
              endpoint_id:
                type: string
              environment_id:
                type: string
              logical_model_id:
                type: string
              routing_policy:
                enum:
                  - manual
                  - weighted
                  - primary-fallback
                type: string
              serving_plan_id:
                type: string
            type: object
          maxItems: 32
          type: array
        tenant_id:
          type: string
        unchanged:
          type: boolean
        valid_until:
          description: >-
            The agent refuses requests (503 data_plane_stale) if it cannot
            refresh before this time.
          format: date-time
          type: string
      required:
        - generation
        - valid_until
        - tenant_id
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    Error:
      properties:
        category:
          type: string
        code:
          type: string
        message:
          type: string
        remediation:
          type: string
        request_id:
          type: string
        retryable:
          type: boolean
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.