Get active deployment

View as Markdown
Returns the stored deployment spec for the currently active deployment of the agent.

Authentication

AuthorizationBearer
OAuth 2.0 device flow or session token from WorkOS

Path parameters

accountstringRequired

Account name (slug)

namestringRequired
Agent name

Response

Active deployment record with spec
idstring or null
agent_namestring or null
build_idstring or null
namespacestring or null
statusstring or null
deployed_atdatetime or null
undeployed_atdatetime or null
specmap from strings to any or null

Errors