List one action's immutable versions
Every definition this action has had, oldest first. Editing an action appends a version; nothing updates one. An agent version pins a version id in its config.actions, which is what makes rolling an agent back restore the tool definitions it was published with rather than whatever those tools have since been edited to.
/api/v2/actions/{ref}/versionsAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
refstringrequiredAction name or public action identifier.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Action versions returned, oldest first.
successbooleanrequiredtruedataActionVersion[]requiredShow propertiesHide properties
ActionVersionidstringrequiredPin this from an agent version's config.actions.
versionintegerrequiredMonotonic per action, starting at 1.
methodstringrequiredGETPOSTPUTPATCHDELETEurlTemplatestringrequiredheadersobjectrequiredbodyTemplateobject | nullrequiredinputSchemaobjectrequiredrequiresApprovalbooleanrequiredPart of the definition, so a rollback to this version restores its approval requirement too.
adapterActionAdapter | nullThe adapter configuration this version pins, or null for a template version.
Show propertiesHide properties
typestringrequiredstripe.refundgithub.file_updateresend.email_sendconfigobjectrequiredcredentialSecretstringrequirednullgovernedbooleanrequiredWhether this version is governed. A pin or a rollback restores it with the request.
impactActionImpact | nullrequiredThe impact this version declares, or null.
Show propertiesHide properties
dimensionstringrequiredmoney, resource_mutations, or a workspace-declared unit such as emails, messages or rows.
unitstringThe currency for money (lowercase ISO 4217, required). For every other dimension the unit is the dimension name and may be left out.
amountstringrequiredboundstringrequiredexactupper_boundnullverifyActionVerify | nullrequiredThe read-back this version declares, or null.
Show propertiesHide properties
urlstringrequiredstatusintegerrequiredThe status the read-back must answer with.
matchobject[]JSON path equality checks on the read-back body. Every one must hold.
Show propertiesHide properties
objectpathstringrequiredA dotted path into the read-back body. A numeric segment indexes an array.
equalsany | nullrequiredA string, number, boolean or null. A string may be exactly one {{input.field}} or {{response.field}}.
nullsecretsstring[]requiredSecret names this version references. Names only, never values.
currentbooleanrequiredWhether this is the action's present definition.
createdAtstring<date-time>requiredUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectNot Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
