BentoML model resource API

model resource

Operations 12

GET /api/v1/model_repositories/{modelRepositoryName}/models/{version} Get a model #
DELETE /api/v1/model_repositories/{modelRepositoryName}/models/{version} Delete a model #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version} Update a model #
GET /api/v1/model_repositories/{modelRepositoryName}/models/{version}/bentos List model bentos #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/complete_multipart_upload Complete a model multipart upload #
GET /api/v1/model_repositories/{modelRepositoryName}/models/{version}/deployments List model deployments #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/finish_upload Finish upload a model #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/presign_download_url Pre sign model download URL #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/presign_multipart_upload_url Presign a model multipart upload url #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/presign_upload_url Pre sign model upload URL #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/start_multipart_upload Start a model multipart upload #
PATCH /api/v1/model_repositories/{modelRepositoryName}/models/{version}/start_upload Start upload a model #

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-model-resource-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-model-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: yatai api server admin api v1 model resource 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: model resource
  description: model resource
paths:
  /api/v1/model_repositories/{modelRepositoryName}/models/{version}:
    get:
      tags:
      - model resource
      summary: Get a model
      operationId: Get a model
      parameters:
      - name: modelRepositoryName
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: X-Yatai-Organization
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  bentos:
                    type: array
                    items:
                      type: object
                      properties:
                        bento_repository_uid:
                          type: string
                        build_at:
                          type: string
                          format: date-time
                        created_at:
                          type: string
                          format: date-time
                        creator:
                          type: object
                          properties:
                            application_status:
                              type: string
                            avatar_url:
                              type: string
                            created_at:
                              type: string
                              format: date-time
                            deleted_at:
                              type:
                              - string
                              - 'null'
                              format: date-time
                            email:
                              type: string
                            first_name:
                              type: string
                            from_sso:
                              type: boolean
                            is_super_admin:
                              type: boolean
                            labels:
                              type: array
                              items:
                                $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                            last_name:
                              type: string
                            name:
                              type: string
                            perm:
                              type: string
                            register_stage:
                              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
                        deleted_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        description:
                          type: string
                        image_build_status:
                          type: string
                        labels:
                          type: array
                          items:
                            $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                        manifest:
                          $ref: '#/components/schemas/ModelschemasBentoManifestSchema'
                        name:
                          type: string
                        presigned_download_url:
                          type: string
                        presigned_upload_url:
                          type: string
                        presigned_urls_deprecated:
                          type: boolean
                        resource_type:
                          type: string
                          enum:
                          - user
                          - organization
                          - cluster
                          - host_cluster
                          - bento_repository
                          - bento
                          - deployment
                          - deployment_revision
                          - model_repository
                          - model
                          - api_token
                        transmission_strategy:
                          type:
                          - string
                          - 'null'
                        uid:
                          type: string
                        updated_at:
                          type: string
                          format: date-time
                        upload_finished_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        upload_finished_reason:
                          type: string
                        upload_id:
                          type: string
                        upload_started_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        upload_status:
                          type: string
                        version:
                          type: string
                  build_at:
                    type: string
                    format: date-time
                  created_at:
                    type: string
                    format: date-time
                  creator:
                    type: object
                    properties:
                      application_status:
                        type: string
                      avatar_url:
                        type: string
                      created_at:
                        type: string
                        format: date-time
                      deleted_at:
                        type:
                        - string
                        - 'null'
                        format: date-time
                      email:
                        type: string
                      first_name:
                        type: string
                      from_sso:
                        type: boolean
                      is_super_admin:
                        type: boolean
                      labels:
                        type: array
                        items:
                          $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                      last_name:
                        type: string
                      name:
                        type: string
                      perm:
                        type: string
                      register_stage:
                        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
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  description:
                    type: string
                  image_build_status:
                    type: string
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  manifest:
                    $ref: '#/components/schemas/ModelschemasModelManifestSchema'
                  model_uid:
                    type: string
                  name:
                    type: string
                  presigned_download_url:
                    type: string
                  presigned_upload_url:
                    type: string
                  presigned_urls_deprecated:
                    type: boolean
                  repository:
                    type: object
                    properties:
                      created_at:
                        type: string
                        format: date-time
                      creator:
                        type: object
                        properties:
                          application_status:
                            type: string
                          avatar_url:
                            type: string
                          created_at:
                            type: string
                            format: date-time
                          deleted_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          email:
                            type: string
                          first_name:
                            type: string
                          from_sso:
                            type: boolean
                          is_super_admin:
                            type: boolean
                          labels:
                            type: array
                            items:
                              $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                          last_name:
                            type: string
                          name:
                            type: string
                          perm:
                            type: string
                          register_stage:
                            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
                      deleted_at:
                        type:
                        - string
                        - 'null'
                        format: date-time
                      description:
                        type: string
                      labels:
                        type: array
                        items:
                          $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                      latest_model:
                        type: object
                        properties:
                          build_at:
                            type: string
                            format: date-time
                          created_at:
                            type: string
                            format: date-time
                          creator:
                            type: object
                            properties:
                              application_status:
                                type: string
                              avatar_url:
                                type: string
                              created_at:
                                type: string
                                format: date-time
                              deleted_at:
                                type:
                                - string
                                - 'null'
                                format: date-time
                              email:
                                type: string
                              first_name:
                                type: string
                              from_sso:
                                type: boolean
                              is_super_admin:
                                type: boolean
                              labels:
                                type: array
                                items:
                                  $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                              last_name:
                                type: string
                              name:
                                type: string
                              perm:
                                type: string
                              register_stage:
                                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
                          deleted_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          description:
                            type: string
                          image_build_status:
                            type: string
                          labels:
                            type: array
                            items:
                              $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                          manifest:
                            $ref: '#/components/schemas/ModelschemasModelManifestSchema'
                          model_uid:
                            type: string
                          name:
                            type: string
                          presigned_download_url:
                            type: string
                          presigned_upload_url:
                            type: string
                          presigned_urls_deprecated:
                            type: boolean
                          resource_type:
                            type: string
                            enum:
                            - user
                            - organization
                            - cluster
                            - host_cluster
                            - bento_repository
                            - bento
                            - deployment
                            - deployment_revision
                            - model_repository
                            - model
                            - api_token
                          transmission_strategy:
                            type:
                            - string
                            - 'null'
                          uid:
                            type: string
                          updated_at:
                            type: string
                            format: date-time
                          upload_finished_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          upload_finished_reason:
                            type: string
                          upload_id:
                            type: string
                          upload_started_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          upload_status:
                            type: string
                          version:
                            type: string
                      name:
                        type: string
                      organization:
                        type: object
                        properties:
                          created_at:
                            type: string
                            format: date-time
                          creator:
                            type: object
                            properties:
                              application_status:
                                type: string
                              avatar_url:
                                type: string
                              created_at:
                                type: string
                                format: date-time
                              deleted_at:
                                type:
                                - string
                                - 'null'
                                format: date-time
                              email:
                                type: string
                              first_name:
                                type: string
                              from_sso:
                                type: boolean
                              is_super_admin:
                                type: boolean
                              labels:
                                type: array
                                items:
                                  $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                              last_name:
                                type: string
                              name:
                                type: string
                              perm:
                                type: string
                              register_stage:
                                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
                          deleted_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          description:
                            type: string
                          disable_grafana:
                            type: boolean
                          disable_resources_graphs:
                            type: boolean
                          enable_endpoints:
                            type: boolean
                          enable_mixture_scaling:
                            type: boolean
                          enable_monitoring_endpoint:
                            type: boolean
                          expired_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          labels:
                            type: array
                            items:
                              $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                          limit_group:
                            type:
                            - string
                            - 'null'
                          multi_tenancy:
                            type: boolean
                          name:
                            type: string
                          public:
                            type: boolean
                          resource_type:
                            type: string
                            enum:
                            - user
                            - organization
                            - cluster
                            - host_cluster
                            - bento_repository
                            - bento
                            - deployment
                            - deployment_revision
                            - model_repository
                            - model
                            - api_token
                          status:
                            type: string
                          uid:
                            type: string
                          updated_at:
                            type: string
                            format: date-time
                      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
                  resource_type:
                    type: string
                    enum:
                    - user
                    - organization
                    - cluster
                    - host_cluster
                    - bento_repository
                    - bento
                    - deployment
                    - deployment_revision
                    - model_repository
                    - model
                    - api_token
                  transmission_strategy:
                    type:
                    - string
                    - 'null'
                  uid:
                    type: string
                  updated_at:
                    type: string
                    format: date-time
                  upload_finished_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  upload_finished_reason:
                    type: string
                  upload_id:
                    type: string
                  upload_started_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  upload_status:
                    type: string
                  version:
                    type: string
    delete:
      tags:
      - model resource
      summary: Delete a model
      operationId: Delete a model
      parameters:
      - name: modelRepositoryName
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: X-Yatai-Organization
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
    patch:
      tags:
      - model resource
      summary: Update a model
      operationId: Update a model
      parameters:
      - name: modelRepositoryName
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: X-Yatai-Organization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Update_A_ModelInput'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  build_at:
                    type: string
                    format: date-time
                  created_at:
                    type: string
                    format: date-time
                  creator:
                    type: object
                    properties:
                      application_status:
                        type: string
                      avatar_url:
                        type: string
                      created_at:
                        type: string
                        format: date-time
                      deleted_at:
                        type:
                        - string
                        - 'null'
                        format: date-time
                      email:
                        type: string
                      first_name:
                        type: string
                      from_sso:
                        type: boolean
                      is_super_admin:
                        type: boolean
                      labels:
                        type: array
                        items:
                          $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                      last_name:
                        type: string
                      name:
                        type: string
                      perm:
                        type: string
                      register_stage:
                        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
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  description:
                    type: string
                  image_build_status:
                    type: string
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  manifest:
                    $ref: '#/components/schemas/ModelschemasModelManifestSchema'
                  model_uid:
                    type: string
                  name:
                    type: string
                  presigned_download_url:
                    type: string
                  presigned_upload_url:
                    type: string
                  presigned_urls_deprecated:
                    type: boolean
                  resource_type:
                    type: string
                    enum:
                    - user
                    - organization
                    - cluster
                    - host_cluster
                    - bento_repository
                    - bento
                    - deployment
                    - deployment_revision
                    - model_repository
                    - model
                    - api_token
                  transmission_strategy:
                    type:
                    - string
                    - 'null'
                  uid:
                    type: string
                  updated_at:
                    type: string
                    format: date-time
                  upload_finished_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  upload_finished_reason:
                    type: string
                  upload_id:
                    type: string
                  upload_started_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  upload_status:
                    type: string
                  version:
                    type: string
  /api/v1/model_repositories/{modelRepositoryName}/models/{version}/bentos:
    get:
      tags:
      - model resource
      summary: List model bentos
      operationId: List model bentos
      parameters:
      - name: modelRepositoryName
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - 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
      - name: X-Yatai-Organization
        in: header
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Schemasv1BentoWithRepositoryListSchema'
  /api/v1/model_repositories/{modelRepositoryName}/models/{version}/complete_multipart_upload:
    patch:
      tags:
      - model resource
      summary: Complete a model multipart upload
      operationId: Complete a model multipart upload
      parameters:
      - name: modelRepositoryName
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: X-Yatai-Organization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Complete_A_Model_Multipart_UploadInput'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  build_at:
                    type: string
                    format: date-time
                  created_at:
                    type: string
                    format: date-time
                  creator:
                    type: object
                    properties:
                      application_status:
                     

# --- truncated at 32 KB (186 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bentoml/refs/heads/main/openapi/bentoml-model-resource-api-openapi.yml