NAME
OpenAPI::Client::OpenAI::Path::fine_tuning-checkpoints-permission_id-permissions - Documentation for the /fine_tuning/checkpoints/{permission_id}/permissions path.
DESCRIPTION
This document describes the API endpoint at /fine_tuning/checkpoints/{permission_id}/permissions
.
PATHS
DELETE /fine_tuning/checkpoints/{permission_id}/permissions
NOTE: This endpoint requires an admin API key.
Organization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.
Operation ID
deleteFineTuningCheckpointPermission
$client->deleteFineTuningCheckpointPermission( ... );
Parameters
permission_id
(in path) (Required) - The ID of the fine-tuned model checkpoint permission to delete.Type:
string
Responses
Status Code: 200
OK
Content Types:
application/json
Example (See the OpenAI spec for more detail):
GET /fine_tuning/checkpoints/{permission_id}/permissions
NOTE: This endpoint requires an admin API key.
Organization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.
Operation ID
listFineTuningCheckpointPermissions
$client->listFineTuningCheckpointPermissions( ... );
Parameters
permission_id
(in path) (Required) - The ID of the fine-tuned model checkpoint to get permissions for.Type:
string
project_id
(in query) (Optional) - The ID of the project to get permissions for.Type:
string
after
(in query) (Optional) - Identifier for the last permission ID from the previous pagination request.Type:
string
limit
(in query) (Optional) - Number of permissions to retrieve.Type:
integer
Default:
10
order
(in query) (Optional) - The order in which to retrieve permissions.Type:
string
Allowed values:
ascending, descending
Default:
descending
Responses
Status Code: 200
OK
Content Types:
application/json
Example (See the OpenAI spec for more detail):
{ "data" : [ "{\n \"object\": \"checkpoint.permission\",\n \"id\": \"cp_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"created_at\": 1712211699,\n \"project_id\": \"proj_abGMw1llN8IrBb6SvvY5A1iH\"\n}\n" ] }
POST /fine_tuning/checkpoints/{permission_id}/permissions
NOTE: Calling this endpoint requires an admin API key.
This enables organization owners to share fine-tuned models with other projects in their organization.
Operation ID
createFineTuningCheckpointPermission
$client->createFineTuningCheckpointPermission( ... );
Parameters
permission_id
(in path) (Required) - The ID of the fine-tuned model checkpoint to create a permission for.Type:
string
Request Body
Content Type: application/json
Example:
{
"project_ids" : [
null
]
}
Responses
Status Code: 200
OK
Content Types:
application/json
Example (See the OpenAI spec for more detail):
{ "data" : [ "{\n \"object\": \"checkpoint.permission\",\n \"id\": \"cp_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"created_at\": 1712211699,\n \"project_id\": \"proj_abGMw1llN8IrBb6SvvY5A1iH\"\n}\n" ] }
SEE ALSO
COPYRIGHT AND LICENSE
Copyright (C) 2023-2025 by Nelson Ferraz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.