BentoML customer resource API

customer resource

Operations 2

GET /api/v1/customers/{customerName} Get a customer #
PATCH /api/v1/customers/{customerName} Update a customer #

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-customer-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-customer-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: yatai api server admin api v1 customer 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: customer resource
  description: customer resource
paths:
  /api/v1/customers/{customerName}:
    get:
      tags:
      - customer resource
      summary: Get a customer
      operationId: Get a customer
      parameters:
      - name: customerName
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  billing_customer_id:
                    type: string
                  created_at:
                    type: string
                    format: date-time
                  customer:
                    description: Value of any type, including null
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  lago_customer:
                    $ref: '#/components/schemas/Schemasv1LagoCustomer'
                  lago_id:
                    type: string
                  name:
                    type: string
                  payment_portal_url:
                    type: string
                  resource_type:
                    type: string
                    enum:
                    - user
                    - organization
                    - cluster
                    - host_cluster
                    - bento_repository
                    - bento
                    - deployment
                    - deployment_revision
                    - model_repository
                    - model
                    - api_token
                  stripe_id:
                    type: string
                  subscription_id:
                    type: string
                  uid:
                    type: string
                  updated_at:
                    type: string
                    format: date-time
                  wallet_id:
                    type: string
    patch:
      tags:
      - customer resource
      summary: Update a customer
      operationId: Update a customer
      parameters:
      - name: customerName
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Update_A_CustomerInput'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  billing_customer_id:
                    type: string
                  created_at:
                    type: string
                    format: date-time
                  deleted_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelschemasLabelItemSchema'
                  lago_id:
                    type: string
                  name:
                    type: string
                  resource_type:
                    type: string
                    enum:
                    - user
                    - organization
                    - cluster
                    - host_cluster
                    - bento_repository
                    - bento
                    - deployment
                    - deployment_revision
                    - model_repository
                    - model
                    - api_token
                  stripe_id:
                    type: string
                  subscription_id:
                    type: string
                  uid:
                    type: string
                  updated_at:
                    type: string
                    format: date-time
                  wallet_id:
                    type: string
components:
  schemas:
    Update_A_CustomerInput:
      type: object
      properties:
        active:
          type:
          - boolean
          - 'null'
        billing_customer_id:
          type:
          - string
          - 'null'
        lago_id:
          type:
          - string
          - 'null'
        payment_ready:
          type:
          - boolean
          - 'null'
        stripe_id:
          type:
          - string
          - 'null'
        subscription_id:
          type:
          - string
          - 'null'
        wallet_id:
          type:
          - string
          - 'null'
    Schemasv1LagoCustomer:
      type: object
      properties:
        email:
          type: string
        lago_id:
          type: string
        limit_group_plan:
          type: string
        name:
          type: string
        subscription_id:
          type: string
        wallet_id:
          type: string
    ModelschemasLabelItemSchema:
      type: object
      properties:
        key:
          type: string
        stage:
          type: string
        value:
          type: string
  securitySchemes:
    apiToken:
      type: apiKey
      in: header
      name: X-YATAI-API-TOKEN