diff --git a/.castiron.stats.yml b/.castiron.stats.yml index 0b1e1b2ba..346bc0fbf 100644 --- a/.castiron.stats.yml +++ b/.castiron.stats.yml @@ -1,8 +1,8 @@ schema_version: 1 -generation_id: 2a40c387-110b-4115-b204-58be4c2d5a98 -openapi_spec_hash: 51a93abe82b6f71bdb437dd6a5cb1073 -openapi_transformed_spec_hash: 6e1ff6e06165d5b2e49cbfd336f00c20 +generation_id: 13836358-482e-4321-91dc-77634e51c7ef +openapi_spec_hash: 91cc2e79b522ef1d5b1d0a7c930b06b2 +openapi_transformed_spec_hash: b081b94fc815ee91ad978e592e233b83 config_hash: 84cdcc959ee7140cc9a65e9b642c097b -codegen_sha: f5e6cad2ee60eaf02a71f587046e4176356d8f35 +codegen_sha: d6fcf6e7b9cc3fe4eaf0d103283ba8e41c26f9fd codegen_hash: f3176be1e32fe783aafc70df5d9528549e706c1abba10938130775dfb0e462ab -public_codegen_sha: c228885a916d40fb2e818a60de8aad64c442a6ee +public_codegen_sha: 3158cf773a1a156f8a9d4f13722e527a89bd606b diff --git a/api_reference/openapi.transformed.yml b/api_reference/openapi.transformed.yml index 081953a77..7f6cec4af 100644 --- a/api_reference/openapi.transformed.yml +++ b/api_reference/openapi.transformed.yml @@ -6598,6 +6598,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 @@ -6829,6 +6841,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 @@ -6912,6 +6936,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: @@ -6971,6 +7007,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: @@ -7028,6 +7082,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: @@ -7066,6 +7138,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: @@ -7485,6 +7569,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: @@ -7560,6 +7656,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: @@ -7643,6 +7751,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: @@ -7716,6 +7842,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: @@ -7793,6 +7937,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: @@ -7871,6 +8033,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: @@ -7931,6 +8111,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: @@ -8548,6 +8746,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: @@ -8635,6 +8839,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: @@ -8700,6 +8916,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: