Create checkpoint permissions

POSThttps:/api.openai.com/v1/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions

NOTE: Calling this endpoint requires an .

This enables organization owners to share fine-tuned models with other projects in their organization.

Path parameters

  • fine_tuned_model_checkpoint
    string
    Required
    The ID of the fine-tuned model checkpoint to create a permission for.

Request body

  • project_ids
    array
    Required
    The project identifiers to grant access to.
    • items
      string

Response

A list of fine-tuned model checkpoint permission objects for a fine-tuned model checkpoint.

Example request
1
curl https://api.openai.com/v1/fine_tuning/checkpoints/ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd/permissions \
2
-H "Authorization: Bearer $OPENAI_API_KEY"
3
-d '{"project_ids": ["proj_abGMw1llN8IrBb6SvvY5A1iH"]}'
Example response
1
{
2
"object": "list",
3
"data": [
4
{
5
"object": "checkpoint.permission",
6
"id": "cp_zc4Q7MP6XxulcVzj4MZdwsAB",
7
"created_at": 1721764867,
8
"project_id": "proj_abGMw1llN8IrBb6SvvY5A1iH"
9
}
10
],
11
"first_id": "cp_zc4Q7MP6XxulcVzj4MZdwsAB",
12
"last_id": "cp_zc4Q7MP6XxulcVzj4MZdwsAB",
13
"has_more": false
14
}
Built with