API reference
Astropods REST API for agents and accounts
The Astropods API lets you list and inspect agents, register and push builds, and retrieve deployment configuration. It is used by the ast CLI and the Astropods dashboard.
Base URL
Requests go to your Astropods server, for example:
The base URL is set when you run ast login and is stored in your profile.
Authentication
- Public:
GET /agents(list public catalog) andGET /agents/:account/:name(public view of an agent) do not require authentication. - Authenticated: All other endpoints require a Bearer token. Use
ast loginto obtain and store tokens; the CLI sends them automatically.
Send the token in the header: