List your organization’s 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,
"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>",
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>"
},
"integrations": [
{
"type": "wandb",
"wandb": {
"project": "<string>",
"name": "<string>",
"entity": "<string>",
"tags": [
"<string>"
]
}
}
],
"seed": 123,
"estimated_finish": 123
}
],
"has_more": true
}Bearer token authentication. Get your API key from the dashboard.
Identifier for the last job from the previous pagination request
Number of fine-tuning jobs to retrieve
Successful response
The object type, which is always 'list'
list Array of fine-tuning job objects
Show child attributes
The object identifier
The object type, which is always 'fine_tuning.job'
fine_tuning.job The Unix timestamp (in seconds) for when the fine-tuning job was created
The name of the fine-tuned model that is being created
The Unix timestamp (in seconds) for when the fine-tuning job was finished
Show child attributes
Number of examples in each batch
auto Scaling factor for the learning rate
auto The number of epochs to train the model for
auto The base model that is being fine-tuned
The organization that owns the fine-tuning job
The compiled results file ID(s) for the fine-tuning job
The current status of the fine-tuning job
validating_files, queued, running, succeeded, failed, cancelled The total number of billable tokens processed by this fine-tuning job
The file ID used for training
The file ID used for validation
A list of integrations enabled for this fine-tuning job
Show child attributes
The type of integration
wandb Show child attributes
The name of the project that the new run will be created under
A display name to set for the run
The entity to use for the run
A list of tags to be attached to the newly created run
The seed used for the fine-tuning job
The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish
Whether there are more fine-tuning jobs available
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,
"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>",
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>"
},
"integrations": [
{
"type": "wandb",
"wandb": {
"project": "<string>",
"name": "<string>",
"entity": "<string>",
"tags": [
"<string>"
]
}
}
],
"seed": 123,
"estimated_finish": 123
}
],
"has_more": true
}