BentoML resource instances API

resource instances

Operations 2

GET /api/admin/v1/resource_instances List resource instances #
POST /api/admin/v1/resource_instances Create a resource instance #

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/bentoml-resource-instances-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

bentoml-resource-instances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: yatai api server admin api v1 resource instances API
  description: This is yatai api server.
  version: 1.0.0
servers:
- url: https://cloud.bentoml.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: resource instances
  description: resource instances
paths:
  /api/admin/v1/resource_instances:
    get:
      tags:
      - resource instances
      summary: List resource instances
      operationId: List resource instances
      parameters:
      - name: count
        in: query
        schema:
          type: integer
          format: int32
      - name: q
        in: query
        schema:
          type: string
      - name: search
        in: query
        schema:
          type:
          - string
          - 'null'
      - name: start
        in: query
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Schemasv1ResourceInstanceListSchema'
    post:
      tags:
      - resource instances
      summary: Create a resource instance
      operationId: Create a resource instance
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Create_A_Resource_InstanceInput'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  config:
                    type:
                    - string
                    - 'null'
                  created_at:
                    type: string
                    format: date-time
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  description:
                    type: string
                  display_name:
                    type: string
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  lago_id:
                    type: string
                  name:
                    type: string
                  resource_type:
                    type: string
                    enum:
                    - user
                    - organization
                    - cluster
                    - host_cluster
                    - bento_repository
                    - bento
                    - deployment
                    - deployment_revision
                    - model_repository
                    - model
                    - api_token
                  uid:
                    type: string
                  updated_at:
                    type: string
                    format: date-time
components:
  schemas:
    ModelschemasResourceInstanceConfigSchema:
      type: object
      properties:
        gpu_config:
          $ref: '#/components/schemas/ModelschemasGPUConfig'
        group:
          type: string
        node_selectors:
          type: object
          additionalProperties:
            type: string
        price:
          type: string
        resources:
          $ref: '#/components/schemas/ModelschemasDeploymentTargetResources'
        tolerations:
          type: array
          items:
            $ref: '#/components/schemas/V1Toleration'
        tpu_config:
          $ref: '#/components/schemas/ModelschemasTPUConfig'
    ModelschemasGPUConfig:
      type: object
      properties:
        memory:
          type: string
        type:
          type: string
    ModelschemasLabelItemSchema:
      type: object
      properties:
        key:
          type: string
        stage:
          type: string
        value:
          type: string
    Create_A_Resource_InstanceInput:
      type: object
      properties:
        config:
          $ref: '#/components/schemas/ModelschemasResourceInstanceConfigSchema'
        description:
          type: string
        display_name:
          type: string
        name:
          type: string
    ModelschemasTPUConfig:
      type: object
      properties:
        type:
          type: string
    ModelschemasDeploymentTargetResourceItem:
      type: object
      properties:
        cpu:
          type: string
        custom:
          type: object
          additionalProperties:
            type: string
        gpu:
          type: string
        memory:
          type: string
    Schemasv1ResourceInstanceListSchema:
      type: object
      properties:
        count:
          type: integer
          format: int32
        items:
          type: array
          items:
            type: object
            properties:
              config:
                type:
                - string
                - 'null'
              created_at:
                type: string
                format: date-time
              deleted_at:
                type:
                - string
                - 'null'
                format: date-time
              description:
                type: string
              display_name:
                type: string
              labels:
                type: array
                items:
                  $ref: '#/components/schemas/ModelschemasLabelItemSchema'
              lago_id:
                type: string
              name:
                type: string
              resource_type:
                type: string
                enum:
                - user
                - organization
                - cluster
                - host_cluster
                - bento_repository
                - bento
                - deployment
                - deployment_revision
                - model_repository
                - model
                - api_token
              uid:
                type: string
              updated_at:
                type: string
                format: date-time
        start:
          type: integer
          format: int32
        total:
          type: integer
          format: int32
    ModelschemasDeploymentTargetResources:
      type: object
      properties:
        limits:
          $ref: '#/components/schemas/ModelschemasDeploymentTargetResourceItem'
        requests:
          $ref: '#/components/schemas/ModelschemasDeploymentTargetResourceItem'
    V1Toleration:
      type: object
      properties:
        effect:
          type: string
        key:
          type: string
        operator:
          type: string
        tolerationSeconds:
          type:
          - integer
          - 'null'
          format: int64
        value:
          type: string
  securitySchemes:
    apiToken:
      type: apiKey
      in: header
      name: X-YATAI-API-TOKEN