**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.

GET /fine_tuning/checkpoints/{permission_id}/permissions

Path parameters

  • permission_id string Required

    The ID of the fine-tuned model checkpoint to get permissions for.

Query parameters

  • project_id string

    The ID of the project to get permissions for.

  • after string

    Identifier for the last permission ID from the previous pagination request.

  • limit integer

    Number of permissions to retrieve.

    Default value is 10.

  • order string

    The order in which to retrieve permissions.

    Values are ascending or descending. Default value is descending.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • data array[object] Required

      The checkpoint.permission object represents a permission for a fine-tuned model checkpoint.

      Hide data attributes Show data attributes object
      • id string Required

        The permission identifier, which can be referenced in the API endpoints.

      • created_at integer Required

        The Unix timestamp (in seconds) for when the permission was created.

      • project_id string Required

        The project identifier that the permission is for.

      • object string Required

        The object type, which is always "checkpoint.permission".

        Value is checkpoint.permission.

    • object string Required

      Value is list.

    • first_id string | null
    • last_id string | null
    • has_more boolean Required
GET /fine_tuning/checkpoints/{permission_id}/permissions
curl \
 --request GET 'https://api.openai.com/v1/fine_tuning/checkpoints/ft-AF1WoRqd3aJAHsqc9NY7iL8F/permissions' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "string",
      "created_at": 42,
      "project_id": "string",
      "object": "checkpoint.permission"
    }
  ],
  "object": "list",
  "first_id": "string",
  "last_id": "string",
  "has_more": true
}