openapi: 3.0.3 info: title: International Business Machines IBM Cloud Object Storage Analyze Models API description: The IBM Cloud Object Storage API provides a RESTful interface compatible with S3 for storing and retrieving objects in buckets. It supports features such as multipart uploads, versioning, lifecycle policies, and server-side encryption. version: 1.0.0 contact: name: IBM Cloud url: https://cloud.ibm.com/docs/cloud-object-storage license: name: IBM Cloud Terms url: https://www.ibm.com/terms servers: - url: https://s3.us-south.cloud-object-storage.appdomain.cloud description: US South - url: https://s3.eu-de.cloud-object-storage.appdomain.cloud description: EU Germany - url: https://s3.eu-gb.cloud-object-storage.appdomain.cloud description: EU Great Britain security: - bearerAuth: [] tags: - name: Models description: Manage custom models. paths: /v1/models/sentiment: get: operationId: listSentimentModels summary: International Business Machines List sentiment models description: List available custom sentiment models. tags: - Models parameters: - name: version in: query required: true schema: type: string responses: '200': description: Successful response /v1/models/categories: get: operationId: listCategoriesModels summary: International Business Machines List categories models description: List available custom categories models. tags: - Models parameters: - name: version in: query required: true schema: type: string responses: '200': description: Successful response /v1/models: get: operationId: listModels summary: International Business Machines List models description: List all available language models. tags: - Models responses: '200': description: Successful response content: application/json: schema: type: object properties: models: type: array items: $ref: '#/components/schemas/SpeechModel' /v1/models/{model_id}: get: operationId: getModel summary: International Business Machines Get a model description: Get information about a specific language model. tags: - Models parameters: - name: model_id in: path required: true schema: type: string responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/SpeechModel' /ml/v1/foundation_model_specs: get: operationId: listFoundationModels summary: International Business Machines List foundation models description: Retrieve the list of available foundation models. tags: - Models parameters: - name: version in: query required: true schema: type: string - name: limit in: query schema: type: integer - name: offset in: query schema: type: integer responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/FoundationModelsResponse' components: schemas: SpeechModel: type: object properties: name: type: string language: type: string rate: type: integer url: type: string description: type: string FoundationModelsResponse: type: object properties: total_count: type: integer limit: type: integer offset: type: integer resources: type: array items: type: object properties: model_id: type: string label: type: string provider: type: string source: type: string tasks: type: array items: type: object properties: id: type: string label: type: string securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: IAM Token