Skip to main content
GET
List agent revisions
Lists an agent’s revisions, newest first, without their specs. Read one with Retrieve and ?revision=N, or run one with "agent": "name:N". Returns a page envelope whose items are revision objects.

Path parameters

string
required
The agent’s name (e.g. my-research-bot or h/web-surfer-flash). Slash-containing names are supported.

Query parameters

integer
default:"1"
Page number (1-based).
integer
default:"10"
Items per page. Maximum: 1000.
string
default:"-number"
Sort order. Options: number, -number.

Response

integer
Revision number, from 1.
string
When the revision was written, ISO 8601.
string | null
UUID of the user who wrote it. null when unknown, and on h/ agents.
string | null
The message sent with the write, if any. A restore stores Restored from vN.
integer | null
The revision this one was restored from. null for ordinary writes.

Examples

Response

Errors