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
}
NOTE: Calling this endpoint requires an admin API key.
This enables organization owners to share fine-tuned models with other projects in their organization.
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
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the fine-tuned model checkpoint to create a permission for.
"ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd"
OK
The response is of type object
.
Was this page helpful?