Skip to main content
GET
/
fine_tuning
/
jobs
List fine-tuning jobs
curl --request GET \
  --url https://api.anyapi.ai/v1/fine_tuning/jobs \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "fine_tuning.job",
      "created_at": 123,
      "error": {
        "code": "<string>",
        "message": "<string>",
        "param": "<string>"
      },
      "fine_tuned_model": "<string>",
      "finished_at": 123,
      "hyperparameters": {
        "batch_size": "auto",
        "learning_rate_multiplier": "auto",
        "n_epochs": "auto"
      },
      "model": "<string>",
      "organization_id": "<string>",
      "result_files": [
        "<string>"
      ],
      "status": "validating_files",
      "trained_tokens": 123,
      "training_file": "<string>",
      "validation_file": "<string>",
      "integrations": [
        {
          "type": "wandb",
          "wandb": {
            "project": "<string>",
            "name": "<string>",
            "entity": "<string>",
            "tags": [
              "<string>"
            ]
          }
        }
      ],
      "seed": 123,
      "estimated_finish": 123
    }
  ],
  "has_more": true
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Query Parameters

after
string

Identifier for the last job from the previous pagination request

limit
integer
default:20

Number of fine-tuning jobs to retrieve

Response

Successful response

object
enum<string>
required

The object type, which is always 'list'

Available options:
list
data
object[]
required

Array of fine-tuning job objects

has_more
boolean

Whether there are more fine-tuning jobs available

I