agents
List agents
Changed onLists the organization's agents, newest first, one page at a time.
get/agents
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Page size.
offsetinteger
Where the page starts.
searchstring
Narrow to agents whose name or id contains this, case-insensitively.
kind'' | 'instructions' | 'code'
Narrow to agents whose current revision is instructions or code. Omit for both.
created_afterstring date-time
Only agents created at or after this time (RFC 3339).
created_beforestring date-time
Only agents created at or before this time (RFC 3339).
last_run_afterstring date-time
Only agents last run at or after this time (RFC 3339).
last_run_beforestring date-time
Only agents last run at or before this time (RFC 3339).
Response
OK
Example response
{
"$schema": "/api/v1/AgentList.json",
"agents": [
{
"$schema": "/api/v1/Agent.json"
}
]
}Changes
- info
endpoint added
- info