openapi: 3.2.0 info: title: Ubicloud Inference Api Key API version: 0.1.0 contact: url: https://www.ubicloud.com/ email: support@ubicloud.com license: name: GNU Affero General Public License v3.0 (AGPL-3.0) url: https://www.gnu.org/licenses/agpl-3.0.en.html description: 'Operations tagged Inference Api Key across 2 of this provider''s published API definitions: ubicloud-openapi.yml, ubicloud-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.ubicloud.com security: - BearerAuth: [] tags: - description: Inference API Key Operations name: Inference Api Key paths: /project/{project_id}/inference-api-key: parameters: - $ref: '#/components/parameters/project_id' get: operationId: getInferenceApiKeys summary: List all inference API keys responses: '200': $ref: '#/components/responses/InferenceApiKeys' default: $ref: '#/components/responses/Error' tags: - Inference Api Key post: operationId: createInferenceApiKey summary: Create a new inference API key requestBody: required: true content: application/json: schema: type: object properties: {} additionalProperties: false responses: '200': $ref: '#/components/responses/InferenceApiKey' default: $ref: '#/components/responses/Error' tags: - Inference Api Key servers: - url: https://api.ubicloud.com /project/{project_id}/inference-api-key/{inference_api_key_id}: parameters: - $ref: '#/components/parameters/project_id' - $ref: '#/components/parameters/inference_api_key_id' get: operationId: getInferenceApiKey summary: Get inference API key details responses: '200': $ref: '#/components/responses/InferenceApiKey' default: $ref: '#/components/responses/Error' tags: - Inference Api Key delete: operationId: deleteInferenceApiKey summary: Delete a specific inference API key responses: '204': $ref: '#/components/responses/Delete' default: $ref: '#/components/responses/Error' tags: - Inference Api Key servers: - url: https://api.ubicloud.com components: responses: Delete: description: An empty response after successful resource delete InferenceApiKeys: description: A list of Inference API Keys content: application/json: schema: type: object properties: items: type: array items: $ref: '#/components/schemas/InferenceApiKey' additionalProperties: false required: - items Error: description: An error response content: application/json: schema: $ref: '#/components/schemas/Error' InferenceApiKey: description: An Inference API Key content: application/json: schema: $ref: '#/components/schemas/InferenceApiKey' schemas: Error: type: object properties: error: type: object additionalProperties: false properties: code: type: integer example: 401 message: type: string example: There was an error logging in type: type: string example: InvalidCredentials details: type: - object - 'null' required: - code - message - type additionalProperties: false required: - error InferenceApiKey: type: object properties: id: description: ID of the inference API key type: string example: akaz0q3vbrpa7pkg7zbmah9csn pattern: ^ak[0-9a-hj-km-np-tv-z]{24}$ key: description: inference API key data type: string additionalProperties: false required: - id - key parameters: project_id: description: ID of the project in: path name: project_id required: true schema: type: string example: pjkkmx0f2vke4h36nk9cm8v8q0 pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$ inference_api_key_id: description: ID of the inference API key in: path name: inference_api_key_id required: true schema: type: string example: akkkmx0f2vke4h36nk9cm8v8q0 pattern: ^ak[0-9a-hj-km-np-tv-z]{24}$ securitySchemes: BearerAuth: bearerFormat: JWT scheme: bearer type: http x-refined-from: - ubicloud-openapi.yml - ubicloud-openapi.yml