GET
/
agents
/
{agent_id}
/
tune
/
jobs
/
{job_id}
/
metadata
curl --request GET \
  --url https://api.contextual.ai/v1/agents/{agent_id}/tune/jobs/{job_id}/metadata \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "job_status": "<string>",
  "model_id": "<string>",
  "evaluation_metadata": [
    "<any>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

ID of the Agent associated with the tuning job

job_id
string
required

ID of the tuning job to retrieve the status for

Response

200
application/json
Successful Response

Response to GET /applications/{application_id}/tune/jobs/{job_id}

id
string
required

ID of the tune job

job_status
string
required

Status of the tune job

model_id
string

ID of the tuned model. Omitted if the tuning job failed or is still in progress.

evaluation_metadata
any[]

Metadata about the model evaluation, including status and results if completed.