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

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 astropods.yml
readmestringOptional

Response

Agent registered successfully
messagestringOptional
accountstringOptional
namestringOptional
build_idstringOptional
validation_warningslist of objectsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error