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",
"has_more": true,
"first_id": "<string>",
"last_id": "<string>"
}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",
"has_more": true,
"first_id": "<string>",
"last_id": "<string>"
}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"
The project identifiers to grant access to.
Was this page helpful?