POST/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions

Create fine-tuning checkpoint permissions

Creates permissions that let other projects in the organization access a fine-tuned model checkpoint. Supply the target project IDs in project_ids; this operation requires an admin API key.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
fine_tuned_model_checkpointstringrequired
The unique identifier of the fine-tuned model checkpoint for which to create permissions.

Permission request specifying the projects to grant access to.

project_idsarray<string>required
The project identifiers to grant access to.

4 status codes
200Returns the checkpoint permission objects for the projects granted access.
dataarray<FineTuningCheckpointPermission>required
objectstringrequired
Allowed:list
first_idstringoptional
last_idstringoptional
has_morebooleanrequired
400Returned when the request is invalid or checkpoint permissions cannot be changed for the requested projects or job state.
errorobjectrequired
404Returned when the checkpoint or its fine-tuning job is not found, or the checkpoint cannot be shared.
errorobjectrequired
429Returned when the request rate limit is exceeded.
errorobjectrequired

Error handling

A 400 is returned when the request is invalid or permissions cannot be changed for the requested projects or job state. A 404 is returned when the checkpoint or its fine-tuning job is not found, or the checkpoint cannot be shared. A 429 is returned when the request rate limit is exceeded; project_ids is required, and you must use an admin API key.