API ReferenceAgents
List Versions
List all versions of an agent.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*string
Header Parameters
X-API-Key?|
Response Body
application/json
application/json
curl -X GET "https://api.levainlabs.com/api/v1/agents/string/versions"[
{
"id": "string",
"agent_id": "string",
"version": 0,
"description": "string",
"status": "string",
"created_by": "string",
"git_repo": "string",
"git_ref": "string",
"parent_version": 0,
"created_at": "string",
"updated_at": "string"
}
]{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}