diff --git a/.castiron.stats.yml b/.castiron.stats.yml index 516b8e5e0..e44b600a9 100644 --- a/.castiron.stats.yml +++ b/.castiron.stats.yml @@ -1,8 +1,8 @@ schema_version: 1 -generation_id: cf94c82f-0604-4dfc-aff0-cec482e84953 -openapi_spec_hash: ce912f79d7f8cb19a7a515513c214b8a -openapi_transformed_spec_hash: 352b5a7a028f990b6475b6593e381eee -config_hash: dde98d9c41cd6f4163320f92c70f83e6 -codegen_sha: 326831af0c0fdf859335a189df2b6716e4b605d4 +generation_id: 6e2751a6-d9ee-4e1c-879c-828d1a797e21 +openapi_spec_hash: 662efe7cf7d92cb2a9e77bef4bfbe722 +openapi_transformed_spec_hash: 8d8bd62278396a9cdfbbb49177613b11 +config_hash: e9f2f75046b7218f4e0d78f7db7b7909 +codegen_sha: 0580522fa4d2d4ad9b9c9710f7b0053d5dd70f3a codegen_hash: 00e7f6a53e1a6a1adf02385bc368fce999fdd775d1f1c28615f790c7a4109ad0 -public_codegen_sha: c2abe7c282c83c8fb9a7330254235c20b67a2b10 +public_codegen_sha: f0d925ed7f36e478fbb9525357154fbd02816ac4 diff --git a/api_reference/openapi.transformed.yml b/api_reference/openapi.transformed.yml index 30f3e6581..b618d0d09 100644 --- a/api_reference/openapi.transformed.yml +++ b/api_reference/openapi.transformed.yml @@ -604,8 +604,37 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/CreateSpeechResponseStreamEvent' + '400': + description: Invalid speech request, input, output format, or voice. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '403': + description: Access to a personal API organization is blocked by the organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The voice or speech audio could not be processed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -718,8 +747,49 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/CreateTranscriptionResponseStreamEvent' + '400': + description: Invalid audio input or request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '403': + description: Access to a personal API organization is blocked by the organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '413': + description: The audio request exceeds the supported size limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The audio could not be processed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '502': + description: The upstream audio service connection failed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -1271,8 +1341,49 @@ paths: - $ref: '#/components/schemas/CreateTranslationResponseVerboseJson' x-stainless-skip: - go + '400': + description: Invalid audio input or request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '403': + description: Access to a personal API organization is blocked by the organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '413': + description: The audio request exceeds the supported size limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The audio could not be processed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '502': + description: The upstream audio service connection failed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -1348,6 +1459,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VoiceConsentResource' + '400': + description: Invalid consent recording or consent phrase. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: audio examples: @@ -1388,6 +1511,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VoiceConsentListResource' + '400': + description: Invalid pagination parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable or the pagination cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: audio examples: @@ -1416,6 +1551,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VoiceConsentResource' + '400': + description: Invalid consent recording ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable or the consent recording was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: audio examples: @@ -1449,6 +1596,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VoiceConsentResource' + '400': + description: Invalid consent recording ID or update. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable or the consent recording was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: audio examples: @@ -1481,6 +1640,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VoiceConsentDeletedResource' + '400': + description: Invalid consent recording ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable or the consent recording was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: audio examples: @@ -1509,6 +1680,24 @@ paths: application/json: schema: $ref: '#/components/schemas/VoiceResource' + '400': + description: Invalid voice request, consent recording, or audio sample. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable or the consent recording was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The audio sample could not be processed or the voice could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: audio examples: @@ -1540,6 +1729,30 @@ paths: application/json: schema: $ref: '#/components/schemas/Batch' + '400': + description: The request is invalid or the account cannot create a batch. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request was rejected because a rate limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error prevented the batch from being created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '503': + description: The batch could not be created because the service is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: batch examples: @@ -1637,6 +1850,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ListBatchesResponse' + '400': + description: Invalid pagination parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: No batch was found with the specified pagination cursor. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request was rejected because a rate limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: batch examples: @@ -1724,6 +1955,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Batch' + '400': + description: Invalid batch ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: No batch was found with the specified ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request was rejected because a rate limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: batch examples: @@ -1800,6 +2049,30 @@ paths: application/json: schema: $ref: '#/components/schemas/Batch' + '400': + description: Invalid batch ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: No batch was found with the specified ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The batch's current status does not allow cancellation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request was rejected because a rate limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: batch examples: @@ -1911,6 +2184,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ChatCompletionList' + '400': + description: Invalid pagination or filter parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: An internal error prevented the request from being completed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chat path: list @@ -2012,8 +2299,43 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/CreateChatCompletionStreamResponse' + '400': + description: Invalid chat completion request or incompatible request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '403': + description: Access to a personal API organization is blocked by the organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '404': + description: The requested model or a referenced resource was not found or is unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The chat completion could not be processed due to an internal error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -2840,6 +3162,20 @@ paths: application/json: schema: $ref: '#/components/schemas/CreateChatCompletionResponse' + '404': + description: No stored chat completion was found with the specified ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: An internal error prevented the request from being completed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chat examples: @@ -2928,6 +3264,26 @@ paths: application/json: schema: $ref: '#/components/schemas/CreateChatCompletionResponse' + '400': + description: Invalid metadata update. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: No stored chat completion was found with the specified ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: An internal error prevented the request from being completed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chat examples: @@ -3007,6 +3363,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ChatCompletionDeleted' + '404': + description: No stored chat completion was found with the specified ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: An internal error prevented the request from being completed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chat examples: @@ -3076,6 +3446,26 @@ paths: application/json: schema: $ref: '#/components/schemas/ChatCompletionMessageList' + '400': + description: Invalid message pagination parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: No stored chat completion was found with the specified ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: An internal error prevented the request from being completed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chat examples: @@ -3132,8 +3522,43 @@ paths: application/json: schema: $ref: '#/components/schemas/CreateCompletionResponse' + '400': + description: Invalid completion request or incompatible request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '403': + description: Access to a personal API organization is blocked by the organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '404': + description: The requested model was not found, is unavailable, or does not support this endpoint. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The completion could not be processed due to an internal error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -3300,6 +3725,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ContainerListResource' + '404': + description: The container specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3349,6 +3780,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ContainerResource' + '400': + description: The container configuration or supplied skill is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3415,6 +3852,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ContainerResource' + '404': + description: The container was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3453,6 +3896,12 @@ paths: responses: '200': description: OK + '404': + description: The container was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3499,6 +3948,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ContainerFileResource' + '400': + description: The file input is invalid, or the container file limit would be exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The container was not found or has expired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3561,6 +4022,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ContainerFileListResource' + '404': + description: The container was not found or has expired, or the file specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3612,6 +4079,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ContainerFileResource' + '404': + description: The container was not found or has expired, or the file was not found in the container. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3650,6 +4123,12 @@ paths: responses: '200': description: OK + '404': + description: The container was not found or has expired, or the file was not found in the container. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3685,6 +4164,12 @@ paths: responses: '200': description: Success + '404': + description: The container was not found or has expired, or the file was not found in the container. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -3744,8 +4229,26 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationItemList' + '400': + description: The items are invalid, are already in the conversation, or the conversation is locked. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The conversation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The conversation update could not be finalized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: conversations path: create-item @@ -3940,6 +4443,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationItemList' + '400': + description: The stored encrypted item content could not be validated. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The conversation or the item specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -4032,6 +4547,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationItem' + '404': + description: The conversation or the item in that conversation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -4108,8 +4629,26 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationResource' + '400': + description: The item cannot be removed while the conversation is locked. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The conversation or the item in that conversation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The conversation update could not be finalized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: conversations path: delete-item @@ -4173,8 +4712,37 @@ paths: application/json: schema: $ref: '#/components/schemas/CreateEmbeddingResponse' + '400': + description: Invalid embedding input or request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Authentication failed because the API key is missing or revoked, or the client IP is not authorized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. + '403': + description: Access to a personal API organization is blocked by the organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP status. '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The embedding request could not be processed due to an internal error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -4423,6 +4991,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' + '400': + description: The evaluation input or grader configuration is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -4604,6 +5178,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' + '404': + description: The evaluation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -4706,6 +5286,18 @@ paths: application/json: schema: $ref: '#/components/schemas/Eval' + '400': + description: The evaluation name or metadata is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The evaluation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -4820,12 +5412,18 @@ paths: - object - deleted - eval_id + '400': + description: The evaluation cannot be deleted while it has unfinished runs. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '404': description: Evaluation not found. content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -4912,6 +5510,18 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRunList' + '400': + description: The run list parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The evaluation or the run specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -5048,9 +5658,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The evaluation or a referenced resource was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The evaluation run could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: evals examples: @@ -5232,6 +5854,18 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRun' + '400': + description: The evaluation run does not belong to the specified evaluation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The evaluation or evaluation run was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -5645,12 +6279,18 @@ paths: run_id: type: string example: evalrun_677469f564d48190807532a852da3afb + '400': + description: The evaluation run cannot be deleted until it is finished. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '404': description: Run not found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -5750,6 +6390,18 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRunOutputItemList' + '400': + description: The output item list parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The evaluation or evaluation run was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -5884,6 +6536,18 @@ paths: application/json: schema: $ref: '#/components/schemas/EvalRunOutputItem' + '400': + description: The output item was not found, its identifier is invalid, or the run does not belong to the evaluation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The evaluation or evaluation run was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -6025,6 +6689,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ListFilesResponse' + '400': + description: The file listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The file specified by the after cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many file requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: files examples: @@ -6122,6 +6804,24 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAIFile' + '400': + description: The file upload request is invalid or exceeds a file size or storage quota limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many file requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The file could not be uploaded because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: files examples: @@ -6196,6 +6896,18 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteFileResponse' + '404': + description: The file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many file requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: files examples: @@ -6247,6 +6959,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OpenAIFile' + '404': + description: The file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many file requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: files examples: @@ -6302,6 +7026,30 @@ paths: application/json: schema: type: string + '400': + description: The file cannot be downloaded for its purpose or the account does not have permission to download it. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many file requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The file could not be downloaded because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: files examples: @@ -6348,6 +7096,18 @@ paths: application/json: schema: $ref: '#/components/schemas/RunGraderResponse' + '400': + description: The grader definition or request is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true group: graders @@ -6579,6 +7339,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ValidateGraderResponse' + '400': + description: The grader definition or request is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true group: graders @@ -6662,6 +7434,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListFineTuningCheckpointPermissionResponse' + '400': + description: The query parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -6721,6 +7505,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ListFineTuningCheckpointPermissionResponse' + '400': + description: The request is invalid or checkpoint permissions cannot be changed for the requested projects or job state. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The checkpoint or its fine-tuning job was not found, or the checkpoint cannot be shared. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -6778,6 +7580,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteFineTuningCheckpointPermissionResponse' + '400': + description: The checkpoint permission cannot be removed for the requested project or job state. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The checkpoint, permission, associated project, or fine-tuning job was not found, or the checkpoint cannot be shared. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -6816,6 +7636,18 @@ paths: application/json: schema: $ref: '#/components/schemas/FineTuningJob' + '400': + description: The request is invalid or the organization does not meet the requirements to create a fine-tuning job. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: A request or fine-tuning job limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7235,6 +8067,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListPaginatedFineTuningJobsResponse' + '400': + description: The query parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7310,6 +8154,18 @@ paths: application/json: schema: $ref: '#/components/schemas/FineTuningJob' + '404': + description: The fine-tuning job was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7393,6 +8249,24 @@ paths: application/json: schema: $ref: '#/components/schemas/FineTuningJob' + '400': + description: The fine-tuning job cannot be cancelled in its current state. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The fine-tuning job was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7466,6 +8340,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ListFineTuningJobCheckpointsResponse' + '400': + description: The query parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The fine-tuning job was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7543,6 +8435,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ListFineTuningJobEventsResponse' + '400': + description: The query parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The fine-tuning job was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7621,6 +8531,24 @@ paths: application/json: schema: $ref: '#/components/schemas/FineTuningJob' + '400': + description: The fine-tuning job cannot be paused in its current state or does not support pausing. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The fine-tuning job was not found or is not accessible, or this operation is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7681,6 +8609,24 @@ paths: application/json: schema: $ref: '#/components/schemas/FineTuningJob' + '400': + description: The fine-tuning job cannot be resumed in its current state or does not support resuming. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The fine-tuning job was not found or is not accessible, or this operation is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: A request or fine-tuning job limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: fine-tuning examples: @@ -7740,8 +8686,32 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/ImageEditStreamEvent' + '400': + description: Invalid image request, including invalid DALL-E parameters or input. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The project does not have access to the requested model. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '410': + description: The requested DALL-E image endpoint is unavailable because it has been retired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The image could not be generated or processed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -7917,8 +8887,32 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/ImageGenStreamEvent' + '400': + description: Invalid image request, including invalid DALL-E parameters or input. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The project does not have access to the requested model. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '410': + description: The requested DALL-E image endpoint is unavailable because it has been retired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The image could not be generated or processed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -8055,6 +9049,50 @@ paths: application/json: schema: $ref: '#/components/schemas/ImagesResponse' + '400': + description: Invalid image or request, or the request cannot be processed for this account. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The project does not have access to the requested model. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '410': + description: The image variations endpoint is no longer available. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The image rate limit was exceeded. + headers: + X-RateLimit-Limit-Images: + description: The image limit for the rate-limit window. + schema: + type: number + X-RateLimit-Remaining-Images: + description: The number of images remaining in the rate-limit window. + schema: + type: number + minimum: 0 + X-RateLimit-Reset-Images: + description: The number of seconds until the rate-limit window resets. + schema: + type: integer + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The image variation could not be generated or processed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: images examples: @@ -8139,6 +9177,45 @@ paths: transport: type: webrtc sdp: + '400': + description: Invalid Live session request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + '413': + description: The Live session request exceeds the supported size limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string + '429': + description: The session could not start because a rate or quota limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string + '503': + description: The session is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + text/plain: + schema: + type: string x-oaiMeta: group: live returns: Returns 201 Created with the session identifier in session.id and SDP answer in transport.sdp. @@ -8172,6 +9249,42 @@ paths: responses: '200': description: Session accept request accepted. + '400': + description: Invalid request body or headers. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The session or call can no longer accept this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The session could not start because a rate or quota limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string + '503': + description: The session is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: live-sessions returns: Returns 200 OK when the control request succeeds. @@ -8202,6 +9315,42 @@ paths: application/json: schema: $ref: '#/components/schemas/LiveCreateResponse' + '400': + description: Invalid Live session request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Invalid session ID. + content: + text/plain: + schema: + type: string + '413': + description: The Live session request exceeds the supported size limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The session could not start because a rate or quota limit was exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string + '503': + description: The session is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: live returns: The new session identifier in session.id and SDP answer in transport.sdp. @@ -8229,6 +9378,12 @@ paths: responses: '200': description: Session hangup request accepted. + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: live-sessions returns: Returns 200 OK when the control request succeeds. @@ -8255,6 +9410,24 @@ paths: responses: '200': description: Session refer request accepted. + '400': + description: Invalid request body or headers. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string x-oaiMeta: group: live-sessions returns: Returns 200 OK when the control request succeeds. @@ -8281,6 +9454,30 @@ paths: responses: '200': description: Session reject request accepted. + '400': + description: Invalid request body or headers. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The session or call can no longer accept this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string x-oaiMeta: group: live-sessions returns: Returns 200 OK when the control request succeeds. @@ -8298,6 +9495,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ListModelsResponse' + '403': + description: The API credential does not have permission to list models. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' x-oaiMeta: group: models examples: @@ -8385,6 +9588,18 @@ paths: application/json: schema: $ref: '#/components/schemas/Model' + '403': + description: The API credential does not have permission to retrieve models. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The model was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: models examples: @@ -8450,6 +9665,18 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteModelResponse' + '403': + description: Insufficient permissions to delete the model. Model deletion requires the Owner role in the organization and a credential that permits deletion. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The model was not found, is not accessible, or cannot be deleted through this endpoint. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: models examples: @@ -8504,8 +9731,26 @@ paths: application/json: schema: $ref: '#/components/schemas/CreateModerationResponse' + '400': + description: Invalid moderation input or unsupported request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: Access to the requested moderation model was denied. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The moderation request could not be processed due to an internal error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' x-oaiMeta: @@ -8770,6 +10015,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ApiKeyList' + '400': + description: The API key listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' x-oaiMeta: group: administration examples: @@ -8835,6 +10092,24 @@ paths: application/json: schema: $ref: '#/components/schemas/AdminApiKeyCreateResponse' + '400': + description: The API key creation request is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The created API key could not be found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -8887,6 +10162,18 @@ paths: application/json: schema: $ref: '#/components/schemas/AdminApiKey' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The API key was not found or is not available to this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -8949,6 +10236,18 @@ paths: - id - object - deleted + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The API key was not found or is not available to this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9066,6 +10365,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListAuditLogsResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: No audit log was found with the specified pagination cursor. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9178,6 +10489,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListCertificatesResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9232,6 +10555,18 @@ paths: application/json: schema: $ref: '#/components/schemas/Certificate' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9283,8 +10618,32 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationCertificateActivationResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The certificate update could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9350,8 +10709,32 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationCertificateDeactivationResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The certificate update could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9427,6 +10810,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Certificate' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9478,8 +10879,32 @@ paths: application/json: schema: $ref: '#/components/schemas/Certificate' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The certificate update could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9527,6 +10952,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteCertificateResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9628,6 +11071,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9681,6 +11136,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationDataRetention' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The organization was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9716,6 +11183,24 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationDataRetention' + '400': + description: The requested data retention setting or transition is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The organization was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9776,6 +11261,24 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -9823,8 +11326,38 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '422': + description: The organization has reached its maximum number of groups. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The group operation could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9867,8 +11400,32 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The group operation could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9914,8 +11471,32 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupResourceWithSuccess' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The group operation could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -9956,6 +11537,24 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupDeletedResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -10018,6 +11617,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RoleListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -10085,6 +11702,24 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupRoleAssignment' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -10150,6 +11785,24 @@ paths: application/json: schema: $ref: '#/components/schemas/AssignedRoleDetails' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -10206,6 +11859,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedRoleAssignmentResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -10271,8 +11942,32 @@ paths: application/json: schema: $ref: '#/components/schemas/UserListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '502': + description: The upstream group service returned an invalid pagination cursor. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10396,6 +12091,24 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupMemberUser' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -10515,6 +12228,30 @@ paths: application/json: schema: $ref: '#/components/schemas/InviteListResponse' + '400': + description: The invite listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The invite specified by the after cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10564,6 +12301,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Invite' + '400': + description: The invite request is invalid or the user has already joined or been invited. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10630,6 +12385,36 @@ paths: application/json: schema: $ref: '#/components/schemas/Invite' + '400': + description: The invite request is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The invite was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The invite could not be retrieved because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10751,6 +12536,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectListResponse' + '400': + description: The project listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project specified by the after cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10798,6 +12607,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Project' + '400': + description: The project creation request is invalid or contains incompatible settings. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10841,6 +12668,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Project' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10893,6 +12738,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -10953,6 +12816,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectApiKeyListResponse' + '400': + description: The listing parameters are invalid or the project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11018,6 +12905,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectApiKey' + '400': + description: The project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11084,6 +12995,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11121,6 +13050,30 @@ paths: application/json: schema: $ref: '#/components/schemas/Project' + '400': + description: The project is already archived or is the default project and cannot be archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11186,6 +13139,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListProjectCertificatesResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -11248,8 +13213,32 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationProjectCertificateActivationResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The certificate update could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11319,8 +13308,32 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationProjectCertificateDeactivationResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A certificate was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The certificate update could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11383,6 +13396,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectDataRetention' + '400': + description: The project ID is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The organization or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11425,6 +13456,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectDataRetention' + '400': + description: The requested data retention setting or transition is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The organization or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11489,6 +13538,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectGroupListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -11543,8 +13610,32 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectGroup' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The group operation could not be completed because of a server error. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11604,6 +13695,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectGroup' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -11651,6 +13760,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectGroupDeletedResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested group, user, or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -11689,6 +13816,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectHostedToolPermissions' + '400': + description: The project ID is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11744,6 +13895,36 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectHostedToolPermissions' + '400': + description: The hosted tool permission request is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The requested project setting conflicts with the organization policy. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11801,6 +13982,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectModelPermissions' + '400': + description: The project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or model permission settings were not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11847,6 +14052,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectModelPermissions' + '400': + description: The model permission request is invalid or the project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11891,6 +14120,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectModelPermissionsDeleteResponse' + '400': + description: The project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or model permission settings were not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -11949,6 +14202,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectRateLimitListResponse' + '400': + description: The rate limit listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or pagination cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12021,6 +14292,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12090,6 +14373,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12149,6 +14450,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12204,6 +14523,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectServiceAccount' + '400': + description: The project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or service account was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12255,6 +14598,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectServiceAccount' + '400': + description: The service account update is invalid or the project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or service account was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12402,6 +14769,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendAlertListResource' + '400': + description: The spend alert listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or spend alert pagination cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12460,6 +14845,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendAlert' + '400': + description: The spend alert request is invalid or conflicts with the hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12520,6 +14923,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendAlert' + '400': + description: The project ID is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or spend alert was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12576,6 +14997,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendAlert' + '400': + description: The spend alert update is invalid or conflicts with the hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or spend alert was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12635,6 +15074,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendAlertDeletedResource' + '400': + description: The project ID is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or spend alert was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12693,6 +15150,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12829,6 +15304,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectUser' + '400': + description: The project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or user was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12887,6 +15386,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -12945,6 +15462,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: A requested project, user, service account, or API key was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -13001,6 +15536,24 @@ paths: application/json: schema: $ref: '#/components/schemas/PublicRoleListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13053,6 +15606,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Role' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13107,6 +15678,18 @@ paths: application/json: schema: $ref: '#/components/schemas/Role' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13159,6 +15742,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Role' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13212,6 +15813,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RoleDeletedResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13275,6 +15894,24 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendAlertListResource' + '400': + description: The spend alert listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The spend alert specified by the after cursor was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -13326,6 +15963,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendAlert' + '400': + description: The spend alert request is invalid or conflicts with the hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' x-oaiMeta: group: administration examples: @@ -13380,6 +16029,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendAlert' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The spend alert was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -13430,6 +16091,24 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendAlert' + '400': + description: The spend alert update is invalid or conflicts with the hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The spend alert was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -13483,6 +16162,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendAlertDeletedResource' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The spend alert was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -13597,6 +16288,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13731,6 +16434,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13838,6 +16553,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -13977,6 +16704,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14126,6 +16865,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14260,6 +17011,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14421,6 +17184,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14557,6 +17332,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14664,6 +17451,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14807,6 +17606,18 @@ paths: application/json: schema: $ref: '#/components/schemas/UsageResponse' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -14882,6 +17693,24 @@ paths: application/json: schema: $ref: '#/components/schemas/UserListResponse' + '400': + description: The user listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -14930,6 +17759,24 @@ paths: application/json: schema: $ref: '#/components/schemas/User' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The user was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -14976,6 +17823,30 @@ paths: application/json: schema: $ref: '#/components/schemas/User' + '400': + description: The requested user role is invalid or the update is not permitted. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The user was not found in this organization. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -15106,6 +17977,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RoleListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15173,6 +18062,24 @@ paths: application/json: schema: $ref: '#/components/schemas/UserRoleAssignment' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15239,6 +18146,24 @@ paths: application/json: schema: $ref: '#/components/schemas/AssignedRoleDetails' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15295,6 +18220,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedRoleAssignmentResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15362,6 +18305,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RoleListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15435,6 +18396,24 @@ paths: application/json: schema: $ref: '#/components/schemas/GroupRoleAssignment' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15506,6 +18485,24 @@ paths: application/json: schema: $ref: '#/components/schemas/AssignedRoleDetails' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15568,6 +18565,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedRoleAssignmentResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15631,6 +18646,24 @@ paths: application/json: schema: $ref: '#/components/schemas/PublicRoleListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15690,6 +18723,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Role' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15750,6 +18801,18 @@ paths: application/json: schema: $ref: '#/components/schemas/Role' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15808,6 +18871,24 @@ paths: application/json: schema: $ref: '#/components/schemas/Role' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15867,6 +18948,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RoleDeletedResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -15935,6 +19034,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RoleListResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -16008,6 +19125,24 @@ paths: application/json: schema: $ref: '#/components/schemas/UserRoleAssignment' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -16080,6 +19215,24 @@ paths: application/json: schema: $ref: '#/components/schemas/AssignedRoleDetails' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -16142,6 +19295,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedRoleAssignmentResource' + '400': + description: The request parameters are invalid or the requested operation cannot be performed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The endpoint is unavailable or a requested resource was not found in this organization or project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -16260,6 +19431,24 @@ paths: responses: '200': description: Call accepted successfully. + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The session or call can no longer accept this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string x-oaiMeta: group: realtime-calls returns: |- @@ -16300,6 +19489,12 @@ paths: responses: '200': description: Call hangup initiated successfully. + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: realtime-calls returns: Returns `200 OK` when OpenAI begins terminating the realtime call. @@ -16335,6 +19530,18 @@ paths: responses: '200': description: Call referred successfully. + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string x-oaiMeta: group: realtime-calls returns: Returns `200 OK` once the REFER is handed off to your SIP provider. @@ -16374,6 +19581,24 @@ paths: responses: '200': description: Call rejected successfully. + '404': + description: The session or call was not found or is unavailable for this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The session or call can no longer accept this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: An internal error occurred. The response body is plain text. + content: + text/plain: + schema: + type: string x-oaiMeta: group: realtime-calls returns: Returns `200 OK` after OpenAI sends the SIP status code to the caller. @@ -16418,6 +19643,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RealtimeCreateClientSecretResponse' + '400': + description: Invalid session configuration or model. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The requested model was not found or is unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The requested model's availability could not be determined. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: realtime examples: @@ -16604,6 +19847,24 @@ paths: application/json: schema: $ref: '#/components/schemas/RealtimeTranslationClientSecretCreateResponse' + '400': + description: Invalid session configuration or model. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The requested model was not found or is unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The requested model's availability could not be determined. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: realtime examples: @@ -16684,6 +19945,18 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/ResponseStreamEvent' + '400': + description: Invalid response request or incompatible request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The requested model or a referenced resource was not found or is unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' '503': @@ -17926,6 +21199,12 @@ paths: application/json: schema: $ref: '#/components/schemas/Response' + '404': + description: The response was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -18030,7 +21309,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -18089,7 +21368,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -18217,6 +21496,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ResponseItemList' + '404': + description: The response or the item specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -20853,6 +24138,18 @@ paths: application/json: schema: $ref: '#/components/schemas/Upload' + '400': + description: The upload request is invalid or exceeds a file size or storage quota limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many upload requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: uploads examples: @@ -20907,6 +24204,30 @@ paths: application/json: schema: $ref: '#/components/schemas/Upload' + '400': + description: The upload is no longer pending or is already being completed and cannot be cancelled. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The upload was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '410': + description: The upload has expired. Create a new upload before adding parts or completing it. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many upload requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: uploads examples: @@ -20961,6 +24282,36 @@ paths: application/json: schema: $ref: '#/components/schemas/Upload' + '400': + description: The upload cannot be completed in its current state, the parts are invalid, or the uploaded size does not match the specified size. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The upload was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '410': + description: The upload has expired. Create a new upload before adding parts or completing it. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many upload requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The upload could not be completed. Retry the same request, preserving the part order and MD5 value. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: uploads examples: @@ -21024,6 +24375,36 @@ paths: application/json: schema: $ref: '#/components/schemas/UploadPart' + '400': + description: The upload cannot accept more parts, or the part exceeds an upload size limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The upload was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '410': + description: The upload has expired. Create a new upload before adding parts or completing it. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many upload requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The part could not be uploaded. Try the request again. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: uploads examples: @@ -21085,6 +24466,12 @@ paths: $ref: '#/components/schemas/ListVectorStoresResponse' '429': $ref: '#/components/responses/TooManyRequests' + '503': + description: The vector store list is temporarily unavailable. Retry the request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -21168,6 +24555,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreObject' + '400': + description: The vector store input, files or chunking configuration are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: A referenced input file was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21239,6 +24638,12 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreObject' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21302,6 +24707,24 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreObject' + '400': + description: The vector store input is invalid, the store has expired, or the store cannot be modified. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller is not authorized to update the vector store. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21376,6 +24799,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteVectorStoreResponse' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The vector store is temporarily unavailable for this change or was modified concurrently. + headers: + Retry-After: + description: When this change is blocked by a vector store migration, the number of seconds to wait before retrying. Other conflicts may omit this header. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21443,8 +24884,38 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileBatchObject' + '400': + description: The file batch input is invalid, the store has expired, or a file limit would be exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The vector store is temporarily unavailable for this change or was modified concurrently. + headers: + Retry-After: + description: When this change is blocked by a vector store migration, the number of seconds to wait before retrying. Other conflicts may omit this header. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The files could not be attached to the vector store. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -21564,6 +25035,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileBatchObject' + '400': + description: The file batch identifier is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store or file batch was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21639,6 +25122,30 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileBatchObject' + '400': + description: The file batch identifier is invalid or the vector store has expired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store or file batch was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The vector store is temporarily unavailable for this change or was modified concurrently. + headers: + Retry-After: + description: When this change is blocked by a vector store migration, the number of seconds to wait before retrying. Other conflicts may omit this header. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21755,6 +25262,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListVectorStoreFilesResponse' + '400': + description: The file batch identifier or file filter is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store or file batch was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21870,6 +25389,18 @@ paths: application/json: schema: $ref: '#/components/schemas/ListVectorStoreFilesResponse' + '400': + description: The requested file filter is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -21950,8 +25481,38 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileObject' + '400': + description: The file input is invalid, the store has expired, or a file limit would be exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The vector store is temporarily unavailable for this change or was modified concurrently. + headers: + Retry-After: + description: When this change is blocked by a vector store migration, the number of seconds to wait before retrying. Other conflicts may omit this header. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The file could not be attached to the vector store. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -22027,8 +25588,20 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileObject' + '404': + description: The vector store or file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The vector store file could not be retrieved. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -22095,8 +25668,38 @@ paths: application/json: schema: $ref: '#/components/schemas/DeleteVectorStoreFileResponse' + '400': + description: The vector store has expired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store or file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The vector store is temporarily unavailable for this change or was modified concurrently. + headers: + Retry-After: + description: When this change is blocked by a vector store migration, the number of seconds to wait before retrying. Other conflicts may omit this header. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The vector store file could not be deleted. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -22169,8 +25772,38 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileObject' + '400': + description: The file attributes are invalid or the vector store has expired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store or file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The vector store is temporarily unavailable for this change or was modified concurrently. + headers: + Retry-After: + description: When this change is blocked by a vector store migration, the number of seconds to wait before retrying. Other conflicts may omit this header. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The vector store file attributes could not be updated. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -22221,8 +25854,26 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreFileContentResponse' + '400': + description: The vector store has expired or the file content is not ready. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store or file was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The vector store file content could not be retrieved. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: vector_stores examples: @@ -22269,6 +25920,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VectorStoreSearchResultsPage' + '400': + description: The search input or filters are invalid, or the vector store has expired. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The vector store was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -22340,8 +26003,20 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationResource' + '400': + description: The conversation input is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The conversation update could not be finalized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: conversations path: create @@ -22439,6 +26114,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationResource' + '404': + description: The conversation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -22499,6 +26180,12 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedConversationResource' + '404': + description: The conversation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -22563,8 +26250,26 @@ paths: application/json: schema: $ref: '#/components/schemas/ConversationResource' + '400': + description: The conversation metadata is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The conversation was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The conversation update could not be finalized. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: conversations path: update @@ -22643,6 +26348,32 @@ paths: application/json: schema: $ref: '#/components/schemas/SafetyCaseResource' + '400': + description: The safety case ID is too long. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The safety case was not found or is not accessible to the caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: The safety case lookup failed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '503': + description: The safety case lookup is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: safety-cases path: retrieve @@ -22681,6 +26412,26 @@ paths: application/json: schema: $ref: '#/components/schemas/SafetyAlertResource' + '400': + description: The safety alert ID is too long. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The safety alert was not found or is not accessible to the caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '503': + description: The safety alert lookup is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: safety-alerts path: retrieve @@ -22726,6 +26477,38 @@ paths: description: The Live session recording as a stereo WAV file, with input audio in the left channel and output audio in the right channel. type: string format: binary + '400': + description: Invalid Live session ID. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The endpoint is unavailable or the stored session recording was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + description: The stored session audio could not be exported. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '503': + description: The audio export is temporarily unavailable. + headers: + Retry-After: + description: The minimum number of seconds to wait before retrying. + schema: + type: integer + minimum: 1 + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: live returns: The stored session recording as binary stereo WAV audio. @@ -22771,6 +26554,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ExternalStorageListResource' + '400': + description: The organization is not enabled for external storage or the listing parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The organization or project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -22841,6 +26642,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ExternalStorageResponse' + '400': + description: The external storage request is invalid or the organization or project does not support it. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The organization, project, or external storage was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '503': + description: External storage registration is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -22931,6 +26756,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ExternalStorageResponse' + '400': + description: The organization is not enabled for external storage. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The organization or external storage was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -22977,6 +26820,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ExternalStorageDeletedResource' + '400': + description: The organization is not enabled for external storage. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The organization or external storage was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23012,6 +26873,30 @@ paths: application/json: schema: $ref: '#/components/schemas/ExternalStorageResponse' + '400': + description: The external storage configuration is invalid or the organization or project does not support it. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The organization, project, or external storage was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '503': + description: External storage validation is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23053,6 +26938,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendLimitResource' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The organization does not have a hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23092,6 +26989,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendLimitResource' + '400': + description: The requested spend limit is invalid or cannot be applied. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' x-oaiMeta: group: administration examples: @@ -23129,6 +27038,18 @@ paths: application/json: schema: $ref: '#/components/schemas/OrganizationSpendLimitDeletedResource' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The organization does not have a hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23164,6 +27085,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendLimitResource' + '400': + description: The project ID is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found or does not have a hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23203,6 +27142,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendLimitDeletedResource' + '400': + description: The project ID is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found or does not have a hard spend limit. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23244,6 +27201,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectSpendLimitResource' + '400': + description: The requested spend limit is invalid or cannot be applied. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23302,6 +27277,36 @@ paths: application/json: schema: $ref: '#/components/schemas/ServiceAccountApiKeyBody' + '400': + description: The API key request is invalid or the project is archived. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '403': + description: The caller does not have permission to perform this operation. + content: + application/json: + schema: + $ref: '#/components/schemas/PermissionErrorResponse' + '404': + description: The project or service account was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '409': + description: The service account already has an API key and cannot create another. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: Too many management requests. Reduce the request rate and try again later. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: administration examples: @@ -23345,8 +27350,32 @@ paths: application/json: schema: $ref: '#/components/schemas/ProvenanceResource' + '400': + description: The file is missing, invalid, unsupported, too large, or rejected by safety checks. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: Content provenance checks are unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The content provenance check could not be completed. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '503': + description: Content provenance inspection is temporarily unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: content_provenance_checks /videos: @@ -23369,8 +27398,26 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoResource' + '400': + description: The video request is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: A referenced character was not found or is not accessible, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The video generation task could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' deprecated: true @@ -23495,6 +27542,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoListResource' + '400': + description: The query parameters are invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The video specified by after was not found or is not accessible, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' deprecated: true x-oaiMeta: group: videos @@ -23597,6 +27656,30 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoCharacterResource' + '400': + description: The character request or video upload is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The video character endpoint is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The character could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '504': + description: The character creation request timed out. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' deprecated: true /videos/characters/{character_id}: get: @@ -23620,6 +27703,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoCharacterResource' + '400': + description: The character ID is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The character was not found or is not accessible, or the video character endpoint is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' deprecated: true /videos/edits: post: @@ -23641,8 +27736,26 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoResource' + '400': + description: The edit request or source video is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The source video or a referenced character was not found or is not accessible, the source video is not ready, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The source video media is unavailable or the edit task could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' deprecated: true @@ -23666,8 +27779,26 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoResource' + '400': + description: The extension request or source video is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The source video was not found or is not accessible, the source video is not ready, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The source video media is unavailable or the extension task could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' deprecated: true @@ -23693,6 +27824,18 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoResource' + '400': + description: The request is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The video was not found or is not accessible, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' deprecated: true x-oaiMeta: group: videos @@ -23780,6 +27923,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedVideoResource' + '400': + description: The video is still being processed, the request is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The video was not found or is not accessible, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The video or its stored media could not be deleted. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' deprecated: true x-oaiMeta: group: videos @@ -23885,6 +28046,24 @@ paths: application/json: schema: type: string + '400': + description: The request or content variant is invalid, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The video was not found or is not ready, its download is unavailable or expired, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The requested video media is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' deprecated: true x-oaiMeta: group: videos @@ -23992,8 +28171,26 @@ paths: application/json: schema: $ref: '#/components/schemas/VideoResource' + '400': + description: The request or source video is not supported for remixing, or the organization does not support video generation. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The source video or a referenced character was not found or is not accessible, the source video is not ready, or the Videos API is unavailable. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' + '500': + description: The source generation is unavailable or the remix task could not be created. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '503': $ref: '#/components/responses/InferenceServiceUnavailable' deprecated: true @@ -24114,6 +28311,12 @@ paths: application/json: schema: $ref: '#/components/schemas/TokenCountsResource' + '400': + description: The request to count input tokens is invalid or contains incompatible parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -24229,6 +28432,12 @@ paths: application/json: schema: $ref: '#/components/schemas/CompactResource' + '400': + description: Invalid compaction request or incompatible input parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' '503': @@ -24388,8 +28597,20 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillResource' + '400': + description: The uploaded skill files or archive are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The skill could not be saved. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' get: tags: - Skills @@ -24425,6 +28646,12 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillListResource' + '404': + description: The skill specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' /skills/{skill_id}: @@ -24449,6 +28676,12 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedSkillResource' + '404': + description: The skill was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' get: @@ -24472,6 +28705,12 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillResource' + '404': + description: The skill was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' post: @@ -24500,6 +28739,18 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillResource' + '400': + description: The requested version is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The skill or requested skill version was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' /skills/{skill_id}/content: @@ -24528,6 +28779,12 @@ paths: application/json: schema: type: string + '404': + description: The skill was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' /skills/{skill_id}/versions: @@ -24560,8 +28817,26 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersionResource' + '400': + description: The uploaded skill files or archive are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The skill was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' + '500': + description: The skill version could not be saved. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' get: tags: - Skills @@ -24604,6 +28879,18 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersionListResource' + '400': + description: The version specified by `after` does not belong to this skill. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The skill or the version specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' /skills/{skill_id}/versions/{version}: @@ -24635,6 +28922,18 @@ paths: application/json: schema: $ref: '#/components/schemas/SkillVersionResource' + '400': + description: The requested version is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The skill or requested skill version was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' delete: @@ -24665,6 +28964,18 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedSkillVersionResource' + '400': + description: The requested version is invalid, or it is the default version and other versions remain. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The skill or requested skill version was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' /skills/{skill_id}/versions/{version}/content: @@ -24700,6 +29011,18 @@ paths: application/json: schema: type: string + '400': + description: The requested version is invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The skill or requested skill version was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' /chatkit/sessions/{session_id}/cancel: @@ -24725,6 +29048,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ChatSessionResource' + '400': + description: The request is invalid or the required ChatKit beta header is missing or invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The session was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chatkit beta: true @@ -24830,6 +29171,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ChatSessionResource' + '400': + description: The request is invalid or the required ChatKit beta header is missing or invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The requested workflow or workflow version was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chatkit beta: true @@ -24993,6 +29352,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ThreadItemListResource' + '400': + description: The request is invalid or the required ChatKit beta header is missing or invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The thread was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chatkit beta: true @@ -25121,6 +29498,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ThreadResource' + '400': + description: The request is invalid or the required ChatKit beta header is missing or invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The thread was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chatkit beta: true @@ -25243,6 +29638,24 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedThreadResource' + '400': + description: The request is invalid or the required ChatKit beta header is missing or invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The thread was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true examples: @@ -25359,6 +29772,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ThreadListResource' + '400': + description: The request is invalid or the required ChatKit beta header is missing or invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The thread specified by after was not found or is not accessible. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '429': + description: The request rate limit has been exceeded. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: group: chatkit beta: true @@ -25482,6 +29913,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -25576,6 +30013,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -25639,6 +30082,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -26301,6 +30750,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -26355,6 +30810,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -26414,6 +30875,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -26477,6 +30944,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -26535,6 +31008,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -27851,6 +32330,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -27918,6 +32403,12 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse-2' + '403': + description: The API key lacks the required permission. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse-2' '404': description: The requested session or event was not found. content: @@ -28638,6 +33129,18 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEndpointListResource' + '400': + description: The request parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The pagination cursor does not identify a webhook endpoint in the authenticated project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true post: @@ -28657,6 +33160,12 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEndpointWithSecretResource' + '400': + description: The webhook endpoint parameters are invalid or the endpoint cannot be created with the requested URL or event types. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true /webhook_endpoints/{webhook_endpoint_id}: @@ -28679,6 +33188,18 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEndpointBody' + '400': + description: The request parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The webhook endpoint was not found in the authenticated project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true post: @@ -28705,6 +33226,18 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEndpointBody' + '400': + description: The webhook endpoint parameters are invalid or the requested URL or event types are not permitted. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The webhook endpoint was not found in the authenticated project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true delete: @@ -28726,6 +33259,18 @@ paths: application/json: schema: $ref: '#/components/schemas/DeletedWebhookEndpointResource' + '400': + description: The request parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The webhook endpoint was not found in the authenticated project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true /webhook_endpoints/{webhook_endpoint_id}/rotate_secret: @@ -28753,6 +33298,18 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEndpointWithSecretResource' + '400': + description: The request parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The webhook endpoint was not found in the authenticated project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true /webhook_endpoints/{webhook_endpoint_id}/test: @@ -28780,6 +33337,24 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEndpointTestResultResource' + '400': + description: The request parameters are invalid. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: The webhook endpoint was not found in the authenticated project. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: The sample event could not be sent to the webhook endpoint. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true /webhook_event_types: @@ -28795,6 +33370,18 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookEventTypeListResource' + '401': + description: The request does not contain authentication credentials. + headers: + WWW-Authenticate: + description: The bearer authentication challenge returned by the service. + schema: + type: string + example: Bearer realm="OpenAI API" + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' x-oaiMeta: beta: true /responses?beta=true: @@ -28827,6 +33414,18 @@ paths: text/event-stream: schema: $ref: '#/components/schemas/BetaResponseStreamEvent' + '400': + description: Invalid response request or incompatible request parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/BetaErrorResponse' + '404': + description: The requested model or a referenced resource was not found or is unavailable to this caller. + content: + application/json: + schema: + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' '503': @@ -30096,6 +34695,12 @@ paths: application/json: schema: $ref: '#/components/schemas/BetaResponse' + '404': + description: The response was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -30213,7 +34818,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BetaError' + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -30285,7 +34890,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BetaError' + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -30393,6 +34998,12 @@ paths: application/json: schema: $ref: '#/components/schemas/BetaCompactResource' + '400': + description: Invalid compaction request or incompatible input parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/InferenceRateLimited' '503': @@ -30598,6 +35209,12 @@ paths: application/json: schema: $ref: '#/components/schemas/BetaResponseItemList' + '404': + description: The response or the item specified by `after` was not found. + content: + application/json: + schema: + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -30676,6 +35293,12 @@ paths: application/json: schema: $ref: '#/components/schemas/BetaTokenCountsResource' + '400': + description: The request to count input tokens is invalid or contains incompatible parameters. + content: + application/json: + schema: + $ref: '#/components/schemas/BetaErrorResponse' '429': $ref: '#/components/responses/TooManyRequests' x-oaiMeta: @@ -66730,6 +71353,36 @@ components: "type": "safety.warning_issued", "data": {"id": "C-abc123"} } + _MisalignmentErrorType: + anyOf: + - type: string + - type: string + enum: + - potentially_unintended_data_transfer + - potentially_unintended_data_access + - potentially_unintended_destructive_activity + - other + _MisalignmentSteer: + properties: + message: + type: string + description: The public continuation instruction. + type: object + required: + - message + MisalignmentErrorDetailsResource: + properties: + error_type: + $ref: '#/components/schemas/_MisalignmentErrorType' + description: An optional classification; clients must accept additional values. + detailed_explanation: + type: string + description: The public explanation for this block. + steer: + $ref: '#/components/schemas/_MisalignmentSteer' + description: An optional public continuation instruction. + type: object + required: [] ModerationInputType: type: string enum: @@ -70206,36 +74859,6 @@ components: - object - metadata - created_at - _MisalignmentErrorType: - anyOf: - - type: string - - type: string - enum: - - potentially_unintended_data_transfer - - potentially_unintended_data_access - - potentially_unintended_destructive_activity - - other - _MisalignmentSteer: - properties: - message: - type: string - description: The public continuation instruction. - type: object - required: - - message - MisalignmentErrorDetailsResource: - properties: - error_type: - $ref: '#/components/schemas/_MisalignmentErrorType' - description: An optional classification; clients must accept additional values. - detailed_explanation: - type: string - description: The public explanation for this block. - steer: - $ref: '#/components/schemas/_MisalignmentSteer' - description: An optional public continuation instruction. - type: object - required: [] ImageGenOutputTokensDetails: properties: image_tokens: @@ -89139,6 +93762,13 @@ components: anyOf: - type: string - $ref: '#/components/schemas/ChatModel' + BetaErrorResponse: + type: object + properties: + error: + $ref: '#/components/schemas/BetaError' + required: + - error BetaError: type: object properties: