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.

See the examples/ directory in the distribution for examples of how to use this.

DELETE /fine_tuning/checkpoints/{permission_id}/permissions

**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).

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

GET /fine_tuning/checkpoints/{permission_id}/permissions

**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).

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

    Possible values: ascending descending

    Default: descending

Responses

Status Code: 200

OK

Content Types:

  • application/json

    Example:

    {
       "data" : [
          null
       ]
    }

POST /fine_tuning/checkpoints/{permission_id}/permissions

**NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys).

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:

    {
       "data" : [
          null
       ]
    }

SEE ALSO

OpenAPI::Client::OpenAI::Path

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.