agents

Lists the organization's agents, newest first, one page at a time.

get/agents

Request

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

$schemastring uri

A URL to the JSON Schema for this object.

limitinteger required

The page size.

offsetinteger required

Where this page starts.

totalinteger required

How many agents match.

Example response

{
  "$schema": "/api/v1/AgentList.json",
  "agents": [
    {
      "$schema": "/api/v1/Agent.json"
    }
  ]
}

Changes