Agent releases

Record an agent release

Records that a new version of an agent was deployed. Call it from CI after each production deploy. Sending the same commit_sha (or, without one, the same name) again returns the existing release, so retries are safe.

post/v1/agent_releases

Request

  • Base URL: https://api.rulebase.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.rulebase.co/v1/agent_releases
  • Auth: HTTP bearer

Request body

agent_idstring uuid required

The agent's ID, from Settings → Agents.

namestring required

Version label shown in Agent monitoring, e.g. v1.4.2.

released_atstring date-time

When the deploy finished. Defaults to now.

commit_shastring
notesstring

Response

A release for this commit or name already exists

Changes

No recorded changes to this operation across all 1 revision of this API.