BentoML admin deployment resource API
admin deployment resource
admin deployment resource
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/bentoml-admin-deployment-resource-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: yatai api server admin api v1 admin deployment 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: admin deployment resource
description: admin deployment resource
paths:
? /api/admin/v1/organizations/{orgName}/clusters/{clusterName}/namespaces/{namespace}/deployments/{deploymentName}/status_records
: get:
tags:
- admin deployment resource
summary: List deployment status records in admin panel
operationId: List deployment status records in admin panel
parameters:
- name: clusterName
in: path
required: true
schema:
type: string
- name: deploymentName
in: path
required: true
schema:
type: string
- name: namespace
in: path
required: true
schema:
type: string
- name: orgName
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
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Schemasv2DeploymentStatusRecordListSchema'
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
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
Schemasv2DeploymentStatusRecordListSchema:
type: object
properties:
count:
type: integer
format: int32
items:
type: array
items:
$ref: '#/components/schemas/Schemasv2DeploymentStatusRecordSchema'
start:
type: integer
format: int32
total:
type: integer
format: int32
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'
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
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'
V1ResourceFieldSelector:
type: object
properties:
containerName:
type: string
divisor:
$ref: '#/components/schemas/ResourceQuantity'
resource:
type: string
V1TypedLocalObjectReference:
type: object
properties:
apiGroup:
type:
- string
- 'null'
kind:
type: string
name:
type: string
ModelschemasHPAPolicy:
type: object
properties:
metrics:
type: array
items:
$ref: '#/components/schemas/ModelschemasHPAMetric'
scale_down_behavior:
type:
- string
- 'null'
scale_down_stabilization_window:
type:
- integer
- 'null'
format: int32
scale_up_behavior:
type:
- string
- 'null'
scale_up_stabilization_window:
type:
- integer
- 'null'
format: int32
scaling_strategy:
type:
- string
- 'null'
V1EnvFromSource:
type: object
properties:
configMapRef:
$ref: '#/components/schemas/V1ConfigMapEnvSource'
prefix:
type: string
secretRef:
$ref: '#/components/schemas/V1SecretEnvSource'
V1SecretEnvSource:
type: object
properties:
LocalObjectReference:
$ref: '#/components/schemas/V1LocalObjectReference'
optional:
type:
- boolean
- 'null'
V1NodeSelectorTerm:
type: object
properties:
matchExpressions:
type: array
items:
$ref: '#/components/schemas/V1NodeSelectorRequirement'
matchFields:
type: array
items:
$ref: '#/components/schemas/V1NodeSelectorRequirement'
ResourceQuantity:
type: object
V1ProjectedVolumeSource:
type: object
properties:
defaultMode:
type:
- integer
- 'null'
format: int32
sources:
type: array
items:
$ref: '#/components/schemas/V1VolumeProjection'
V1ManagedFieldsEntry:
type: object
properties:
apiVersion:
type: string
fieldsType:
type: string
fieldsV1:
$ref: '#/components/schemas/V1FieldsV1'
manager:
type: string
operation:
type: string
subresource:
type: string
time:
$ref: '#/components/schemas/V1Time'
V1PodAffinityTerm:
type: object
properties:
labelSelector:
$ref: '#/components/schemas/V1LabelSelector'
matchLabelKeys:
type: array
items:
type: string
mismatchLabelKeys:
type: array
items:
type: string
namespaceSelector:
$ref: '#/components/schemas/V1LabelSelector'
namespaces:
type: array
items:
type: string
topologyKey:
type: string
ModelschemasHPAMetric:
type: object
properties:
type:
type: string
value:
type: string
V1GlusterfsVolumeSource:
type: object
properties:
endpoints:
type: string
path:
type: string
readOnly:
type: boolean
V1LabelSelectorRequirement:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
V1TopologySpreadConstraint:
type: object
properties:
labelSelector:
$ref: '#/components/schemas/V1LabelSelector'
matchLabelKeys:
type: array
items:
type: string
maxSkew:
type: integer
format: int32
minDomains:
type:
- integer
- 'null'
format: int32
nodeAffinityPolicy:
type:
- string
- 'null'
nodeTaintsPolicy:
type:
- string
- 'null'
topologyKey:
type: string
whenUnsatisfiable:
type: string
V1NodeSelectorRequirement:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
ModelschemasDeploymentTargetHPAConf:
type: object
properties:
max_replicas:
type:
- integer
- 'null'
format: int32
min_replicas:
type:
- integer
- 'null'
format: int32
policy:
$ref: '#/components/schemas/ModelschemasHPAPolicy'
Schemasv2DeploymentStatusRecordSchema:
type: object
properties:
created_at:
type: string
format: date-time
deployment_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
- 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:
# --- truncated at 32 KB (79 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bentoml/refs/heads/main/openapi/bentoml-admin-deployment-resource-api-openapi.yml