OneInfer Dedicated deployments API

The Dedicated deployments API from OneInfer — 7 operation(s) for dedicated deployments.

GitHub OpenAPI

Operations 9

POST /v1/developer/{developer_id}/deploy/analyze Analyze Deployment #
POST /v1/developer/{developer_id}/dedicated-deployments Create Deployment #
GET /v1/developer/{developer_id}/dedicated-deployments List Deployments #
GET /v1/developer/{developer_id}/dedicated-deployments/{deployment_id} Get Deployment #
DELETE /v1/developer/{developer_id}/dedicated-deployments/{deployment_id} Delete Deployment #
POST /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/stop Stop Deployment #
POST /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/start Start Deployment #
GET /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/logs Deployment Logs #
GET /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/outputs Deployment Outputs #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oneinfer-ai:oneinfer-ai-dedicated-deployments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oneinfer-ai-dedicated-deployments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OneInfer Dedicated deployments API
  description: Universal LLM APIs with Bearer Token Authentication
  version: 0.1.0
tags:
- name: Dedicated deployments
paths:
  /v1/developer/{developer_id}/deploy/analyze:
    post:
      tags:
      - Dedicated deployments
      summary: Analyze Deployment
      operationId: analyze_deployment_v1_developer__developer_id__deploy_analyze_post
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeployAnalyzeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
  /v1/developer/{developer_id}/dedicated-deployments:
    post:
      tags:
      - Dedicated deployments
      summary: Create Deployment
      operationId: create_deployment_v1_developer__developer_id__dedicated_deployments_post
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DedicatedDeploymentCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
    get:
      tags:
      - Dedicated deployments
      summary: List Deployments
      operationId: list_deployments_v1_developer__developer_id__dedicated_deployments_get
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
  /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}:
    get:
      tags:
      - Dedicated deployments
      summary: Get Deployment
      operationId: get_deployment_v1_developer__developer_id__dedicated_deployments__deployment_id__get
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      - name: deployment_id
        in: path
        required: true
        schema:
          type: string
          title: Deployment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
    delete:
      tags:
      - Dedicated deployments
      summary: Delete Deployment
      operationId: delete_deployment_v1_developer__developer_id__dedicated_deployments__deployment_id__delete
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      - name: deployment_id
        in: path
        required: true
        schema:
          type: string
          title: Deployment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
  /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/stop:
    post:
      tags:
      - Dedicated deployments
      summary: Stop Deployment
      operationId: stop_deployment_v1_developer__developer_id__dedicated_deployments__deployment_id__stop_post
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      - name: deployment_id
        in: path
        required: true
        schema:
          type: string
          title: Deployment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
  /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/start:
    post:
      tags:
      - Dedicated deployments
      summary: Start Deployment
      operationId: start_deployment_v1_developer__developer_id__dedicated_deployments__deployment_id__start_post
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      - name: deployment_id
        in: path
        required: true
        schema:
          type: string
          title: Deployment Id
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/DedicatedDeploymentStartRequest'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
  /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/logs:
    get:
      tags:
      - Dedicated deployments
      summary: Deployment Logs
      operationId: deployment_logs_v1_developer__developer_id__dedicated_deployments__deployment_id__logs_get
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      - name: deployment_id
        in: path
        required: true
        schema:
          type: string
          title: Deployment Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 2000
          minimum: 20
          default: 200
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
  /v1/developer/{developer_id}/dedicated-deployments/{deployment_id}/outputs:
    get:
      tags:
      - Dedicated deployments
      summary: Deployment Outputs
      description: 'The files the deployment''s model wrote in the last 24 hours, with download links (deploy/outputs.py); also

        once it is stopped or deleted.'
      operationId: deployment_outputs_v1_developer__developer_id__dedicated_deployments__deployment_id__outputs_get
      parameters:
      - name: developer_id
        in: path
        required: true
        schema:
          type: string
          title: Developer Id
      - name: deployment_id
        in: path
        required: true
        schema:
          type: string
          title: Deployment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
