import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const jobs = await client.ai.fineTuning.jobs.list();
console.log(jobs.data);{
"data": [
{
"id": "<string>",
"created_at": 123,
"finished_at": 123,
"hyperparameters": {
"n_epochs": 3
},
"model": "<string>",
"organization_id": "<string>",
"status": "queued",
"trained_tokens": 123,
"training_file": "<string>"
}
]
}Retrieve a list of all fine tuning jobs created by the user.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const jobs = await client.ai.fineTuning.jobs.list();
console.log(jobs.data);{
"data": [
{
"id": "<string>",
"created_at": 123,
"finished_at": 123,
"hyperparameters": {
"n_epochs": 3
},
"model": "<string>",
"organization_id": "<string>",
"status": "queued",
"trained_tokens": 123,
"training_file": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Show child attributes
The name of the fine-tuned model that is being created.
The Unix timestamp (in seconds) for when the fine-tuning job was created.
The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.
The base model that is being fine-tuned.
The organization that owns the fine-tuning job.
The current status of the fine-tuning job.
queued, running, succeeded, failed, cancelled The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.
The storage bucket or object used for training.
Was this page helpful?