Get deployment template
Generates a deployment spec template for the agent. Returns YAML by default; pass
format=json for JSON. Optionally pin to a specific build with ?build=<build_id>.
Authentication
AuthorizationBearer
OAuth 2.0 device flow or session token from WorkOS
Path parameters
account
Account name (slug)
name
Agent name
Query parameters
build
Specific build ID to use (defaults to latest)
format
Response format (json or yaml, default yaml)
Allowed values:
Response
Deployment spec template