Skip to main content
GET
/
agents
List Agents
curl --request GET \
  --url https://api.ag.dev/v0.1/agents \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "isPublished": true,
    "hasChanges": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-API-Key
string
header
required

Response

List of agents

id
string
required

Agent ID

name
string | null
required

Agent name

description
string | null
required

Agent description

isPublished
boolean
required

Whether the agent has a published revision

hasChanges
boolean
required

Whether the agent has unpublished changes

createdAt
string<date-time>
required

Creation timestamp

updatedAt
string<date-time>
required

Last update timestamp