components:
  schemas:
    DeployContainer:
      properties:
        port:
          type: integer
          maximum: 65535.0
          minimum: 1.0
          title: Port
          default: 8000
        ready_path:
          type: string
          maxLength: 200
          title: Ready Path
          default: /health
        command:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Command
        env:
          additionalProperties:
            type: string
            format: password
            writeOnly: true
          type: object
          title: Env
        registry_username:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Registry Username
        registry_password:
          anyOf:
          - type: string
            maxLength: 2000
            format: password
            writeOnly: true
          - type: 'null'
          title: Registry Password
      additionalProperties: false
      type: object
      title: DeployContainer
      description: 'Your own container: how OneInfer runs it and reaches its server.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DedicatedDeploymentStartRequest:
      properties:
        offer_id:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
          title: Offer Id
        max_price_per_hour_usd:
          anyOf:
          - type: number
            maximum: 10000.0
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Max Price Per Hour Usd
        idle_stop_minutes:
          anyOf:
          - type: integer
            maximum: 240.0
            minimum: 5.0
          - type: 'null'
          title: Idle Stop Minutes
          description: Stop the deployment by itself (the GPU is released and billing stops, the configuration is kept) after this many minutes without a request through its OneInfer address, 5-240. Counted from when it became ready if it never got one; a deployment that is still starting is never stopped. Start it again to serve. Leave it out to keep the deployment's current setting; send null to turn idle stop off.
        keep_outputs:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Keep Outputs
          description: Copy the files the model writes (vLLM-Omni's and the media server's videos, your container's /workspace/outputs) to OneInfer's storage and keep each for 24 hours, free, so you can download them after the GPU is gone (GET .../dedicated-deployments/{id}/outputs). false keeps them on the GPU only, for outputs too large to be worth a host's upload fees. Leave it out to keep the deployment's current setting.
      additionalProperties: false
      type: object
      title: DedicatedDeploymentStartRequest
    DedicatedDeploymentCreateRequest:
      properties:
        name:
          type: string
          maxLength: 63
          minLength: 2
          title: Name
        model_id:
          anyOf:
          - type: string
            maxLength: 300
            minLength: 3
          - type: 'null'
          title: Model Id
        checkpoint:
          anyOf:
          - $ref: '#/components/schemas/DeployCheckpoint'
          - type: 'null'
        hf_token:
          anyOf:
          - type: string
            maxLength: 300
            format: password
            writeOnly: true
          - type: 'null'
          title: Hf Token
        library:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Library
        offer_id:
          type: string
          maxLength: 300
          minLength: 3
          title: Offer Id
        workload:
          anyOf:
          - $ref: '#/components/schemas/DeployWorkload'
          - type: 'null'
        sol_run_id:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Sol Run Id
        trust_remote_code:
          type: boolean
          title: Trust Remote Code
          default: false
        container:
          anyOf:
          - $ref: '#/components/schemas/DeployContainer'
          - type: 'null'
        max_price_per_hour_usd:
          anyOf:
          - type: number
            maximum: 10000.0
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Max Price Per Hour Usd
        idle_stop_minutes:
          anyOf:
          - type: integer
            maximum: 240.0
            minimum: 5.0
          - type: 'null'
          title: Idle Stop Minutes
          description: 'Stop the deployment by itself (the GPU is released and billing stops, the configuration is kept) after this many minutes without a request through its OneInfer address, 5-240. Counted from when it became ready if it never got one; a deployment that is still starting is never stopped. Start it again to serve. Null or left out: never (the deployment runs until you stop it).'
        keep_outputs:
          type: boolean
          title: Keep Outputs
          description: Copy the files the model writes (vLLM-Omni's and the media server's videos, your container's /workspace/outputs) to OneInfer's storage and keep each for 24 hours, free, so you can download them after the GPU is gone (GET .../dedicated-deployments/{id}/outputs). false keeps them on the GPU only, for outputs too large to be worth a host's upload fees.
          default: true
      additionalProperties: false
      type: object
      required:
      - name
      - offer_id
      title: DedicatedDeploymentCreateRequest
    DeployAnalyzeRequest:
      properties:
        model_id:
          anyOf:
          - type: string
            maxLength: 300
            minLength: 3
          - type: 'null'
          title: Model Id
        checkpoint:
          anyOf:
          - $ref: '#/components/schemas/DeployCheckpoint'
          - type: 'null'
        hf_token:
          anyOf:
          - type: string
            maxLength: 300
            format: password
            writeOnly: true
          - type: 'null'
          title: Hf Token
        library:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Library
        workload:
          anyOf:
          - $ref: '#/components/schemas/DeployWorkload'
          - type: 'null'
        registry_username:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Registry Username
        registry_password:
          anyOf:
          - type: string
            maxLength: 2000
            format: password
            writeOnly: true
          - type: 'null'
          title: Registry Password
      additionalProperties: false
      type: object
      title: DeployAnalyzeRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    DeployWorkload:
      properties:
        context_tokens:
          anyOf:
          - type: integer
            maximum: 2097152.0
            minimum: 256.0
          - type: 'null'
          title: Context Tokens
        concurrency:
          anyOf:
          - type: integer
            maximum: 1024.0
            minimum: 1.0
          - type: 'null'
          title: Concurrency
        prompt_tokens:
          anyOf:
          - type: integer
            maximum: 2097152.0
            minimum: 1.0
          - type: 'null'
          title: Prompt Tokens
        output_tokens:
          anyOf:
          - type: integer
            maximum: 262144.0
            minimum: 1.0
          - type: 'null'
          title: Output Tokens
      additionalProperties: false
      type: object
      title: DeployWorkload
    DeployCheckpoint:
      properties:
        run_id:
          type: string
          maxLength: 64
          minLength: 3
          title: Run Id
        name:
          type: string
          maxLength: 128
          minLength: 1
          title: Name
      additionalProperties: false
      type: object
      required:
      - run_id
      - name
      title: DeployCheckpoint
      description: A checkpoint of one of your fine-tuning runs ("checkpoint-200", or "final" for the finished model).
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token (without 'Bearer ' prefix)