List Fine-tuning Jobs

Supported Providers
  • OpenAI

List your organization's fine-tuning jobs

get
Authorizations
Query parameters
afterstringOptional

Identifier for the last job from the previous pagination request.

limitintegerOptional

Number of fine-tuning jobs to retrieve.

Default: 20
Responses
200
OK
application/json
get
curl https://api.portkey.ai/v1/fine_tuning/jobs?limit=2 \
  -H "x-portkey-api-key: $PORTKEY_API_KEY" \
  -H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY"
200

OK

{
  "data": [
    {
      "id": "text",
      "created_at": 1,
      "error": {
        "code": "text",
        "message": "text",
        "param": "text"
      },
      "fine_tuned_model": "text",
      "finished_at": 1,
      "hyperparameters": {
        "n_epochs": "auto"
      },
      "model": "text",
      "object": "fine_tuning.job",
      "organization_id": "text",
      "result_files": [
        "file-abc123"
      ],
      "status": "validating_files",
      "trained_tokens": 1,
      "training_file": "text",
      "validation_file": "text",
      "integrations": [
        {
          "type": "wandb",
          "wandb": {
            "project": "my-wandb-project",
            "name": "text",
            "entity": "text",
            "tags": [
              "custom-tag"
            ]
          }
        }
      ],
      "seed": 1,
      "estimated_finish": 1
    }
  ],
  "has_more": true,
  "object": "list"
}

Last updated

Was this helpful?