微調整をキャンセルします
POST
https://api.openai.com/v1/fine_tuning/jobs/{fine_tuning_job_id}/cancel
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
fine_tuning_job_id
string
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/fine_tuning/jobs//cancel'
Responses
🟢200成功
application/json
Body
object
string
required
id
string
required
model
string
required
created_at
integer
required
fine_tuned_model
null
required
organization_id
string
required
result_files
array[string]
required
hyperparameters
object
required
n_epochs
string
required
status
string
required
validation_file
string
required
training_file
string
required
Example
{
"object": "fine_tuning.job",
"id": "ftjob-abc123",
"model": "gpt-3.5-turbo-0613",
"created_at": 1689376978,
"fine_tuned_model": null,
"organization_id": "org-123",
"result_files": [],
"hyperparameters": {
"n_epochs": "auto"
},
"status": "cancelled",
"validation_file": "file-abc123",
"training_file": "file-abc123"
}
Modified at 2024-12-17 03:32:52