GET
/
agents
/
{agent_id}
/
tune
/
models
curl --request GET \
  --url https://api.contextual.ai/v1/agents/{agent_id}/tune/models \
  --header 'Authorization: Bearer <token>'
{
  "models": [
    {
      "model_id": "<string>",
      "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "state": "active",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_count": 123
}

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 from which to retrieve tuned models

Response

200
application/json
Successful Response

Response model to list registered models

models
object[]
required

List of registered models for the agent

Response model to list individual registered model

total_count
integer
required

Total number of models associated with the agent