Agents
Get a version
One version’s full configuration, by number or uuid.
GET
Get Version
{version_id} takes a version number — /versions/3 — as well as a uuid. Prefer the number:
it is what every version read gives back, and it needs no lookup first.
GET /v1/agents/{agent_id} returns, so a
version read and an agent read are interchangeable to your code — the difference is only which
version you get. The agent read gives you the live one (or the draft, if nothing is live); this
gives you the one you name.
Read this before you patch. The
document_revision in the response is what
PATCH wants in If-Match. Reading, editing and writing
back the same revision is what stops your change from silently overwriting someone else’s.‹redacted:5d13bb50e2f1› — a digest of the value, not the value.
Send the marker back unchanged and the stored secret is kept; retype it and you replace it.Authorizations
Path Parameters
Response
The agent as this version configures it.
One agent at one version — the response of every agent read, create and update.
A request body is this same object minus the read-only fields, so what you send is what you read back.
Get Version