> ## 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.

# Release or settle one open hosted hold with a reason, audited



## OpenAPI

````yaml /openapi.json post /api/v1/admin/model-api/usage-reservations/{id}/resolution
openapi: 3.1.0
info:
  description: >-
    Durable, authenticated control-plane operations. Mutation responses may
    outlive the requesting client.
  title: InferCrane Control API
  version: 2.3.1
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: Changes
  - name: Compute
  - name: Context Passport
  - name: Data
  - 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
  - name: Workspace administration
paths:
  /api/v1/admin/model-api/usage-reservations/{id}/resolution:
    post:
      tags:
        - Model API administration
      summary: Release or settle one open hosted hold with a reason, audited
      operationId: resolveModelAPIUsageHold
      parameters:
        - in: path
          name: id
          required: true
          schema:
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelAPIUsageHoldResolutionRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelAPIUsageHoldEnvelope'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    ModelAPIUsageHoldResolutionRequest:
      additionalProperties: false
      properties:
        action:
          enum:
            - release
            - settle
          type: string
        cached_input_tokens:
          minimum: 0
          type: integer
        input_tokens:
          minimum: 0
          type: integer
        output_tokens:
          minimum: 0
          type: integer
        reason:
          maxLength: 400
          minLength: 1
          type: string
      required:
        - action
        - reason
      type: object
    ModelAPIUsageHoldEnvelope:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/ModelAPIUsageHold'
      required:
        - data
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    ModelAPIUsageHold:
      additionalProperties: false
      properties:
        actual_microusd:
          type: integer
        created_at:
          format: date-time
          type: string
        customer_tenant_id:
          type: string
        has_evidence:
          type: boolean
        id:
          type: string
        input_tokens:
          type: integer
        output_tokens:
          type: integer
        product_id:
          type: string
        request_id:
          type: string
        reserved_microusd:
          type: integer
        resolution:
          type: string
        response_started_at:
          format: date-time
          type: string
        state:
          enum:
            - reserved
            - transmitted
            - response_started
            - pending_reconciliation
            - settled
            - released
          type: string
        supplier:
          type: string
        transmitted_at:
          format: date-time
          type: string
        updated_at:
          format: date-time
          type: string
      required:
        - id
        - request_id
        - customer_tenant_id
        - product_id
        - supplier
        - state
        - resolution
        - reserved_microusd
        - has_evidence
        - created_at
        - updated_at
      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.