Crusoe Foundry API

The Foundry API from Crusoe — 16 operation(s) for foundry.

OpenAPI Specification

crusoe-foundry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crusoe Foundry API
  version: '1.0'
  description: 'Operations tagged Foundry across 2 of this provider''s published API definitions: crusoe-cloud-api-gateway-v1-openapi.json, crusoe-cloud-api-gateway-v1alpha5-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cloud.crusoe.ai/v1
tags:
- name: Foundry
paths:
  /projects/{project_id}/foundry/credentials:
    get:
      operationId: listFoundryCredentials
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryCredentialListResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the credentials in the project.
      tags:
      - Foundry
    post:
      operationId: createFoundryCredential
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '201':
          $ref: '#/components/responses/foundryCredentialResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Creates a credential in the project.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCredentialRequest'
  /projects/{project_id}/foundry/credentials/{id}:
    delete:
      operationId: deleteFoundryCredential
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the credential.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/emptyResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Deletes a credential from the project.
      tags:
      - Foundry
    get:
      operationId: getFoundryCredential
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the credential.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      - description: When true, include the secret material in the response.
        in: query
        name: reveal
        x-go-name: Reveal
        schema:
          type: boolean
      responses:
        '200':
          $ref: '#/components/responses/foundryCredentialResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns a single credential in the project.
      tags:
      - Foundry
    patch:
      operationId: updateFoundryCredential
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the credential.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryCredentialResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Updates a credential's description in the project.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCredentialRequest'
  /projects/{project_id}/foundry/deployed-models:
    get:
      operationId: listFoundryDeployedModels
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryDeployedModelsResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the models deployed and available for inference in the project.
      tags:
      - Foundry
  /projects/{project_id}/foundry/deployed-models/activity:
    get:
      operationId: getFoundryDeployedModelsActivity
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryActivityResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns the activity feed for the project's deployed models.
      tags:
      - Foundry
  /projects/{project_id}/foundry/deployed-models/progress:
    get:
      operationId: getFoundryDeployedModelsProgress
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryProgressResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns deployment progress for the project's deployed models.
      tags:
      - Foundry
  /projects/{project_id}/foundry/deployed-models/progress/stream:
    get:
      description: The response is a text/event-stream of progress updates.
      operationId: streamFoundryDeployedModelsProgress
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryProgressStreamResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Streams deployment progress for the project's deployed models as server-sent events.
      tags:
      - Foundry
  /projects/{project_id}/foundry/deployed-models/rename:
    post:
      operationId: renameFoundryDeployedModel
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryRenameModelResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Renames a deployed model's alias.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenameModelRequest'
  /projects/{project_id}/foundry/deployed-models/update:
    post:
      operationId: updateFoundryDeployedModel
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '202':
          $ref: '#/components/responses/foundryUpdateModelResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Updates the HuggingFace source behind a deployed model's alias.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateModelRequest'
  /projects/{project_id}/foundry/loras:
    get:
      operationId: listFoundryLoras
      parameters:
      - description: ID of the project that owns the deployments.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryLoraListResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the LoRA adapter deployments in the project.
      tags:
      - Foundry
    post:
      description: 'The deployment is asynchronous: the response returns the deployment record in a

        pending state, which is reconciled to ready once the adapter is loaded.'
      operationId: createFoundryLora
      parameters:
      - description: ID of the project to deploy the adapter in.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '202':
          $ref: '#/components/responses/foundryLoraResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Deploys a LoRA adapter (a fine-tuned model) onto its parent base model in the project.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoadLoraRequest'
  /projects/{project_id}/foundry/loras/{id}:
    delete:
      description: 'The teardown is asynchronous: the adapter is unloaded from the serving cluster in the background.'
      operationId: deleteFoundryLora
      parameters:
      - description: ID of the project that owns the deployment.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the LoRA adapter deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '202':
          $ref: '#/components/responses/emptyResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Removes a LoRA adapter deployment from the project.
      tags:
      - Foundry
    get:
      operationId: getFoundryLora
      parameters:
      - description: ID of the project that owns the deployment.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the LoRA adapter deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryLoraResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns a single LoRA adapter deployment in the project.
      tags:
      - Foundry
  /projects/{project_id}/foundry/selfserve/deployments:
    get:
      operationId: listFoundryDeployments
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryDeploymentListResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the self-serve deployments in the project.
      tags:
      - Foundry
    post:
      description: 'Asynchronous: returns the accepted deployment ID and status.'
      operationId: createFoundryDeployment
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '202':
          $ref: '#/components/responses/foundryDeploymentAcceptedResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Creates a self-serve deployment in the project.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDeploymentRequest'
  /projects/{project_id}/foundry/selfserve/deployments/{id}:
    delete:
      operationId: deleteFoundryDeployment
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '202':
          $ref: '#/components/responses/foundryDeploymentAcceptedResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Deletes a self-serve deployment from the project.
      tags:
      - Foundry
    get:
      operationId: getFoundryDeployment
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryDeploymentDetailResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns a single self-serve deployment in the project.
      tags:
      - Foundry
    patch:
      operationId: updateFoundryDeployment
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '202':
          $ref: '#/components/responses/foundryDeploymentAcceptedResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Updates a self-serve deployment (name and/or replica count) in the project.
      tags:
      - Foundry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDeploymentRequest'
  /projects/{project_id}/foundry/selfserve/deployments/{id}/activity:
    get:
      operationId: getFoundryDeploymentActivity
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryActivityResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns the activity feed for a self-serve deployment.
      tags:
      - Foundry
  /projects/{project_id}/foundry/selfserve/deployments/{id}/progress:
    get:
      operationId: getFoundryDeploymentProgress
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryProgressResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns deployment progress for a self-serve deployment.
      tags:
      - Foundry
  /projects/{project_id}/foundry/selfserve/deployments/{id}/progress/stream:
    get:
      description: The response is a text/event-stream of progress updates.
      operationId: streamFoundryDeploymentProgress
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the deployment.
        in: path
        name: id
        required: true
        x-go-name: ID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryProgressStreamResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '404':
          $ref: '#/components/responses/notFoundError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Streams progress for a self-serve deployment as server-sent events.
      tags:
      - Foundry
  /projects/{project_id}/foundry/selfserve/flavors:
    get:
      operationId: listFoundryFlavors
      parameters:
      - description: ID of the project.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/foundryFlavorsResponse'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the self-serve deployment flavors available to the project.
      tags:
      - Foundry
