BentoML admin api v1 API

admin api v1

Operations 3

GET /api/admin/v1/clusters List clusters in admin panel #
GET /api/admin/v1/deployments List deployments in admin panel #
PUT /api/admin/v1/sync_all_tenant_resources Sync all tenant resources in a cluster in admin panel #

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-admin-api-v1-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-admin-api-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: yatai api server admin api v1 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: admin api v1
  description: admin api v1
paths:
  /api/admin/v1/clusters:
    get:
      tags:
      - admin api v1
      summary: List clusters in admin panel
      operationId: List clusters in admin panel
      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/Schemasv1ClusterListSchema'
  /api/admin/v1/deployments:
    get:
      tags:
      - admin api v1
      summary: List deployments in admin panel
      operationId: List deployments in admin panel
      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/Schemasv1AdminDeploymentListSchema'
  /api/admin/v1/sync_all_tenant_resources:
    put:
      tags:
      - admin api v1
      summary: Sync all tenant resources in a cluster in admin panel
      operationId: Sync all tenant resources in a cluster in admin panel
      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/Admincontrollersv1SyncResultSchema'
components:
  schemas:
    V1QuobyteVolumeSource:
      type: object
      properties:
        group:
          type: string
        readOnly:
          type: boolean
        registry:
          type: string
        tenant:
          type: string
        user:
          type: string
        volume:
          type: string
    ModelschemasBentoRunnerSchema:
      type: object
      properties:
        models:
          type: array
          items:
            type: string
        name:
          type: string
        resource_config:
          $ref: '#/components/schemas/ModelschemasBentoRunnerResourceSchema'
        runnable_type:
          type: string
    V1VolumeProjection:
      type: object
      properties:
        clusterTrustBundle:
          $ref: '#/components/schemas/V1ClusterTrustBundleProjection'
        configMap:
          $ref: '#/components/schemas/V1ConfigMapProjection'
        downwardAPI:
          $ref: '#/components/schemas/V1DownwardAPIProjection'
        podCertificate:
          $ref: '#/components/schemas/V1PodCertificateProjection'
        secret:
          $ref: '#/components/schemas/V1SecretProjection'
        serviceAccountToken:
          $ref: '#/components/schemas/V1ServiceAccountTokenProjection'
    V1LabelSelector:
      type: object
      properties:
        matchExpressions:
          type: array
          items:
            $ref: '#/components/schemas/V1LabelSelectorRequirement'
        matchLabels:
          type: object
          additionalProperties:
            type: string
    V1KeyToPath:
      type: object
      properties:
        key:
          type: string
        mode:
          type:
          - integer
          - 'null'
          format: int32
        path:
          type: string
    ModelschemasEnvItemSchema:
      type: object
      properties:
        name:
          type: string
        stage:
          type: string
        value:
          type: string
    V1PersistentVolumeClaimTemplate:
      type: object
      properties:
        metadata:
          $ref: '#/components/schemas/V1ObjectMeta'
        spec:
          $ref: '#/components/schemas/V1PersistentVolumeClaimSpec'
    V1VolumeSource:
      type: object
      properties:
        awsElasticBlockStore:
          $ref: '#/components/schemas/V1AWSElasticBlockStoreVolumeSource'
        azureDisk:
          $ref: '#/components/schemas/V1AzureDiskVolumeSource'
        azureFile:
          $ref: '#/components/schemas/V1AzureFileVolumeSource'
        cephfs:
          $ref: '#/components/schemas/V1CephFSVolumeSource'
        cinder:
          $ref: '#/components/schemas/V1CinderVolumeSource'
        configMap:
          $ref: '#/components/schemas/V1ConfigMapVolumeSource'
        csi:
          $ref: '#/components/schemas/V1CSIVolumeSource'
        downwardAPI:
          $ref: '#/components/schemas/V1DownwardAPIVolumeSource'
        emptyDir:
          $ref: '#/components/schemas/V1EmptyDirVolumeSource'
        ephemeral:
          $ref: '#/components/schemas/V1EphemeralVolumeSource'
        fc:
          $ref: '#/components/schemas/V1FCVolumeSource'
        flexVolume:
          $ref: '#/components/schemas/V1FlexVolumeSource'
        flocker:
          $ref: '#/components/schemas/V1FlockerVolumeSource'
        gcePersistentDisk:
          $ref: '#/components/schemas/V1GCEPersistentDiskVolumeSource'
        gitRepo:
          $ref: '#/components/schemas/V1GitRepoVolumeSource'
        glusterfs:
          $ref: '#/components/schemas/V1GlusterfsVolumeSource'
        hostPath:
          $ref: '#/components/schemas/V1HostPathVolumeSource'
        image:
          $ref: '#/components/schemas/V1ImageVolumeSource'
        iscsi:
          $ref: '#/components/schemas/V1ISCSIVolumeSource'
        nfs:
          $ref: '#/components/schemas/V1NFSVolumeSource'
        persistentVolumeClaim:
          $ref: '#/components/schemas/V1PersistentVolumeClaimVolumeSource'
        photonPersistentDisk:
          $ref: '#/components/schemas/V1PhotonPersistentDiskVolumeSource'
        portworxVolume:
          $ref: '#/components/schemas/V1PortworxVolumeSource'
        projected:
          $ref: '#/components/schemas/V1ProjectedVolumeSource'
        quobyte:
          $ref: '#/components/schemas/V1QuobyteVolumeSource'
        rbd:
          $ref: '#/components/schemas/V1RBDVolumeSource'
        scaleIO:
          $ref: '#/components/schemas/V1ScaleIOVolumeSource'
        secret:
          $ref: '#/components/schemas/V1SecretVolumeSource'
        storageos:
          $ref: '#/components/schemas/V1StorageOSVolumeSource'
        vsphereVolume:
          $ref: '#/components/schemas/V1VsphereVirtualDiskVolumeSource'
    ModelschemasBentoManifestModelSchema:
      type: object
      properties:
        alias:
          type: string
        creation_time:
          type: string
        endpoint:
          type: string
        module:
          type: string
        registry:
          type: string
        tag:
          type: string
    ModelschemasBentoRequestOverrides:
      type: object
      properties:
        dockerConfigJsonSecretName:
          type: string
        downloaderContainerEnvFrom:
          type: array
          items:
            $ref: '#/components/schemas/V1EnvFromSource'
        imageBuildTimeout:
          type:
          - integer
          - 'null'
          format: int64
        imageBuilderContainerResources:
          $ref: '#/components/schemas/V1ResourceRequirements'
        imageBuilderExtraContainerEnv:
          type: array
          items:
            $ref: '#/components/schemas/V1EnvVar'
        imageBuilderExtraPodMetadata:
          $ref: '#/components/schemas/V1alpha1ExtraPodMetadata'
        imageBuilderExtraPodSpec:
          $ref: '#/components/schemas/V1alpha1ExtraPodSpec'
    V1FieldsV1:
      type: object
    V1alpha1MonitorExporterMountSpec:
      type: object
      properties:
        VolumeSource:
          $ref: '#/components/schemas/V1VolumeSource'
        path:
          type: string
        readOnly:
          type: boolean
    V1ResourceRequirements:
      type: object
      properties:
        claims:
          type: array
          items:
            $ref: '#/components/schemas/V1ResourceClaim'
        limits:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ResourceQuantity'
        requests:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ResourceQuantity'
    V1NFSVolumeSource:
      type: object
      properties:
        path:
          type: string
        readOnly:
          type: boolean
        server:
          type: string
    V1ConfigMapKeySelector:
      type: object
      properties:
        LocalObjectReference:
          $ref: '#/components/schemas/V1LocalObjectReference'
        key:
          type: string
        optional:
          type:
          - boolean
          - 'null'
    V1AzureFileVolumeSource:
      type: object
      properties:
        readOnly:
          type: boolean
        secretName:
          type: string
        shareName:
          type: string
    Admincontrollersv1SyncResultSchema:
      type: object
      properties:
        failedCount:
          type: integer
          format: int32
        succeedCount:
          type: integer
          format: int32
        synced:
          type: array
          items:
            $ref: '#/components/schemas/Admincontrollersv1SyncOrgCluster'
        unsynced:
          type: array
          items:
            $ref: '#/components/schemas/Admincontrollersv1SyncOrgCluster'
    V1FCVolumeSource:
      type: object
      properties:
        fsType:
          type: string
        lun:
          type:
          - integer
          - 'null'
          format: int32
        readOnly:
          type: boolean
        targetWWNs:
          type: array
          items:
            type: string
        wwids:
          type: array
          items:
            type: string
    V1alpha1ExtraPodMetadata:
      type: object
      properties:
        annotations:
          type: object
          additionalProperties:
            type: string
        labels:
          type: object
          additionalProperties:
            type: string
    V1Affinity:
      type: object
      properties:
        nodeAffinity:
          $ref: '#/components/schemas/V1NodeAffinity'
        podAffinity:
          $ref: '#/components/schemas/V1PodAffinity'
        podAntiAffinity:
          $ref: '#/components/schemas/V1PodAntiAffinity'
    ModelschemasDeploymentManifest:
      type: object
      properties:
        dev:
          type: boolean
        replicas:
          type: object
          additionalProperties:
            type: integer
            format: int32
        routing:
          $ref: '#/components/schemas/ModelschemasDeploymentRoutingSchema'
        super_admin:
          type: boolean
    V1RBDVolumeSource:
      type: object
      properties:
        fsType:
          type: string
        image:
          type: string
        keyring:
          type: string
        monitors:
          type: array
          items:
            type: string
        pool:
          type: string
        readOnly:
          type: boolean
        secretRef:
          $ref: '#/components/schemas/V1LocalObjectReference'
        user:
          type: string
    V1FlexVolumeSource:
      type: object
      properties:
        driver:
          type: string
        fsType:
          type: string
        options:
          type: object
          additionalProperties:
            type: string
        readOnly:
          type: boolean
        secretRef:
          $ref: '#/components/schemas/V1LocalObjectReference'
    V1PersistentVolumeClaimVolumeSource:
      type: object
      properties:
        claimName:
          type: string
        readOnly:
          type: boolean
    V1GCEPersistentDiskVolumeSource:
      type: object
      properties:
        fsType:
          type: string
        partition:
          type: integer
          format: int32
        pdName:
          type: string
        readOnly:
          type: boolean
    V1FlockerVolumeSource:
      type: object
      properties:
        datasetName:
          type: string
        datasetUUID:
          type: string
    V1alpha1ExtraPodSpec:
      type: object
      properties:
        affinity:
          $ref: '#/components/schemas/V1Affinity'
        nodeSelector:
          type: object
          additionalProperties:
            type: string
        priorityClassName:
          type: string
        schedulerName:
          type: string
        serviceAccountName:
          type: string
        tolerations:
          type: array
          items:
            $ref: '#/components/schemas/V1Toleration'
        topologySpreadConstraints:
          type: array
          items:
            $ref: '#/components/schemas/V1TopologySpreadConstraint'
    V1Time:
      type: object
    V1VolumeResourceRequirements:
      type: object
      properties:
        limits:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ResourceQuantity'
        requests:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ResourceQuantity'
    ModelschemasDeploymentTargetCanaryRule:
      type: object
      properties:
        cookie:
          type:
          - string
          - 'null'
        header:
          type:
          - string
          - 'null'
        route_by:
          type:
          - string
          - 'null'
        type:
          type: string
          enum:
          - header
          - query
          - random
          - cookie
        weight:
          type:
          - integer
          - 'null'
          format: int32
    ModelschemasDeploymentTargetRunnerConfig:
      type: object
      properties:
        bento_function_overrides:
          $ref: '#/components/schemas/ModelschemasRunnerBentoFunctionOverrides'
        deployment_cold_start_wait_timeout:
          type:
          - integer
          - 'null'
          format: int64
        deployment_strategy:
          type:
          - string
          - 'null'
        enable_debug_mode:
          type:
          - boolean
          - 'null'
        enable_debug_pod_receive_production_traffic:
          type:
          - boolean
          - 'null'
        enable_stealing_traffic_debug_mode:
          type:
          - boolean
          - 'null'
        envs:
          type: array
          items:
            $ref: '#/components/schemas/ModelschemasLabelItemSchema'
        hpa_conf:
          $ref: '#/components/schemas/ModelschemasDeploymentTargetHPAConf'
        resource_instance:
          type:
          - string
          - 'null'
        resources:
          $ref: '#/components/schemas/ModelschemasDeploymentTargetResources'
        secrets:
          type: array
          items:
            type: string
        traffic_control:
          $ref: '#/components/schemas/ModelschemasTrafficControlConfig'
    V1CSIVolumeSource:
      type: object
      properties:
        driver:
          type: string
        fsType:
          type:
          - string
          - 'null'
        nodePublishSecretRef:
          $ref: '#/components/schemas/V1LocalObjectReference'
        readOnly:
          type:
          - boolean
          - 'null'
        volumeAttributes:
          type: object
          additionalProperties:
            type: string
    V1TypedObjectReference:
      type: object
      properties:
        apiGroup:
          type:
          - string
          - 'null'
        kind:
          type: string
        name:
          type: string
        namespace:
          type:
          - string
          - 'null'
    V1ResourceClaim:
      type: object
      properties:
        name:
          type: string
        request:
          type: string
    ModelschemasTrafficControlConfig:
      type: object
      properties:
        concurrency:
          type:
          - integer
          - 'null'
          format: int32
        request_queue:
          $ref: '#/components/schemas/ModelschemasRequestQueueConfig'
        timeout:
          type:
          - integer
          - 'null'
          format: int64
    V1EmptyDirVolumeSource:
      type: object
      properties:
        medium:
          type: string
        sizeLimit:
          $ref: '#/components/schemas/ResourceQuantity'
    V1ISCSIVolumeSource:
      type: object
      properties:
        chapAuthDiscovery:
          type: boolean
        chapAuthSession:
          type: boolean
        fsType:
          type: string
        initiatorName:
          type:
          - string
          - 'null'
        iqn:
          type: string
        iscsiInterface:
          type: string
        lun:
          type: integer
          format: int32
        portals:
          type: array
          items:
            type: string
        readOnly:
          type: boolean
        secretRef:
          $ref: '#/components/schemas/V1LocalObjectReference'
        targetPortal:
          type: string
    V1DownwardAPIVolumeFile:
      type: object
      properties:
        fieldRef:
          $ref: '#/components/schemas/V1ObjectFieldSelector'
        mode:
          type:
          - integer
          - 'null'
          format: int32
        path:
          type: string
        resourceFieldRef:
          $ref: '#/components/schemas/V1ResourceFieldSelector'
    Schemasv1AdminDeploymentListSchema:
      type: object
      properties:
        count:
          type: integer
          format: int32
        items:
          type: array
          items:
            type: object
            properties:
              cluster:
                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
                  default_deployment_kube_namespace:
                    type: string
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  description:
                    type: string
                  grafana_root_path:
                    type: string
                  host_cluster_display_name:
                    type: string
                  host_cluster_name:
                    type: string
                  is_first:
                    type: boolean
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  multi_tenancy:
                    type: boolean
                  name:
                    type: string
                  organization_name:
                    type: string
                  provider:
                    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
              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
              distributed:
                type: boolean
              host_cluster:
                type: object
                properties:
                  config:
                    type:
                    - string
                    - 'null'
                  created_at:
                    type: string
                    format: date-time
                  default:
                    type: boolean
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  description:
                    type: string
                  display_name:
                    type: string
                  grafana_root_path:
                    type: string
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  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
              kube_namespace:
                type: string
              labels:
                type: array
                items:
                  $ref: '#/components/schemas/ModelschemasLabelItemSchema'
              latest_revision:
                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
                  deployment:
                    type: object
                    properties:
                      cluster:
                        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
                          default_deployment_kube_namespace:
                            type: string
                          deleted_at:
                            type:
                            - string
                            - 'null'
                            format: date-time
                          description:
                            type: string
                          grafana_root_path:
                            type: string
                          host_cluster_display_name:
                            type: string
                          host_cluster_name:
                            type: string
                          is_first:
                            type: boolean
                          labels:
                            type: array
                            items:
                              $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                          multi_tenancy:
                            type: boolean
                          name:
                            type: string
                          organization_name:
                            type: string
                          provider:
                            type: string
                          resource_type:
                            type: string
                            enum:
                            - user
                            - organization
                            - cluster
                            - host_cluster
                            - bento_repository
                            - bento
                            - deployment
                            - deployment_revision
                       

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