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 platform session token

Path parameters

accountstringRequired

Account name (slug)

namestringRequired
Agent name

Response

Active deployment record with spec
idstringOptional
agent_namestringOptional
build_idstringOptional
namespacestringOptional
statusstringOptional
deployed_atdatetimeOptional
undeployed_atdatetime or nullOptional
specmap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error