components:
  schemas:
    DeployedModelEntry:
      properties:
        architecture:
          $ref: '#/components/schemas/FoundryArchitecture'
        context_length:
          description: Maximum context length supported by the model.
          format: int32
          type: integer
          x-go-name: ContextLength
        description:
          description: Human-readable description of the model.
          type: string
          x-go-name: Description
        icon:
          description: URL of the model icon.
          type: string
          x-go-name: Icon
        id:
          description: Model endpoint ID.
          type: string
          x-go-name: ID
        is_available_to_rolling_deployment:
          description: Whether the model can be used with rolling deployments.
          type: boolean
          x-go-name: IsAvailableToRollingDeployment
        is_billed_by_token:
          description: Whether usage of the model is billed by token.
          type: boolean
          x-go-name: IsBilledByToken
        is_single_replica:
          description: Whether the model runs as a single replica.
          type: boolean
          x-go-name: IsSingleReplica
        model_name:
          description: Underlying (served) model name.
          type: string
          x-go-name: ModelName
        name:
          description: Display name of the model.
          type: string
          x-go-name: Name
        owned_by:
          description: Owner of the model.
          type: string
          x-go-name: OwnedBy
        quantization:
          description: Quantization applied to the model, if any.
          type: string
          x-go-name: Quantization
        region:
          description: Region the model is served in.
          type: string
          x-go-name: Region
        status:
          description: Serving status of the model.
          type: string
          x-go-name: Status
        supported_parameters:
          description: Inference parameters supported by the model.
          items:
            type: string
          type: array
          x-go-name: SupportedParameters
        tags:
          description: Tags associated with the model.
          items:
            type: string
          type: array
          x-go-name: Tags
        type:
          description: Model type (e.g. "base_model", "adapter").
          type: string
          x-go-name: Type
      title: DeployedModelEntry describes a model available for inference in the project.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    RenameModelResponse:
      properties:
        endpoint_id:
          description: The endpoint ID that was renamed.
          type: string
          x-go-name: EndpointID
        model_alias:
          description: The resulting model alias.
          type: string
          x-go-name: ModelAlias
      title: RenameModelResponse is the response body for a model rename.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    UpdateModelResponse:
      properties:
        workflows:
          description: The per-cluster update workflows that were triggered.
          items:
            $ref: '#/components/schemas/UpdateResponseEntry'
          type: array
          x-go-name: Workflows
      title: UpdateModelResponse is the response body for a model source update.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    UpdateCredentialRequest:
      properties:
        description:
          description: Updated description.
          type: string
          x-go-name: Description
      title: UpdateCredentialRequest is the body for updating a credential.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    CreateCredentialRequest:
      properties:
        credentials:
          $ref: '#/components/schemas/CredentialSecrets'
        description:
          description: Optional human-readable description.
          type: string
          x-go-name: Description
        name:
          description: Name of the credential.
          type: string
          x-go-name: Name
      required:
      - name
      - credentials
      title: CreateCredentialRequest is the body for creating a credential.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    UpdateResponseEntry:
      properties:
        cluster_name:
          description: Name of the cluster the workflow runs on.
          type: string
          x-go-name: ClusterName
        error:
          description: Error message, if the workflow could not be started.
          type: string
          x-go-name: Error
        region:
          description: Region of the cluster.
          type: string
          x-go-name: Region
        run_id:
          description: Temporal run ID.
          type: string
          x-go-name: RunID
        status:
          description: Status of the triggered workflow.
          type: string
          x-go-name: Status
        workflow_id:
          description: Temporal workflow ID.
          type: string
          x-go-name: WorkflowID
      title: UpdateResponseEntry describes the workflow triggered for a single cluster by an update.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    ListFlavorsResponse:
      properties:
        flavors:
          description: The available self-serve flavors.
          items:
            $ref: '#/components/schemas/SelfServeFlavor'
          type: array
          x-go-name: Flavors
      title: ListFlavorsResponse is the response body for listing self-serve flavors.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    ListCredentialsResponse:
      properties:
        credentials:
          description: The credentials in the project.
          items:
            $ref: '#/components/schemas/CredentialResponse'
          type: array
          x-go-name: Credentials
      title: ListCredentialsResponse is the response body for listing credentials.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    ListActivityResponse:
      properties:
        events:
          description: Activity events, most recent first.
          items:
            $ref: '#/components/schemas/SelfServeActivityEvent'
          type: array
          x-go-name: Events
        next_cursor:
          description: Cursor for the next page of events, if any.
          type: string
          x-go-name: NextCursor
      title: ListActivityResponse is the response body for a deployment activity feed.
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    LoRAAdapterDeployment:
      description: 'LoRAAdapterDeployment describes a deployed LoRA adapter — a self-serve

        fine-tune riding on an already-running base model.'
      properties:
        cluster_name:
          description: Name of the cluster the adapter is deployed to.
          type: string
          x-go-name: ClusterName
        created_at:
          description: RFC 3339 timestamp when the deployment was created.
          type: string
          x-go-name: CreatedAt
        endpoint_alias:
          description: Serving alias for the adapter endpoint.
          type: string
          x-go-name: EndpointAlias
        evolution_uri:
          description: Evolution artifact URI the adapter weights were fetched from.
          type: string
          x-go-name: EvolutionURI
        finetuning_job_id:
          description: ID of the fine-tuning job that produced the adapter, if any.
          type: string
          x-go-name: FinetuningJobID
        id:
          description: Unique identifier of the LoRA adapter deployment.
          type: string
          x-go-name: ID
        last_error:
          description: Most recent error message, if the deployment failed.
          type: string
          x-go-name: LastError
        loader_service:
          description: The loader service handling the adapter fetch/load.
          type: string
          x-go-name: LoaderService
        model_id:
          description: The registry model ID of the adapter.
          type: string
          x-go-name: ModelID
        parent_model_name:
          description: Name of the parent base model the adapter is loaded onto.
          type: string
          x-go-name: ParentModelName
        project_id:
          description: ID of the project that owns the deployment.
          type: string
          x-go-name: ProjectID
        rank:
          description: LoRA rank of the adapter.
          format: int32
          type: integer
          x-go-name: Rank
        serving_endpoint_name:
          description: Internal serving endpoint name.
          type: string
          x-go-name: ServingEndpointName
        status:
          description: 'Current lifecycle status of the adapter deployment.

            One of: pending, downloading, ready, failed, deleting, expired.'
          type: string
          x-go-name: Status
        updated_at:
          description: RFC 3339 timestamp when the deployment was last updated.
          type: string
          x-go-name: UpdatedAt
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/docs/v1
    SelfServeFlavor:
      properties:
        flavor_type:
          description: Flavor type identifier.
          type: string
          x-go-name: FlavorType
        gpu_type:
          description: GPU type used by this flavor.
          type: string
          x-go-name: GpuType
        gpus_per_instance:
          description: GPUs per instance.
          format: int32
          type: integer
          x-go-name: GpusPerInstance
        id:
          description: Flavor ID.
          type: string
          x-go-name: ID
        lora_suitable:
          description: Whether the flavor is suitable for LoRA adapters.
          type: boolean
          x-go-name: LoraSuitable
        model_name:
          description: Model this flavor serves.
          type: string
          x-go-name: ModelName
        price_per_hour:
          description: Hourly price, as a decimal string.
          type: string
          x-go-name: PricePerHour
        provider:
          description: Provider serving this flavor.
          type: string
          x-go-name: Provider
        quantization:
          description: Quantization applied, if any.
          type: string
          x-go-name: Quantization
      title: SelfServeFlavor describes a hardware/model flavor available for self-serve deploy

# --- truncated at 32 KB (50 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/crusoe/refs/heads/main/openapi/crusoe-foundry-api-openapi.yml