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

# Adopt an existing inference endpoint without transferring lifecycle ownership



## OpenAPI

````yaml /openapi.json post /api/v1/adoptions/endpoints
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.0
servers:
  - description: Local InferCrane API and gateway
    url: http://127.0.0.1:18000
security: []
tags:
  - name: Admission
  - name: Adoption
  - name: Alerts
  - name: Async inference
  - name: Audit
  - name: Autopilot
  - name: Benchmarks
  - name: Burst Guard
  - name: Capacity intelligence
  - 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: Infrastructure
  - name: Model artifacts
  - name: Monitoring
  - name: Operations
  - 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/adoptions/endpoints:
    post:
      tags:
        - Adoption
      summary: >-
        Adopt an existing inference endpoint without transferring lifecycle
        ownership
      operationId: adoptEndpoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointAdoption'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Object'
          description: Created
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    EndpointAdoption:
      additionalProperties: false
      properties:
        connector:
          enum:
            - auto
            - vllm
            - litellm
            - openai-compatible
          type: string
        discover:
          description: >-
            Ask the control plane to verify /v1/models and resolve the selected
            model before adoption.
          type: boolean
        logical_model:
          type: string
        name:
          type: string
        ownership_mode:
          enum:
            - observe-only
            - traffic-managed
          type: string
        runtime:
          type: string
        source:
          enum:
            - vllm
            - openai-compatible
          type: string
        upstream_model:
          type: string
        url:
          format: uri
          type: string
      required:
        - name
        - logical_model
        - url
        - source
        - ownership_mode
        - runtime
      type: object
    Object:
      additionalProperties: true
      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

````