OpenAPI::Client::OpenAI::Path::fine_tuning-jobs-fine_tuning_job_id-cancel(3)

NAME
OpenAPI::Client::OpenAI::Path::fine_tuning-jobs-fine_tuning_job_id-cancel - Documentation for the /fine_tuning/jobs/{fine_tuning_job_id}/cancel path.

DESCRIPTION
This document describes the API endpoint at "/fine_tuning/jobs/{fine_tuning_job_id}/cancel".

PATHS

  "POST /fine_tuning/jobs/{fine_tuning_job_id}/cancel"
Immediately cancel a fine-tune job.

Operation ID

"cancelFineTuningJob"

    $client->cancelFineTuningJob( ... );

Parameters

•   "fine_tuning_job_id" (in path) (Required) - The ID of the fine-tuning job to cancel.

    Type: "string"

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>):

        {
          "object": "fine_tuning.job",
          "id": "ftjob-abc123",
          "model": "davinci-002",
          "created_at": 1692661014,
          "finished_at": 1692661190,
          "fine_tuned_model": "ft:davinci-002:my-org:custom_suffix:7q8mpxmy",
          "organization_id": "org-123",
          "result_files": [
              "file-abc123"
          ],
          "status": "succeeded",
          "validation_file": null,
          "training_file": "file-abc123",
          "hyperparameters": {
              "n_epochs": 4,
              "batch_size": 1,
              "learning_rate_multiplier": 1.0
          },
          "trained_tokens": 5768,
          "integrations": [],
          "seed": 0,
          "estimated_finish": 0,
          "method": {
            "type": "supervised",
            "supervised": {
              "hyperparameters": {
                "n_epochs": 4,
                "batch_size": 1,
                "learning_rate_multiplier": 1.0
              }
            }
          },
          "metadata": {
            "key": "value"
          }
        }

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.