GET
/
v1
/
agents
/
{agent_id}
/
versions
/
List agent versions.
curl --request GET \
  --url https://api.roe-ai.com/v1/agents/{agent_id}/versions/ \
  --header 'Authorization: Bearer <token>'
[
  [
    {
      "id": "456e7890-e89b-12d3-a456-426614174001",
      "version_name": "version 1",
      "description": "Initial version",
      "input_definitions": [
        {
          "key": "input_text",
          "description": "Text to process",
          "data_type": "text/plain"
        }
      ],
      "engine_config": {
        "model": "gpt-4",
        "temperature": "0.7"
      },
      "created_at": "2024-01-15T10:30:00Z",
      "readonly": false
    }
  ]
]

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

A UUID string identifying the base agent.

Response

200
application/json

Successfully retrieved list of agent versions.

The response is of type object[].