Register agent
Registers a new agent build or updates an existing one. Requires account owner or admin role.
Authentication
AuthorizationBearer
OAuth 2.0 device flow or session token from WorkOS
Path parameters
account
Account name (slug)
name
Agent name
Request
This endpoint expects an object.
build_id
registry
OCI registry URL
spec_content
YAML content of astroai.yml
readme
Response
Agent registered successfully
message
account
name
build_id
validation_warnings