OpenAPI::Client::OpenAI::Path::fine_tuning-checkpoints-fine_tuned_model_checkpoint-permissions(3)

NAME
OpenAPI::Client::OpenAI::Path::fine_tuning-checkpoints-fine_tuned_model_checkpoint-permissions - Documentation for the /fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions path.

DESCRIPTION
This document describes the API endpoint at "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions".

PATHS

  "GET /fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/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

•   "fine_tuned_model_checkpoint" (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 <https://github.com/openai/openai-openapi/blob/master/openapi.yaml>):

        {
           "data" : [
              "{\n  \"object\": \"checkpoint.permission\",\n  \"id\": \"cp_zc4Q7MP6XxulcVzj4MZdwsAB\",\n  \"created_at\": 1712211699,\n  \"project_id\": \"proj_abGMw1llN8IrBb6SvvY5A1iH\"\n}\n"
           ]
        }

  "POST /fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/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

•   "fine_tuned_model_checkpoint" (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 <https://github.com/openai/openai-openapi/blob/master/openapi.yaml>):

        {
           "data" : [
              "{\n  \"object\": \"checkpoint.permission\",\n  \"id\": \"cp_zc4Q7MP6XxulcVzj4MZdwsAB\",\n  \"created_at\": 1712211699,\n  \"project_id\": \"proj_abGMw1llN8IrBb6SvvY5A1iH\"\n}\n"
           ]
        }

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.