Create a tuning job for the specified Agent to specialize it to your specific domain or use case.

This API initiates an asynchronous tuning task using the provided training_file and an optional test_file. If no test_file is provided, the tuning job will hold out a portion of the training_file as the test set.

Returns a tune job id which can be used to check on the status of your tuning task through the GET /tune/jobs/{job_id}/metadata endpoint.

After the tuning job is complete, the metadata associated with the tune job will include evaluation results and a model ID. You can then deploy the tuned model to the agent by editing its config with the tuned model ID and the "Edit Agent" API (i.e. the PUT /agents/{agent_id} API).

Language
Credentials
Bearer
API Key
Click Try It! to start a request and see the response here!