POST
/
fine_tuning
/
checkpoints
/
{fine_tuned_model_checkpoint}
/
permissions
curl --request POST \
  --url https://api.openai.com/v1/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_ids": [
    "<string>"
  ]
}'
{
  "data": [
    {
      "id": "<string>",
      "created_at": 123,
      "project_id": "<string>",
      "object": "checkpoint.permission"
    }
  ],
  "object": "list",
  "first_id": "<string>",
  "last_id": "<string>",
  "has_more": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

fine_tuned_model_checkpoint
string
required

The ID of the fine-tuned model checkpoint to create a permission for.

Example:

"ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd"

Body

application/json

Response

200 - application/json

OK

The response is of type object.