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

# List weights and LoRA adapters imported from the workspace's own S3 or GCS buckets



## OpenAPI

````yaml /openapi.json get /api/v1/model-imports
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/model-imports:
    get:
      tags:
        - Model catalog
      summary: >-
        List weights and LoRA adapters imported from the workspace's own S3 or
        GCS buckets
      operationId: listModelImports
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelImportList'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    ModelImportList:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/ModelImport'
          type: array
      required:
        - data
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    ModelImport:
      additionalProperties: false
      properties:
        checks:
          $ref: '#/components/schemas/ModelImportCheck'
        created_at:
          format: date-time
          type: string
        files:
          items:
            $ref: '#/components/schemas/ModelFile'
          type: array
        id:
          type: string
        kind:
          enum:
            - weights
            - adapter
          type: string
        manifest_digest:
          description: Pin a deployment to it with model_revision or an adapter's revision.
          pattern: ^sha256:[0-9a-f]{64}$
          type: string
        source:
          enum:
            - s3
            - gs
          type: string
        uri:
          type: string
      required:
        - id
        - kind
        - source
        - uri
        - manifest_digest
        - files
        - checks
        - created_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
    ModelImportCheck:
      additionalProperties: false
      description: >-
        What the manifest and the configuration bytes sent with it prove.
        Unknown stays unknown: workers check the downloaded bytes.
      properties:
        adapter_base_model:
          type: string
        adapter_rank:
          type: integer
        architecture:
          type: string
        config_digest:
          type: string
        failed:
          items:
            type: string
          type: array
        model_type:
          type: string
        tokenizer_files:
          items:
            type: string
          type: array
        total_bytes:
          minimum: 0
          type: integer
        unknown:
          items:
            type: string
          type: array
        verified:
          items:
            type: string
          type: array
      required:
        - verified
        - unknown
        - failed
        - total_bytes
      type: object
    ModelFile:
      additionalProperties: false
      properties:
        path:
          maxLength: 512
          pattern: ^[A-Za-z0-9._-]+(/[A-Za-z0-9._-]+)*$
          type: string
        sha256:
          pattern: ^[0-9a-f]{64}$
          type: string
        size:
          minimum: 0
          type: integer
      required:
        - path
        - size
        - sha256
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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