Register agent

View as Markdown
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

accountstringRequired

Account name (slug)

namestringRequired
Agent name

Request

This endpoint expects an object.
build_idstringRequired
registrystringRequired
OCI registry URL
spec_contentstringRequired
YAML content of astroai.yml
readmestringOptional

Response

Agent registered successfully
messagestring or null
accountstring or null
namestring or null
build_idstring or null
validation_warningslist of objects or null

Errors