get https://api.contextual.ai/v1/agents//tune/jobs//metadata
Retrieve the status of a specific tuning job. Fetches the current status and evaluation results, if available, for the specified tuning job. After the tuning job is complete, the metadata associated with the tune job will include evaluation results and a model ID. You can then activate the tuned model for your agent by editing its config with the tuned model ID and the "Edit Agent" API (i.e. the PUT /agents/{agent_id}
API). To deactivate the tuned model, you will need to edit the Agent's config again and set the llm_model_id
field to "default". For an end-to-end walkthrough, see the Tune & Evaluation Guide
.