BentoML deployment v2 revisions API

deployment revisions

Operations 1

GET /api/v2/deployments/{deploymentName}/revisions List deployment v2 revisions #

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-deployment-v2-revisions-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-deployment-v2-revisions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: yatai api server admin api v1 deployment v2 revisions 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: deployment v2 revisions
  description: deployment revisions
paths:
  /api/v2/deployments/{deploymentName}/revisions:
    get:
      tags:
      - deployment v2 revisions
      summary: List deployment v2 revisions
      operationId: List deployment v2 revisions
      parameters:
      - name: deploymentName
        in: path
        required: true
        schema:
          type: string
      - name: cluster
        in: query
        schema:
          type: string
      - name: count
        in: query
        schema:
          type: integer
          format: int32
      - name: namespace
        in: query
        schema:
          type: string
      - 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/Schemasv2DeploymentRevisionListSchema'
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
    ModelschemasExtraDeploymentOverrides:
      type: object
      properties:
        bento_function_overrides:
          $ref: '#/components/schemas/ModelschemasApiServerBentoFunctionOverrides'
        bento_request_overrides:
          $ref: '#/components/schemas/ModelschemasBentoRequestOverrides'
    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
    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
    Schemasv2DeploymentRevisionListSchema:
      type: object
      properties:
        count:
          type: integer
          format: int32
        items:
          type: array
          items:
            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
                        - 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
                  kube_namespace:
                    type: string
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  manifest:
                    $ref: '#/components/schemas/ModelschemasDeploymentManifest'
                  mode:
                    type:
                    - string
                    - 'null'
                  name:
                    type: string
                  resource_type:
                    type: string
                    enum:
                    - user
                    - organization
                    - cluster
                    - host_cluster
                    - bento_repository
                    - bento
                    - deployment
                    - deployment_revision
                    - model_repository
                    - model
                    - api_token
                  status:
                    type: string
                    enum:
                    - unknown
                    - non-deployed
                    - running
                    - unhealthy
                    - failed
                    - deploying
                  uid:
                    type: string
                  updated_at:
                    type: string
                    format: date-time
                  updater:
                    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
              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
              status:
                type: string
                enum:
                - active
                - inactive
              targets:
                type: array
                items:
                  type: object
                  properties:
                    bento:
                      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'
                        n_deployments:
                          type: integer
                          format: int32
                        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_bento:
                              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
                

# --- truncated at 32 KB (80 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bentoml/refs/heads/main/openapi/bentoml-deployment-v2-revisions-api-openapi.yml