Skip to main content
GET
Get a version

Authorizations

Authorization
string
header
required

An org API key (gh_live_…) from Settings → API keys in the console.

Path Parameters

agent_id
string
required

The agent’s id, e.g. billing or default.

version
integer
required
Required range: x >= 1

Response

OK

object
any
agent_id
string
Example:

"billing"

version
integer
Required range: x >= 1
Example:

3

note
string

What changed, as given when it was published, or empty.

Example:

"Order lookup"

published_at
string<date-time> | null
published_by
Person · object

Who published it. Null for an agent’s first version when it was made before versions were kept.

agent
object

The agent as of that version (version is this one, and has_draft is false).