API tokens
The CLI and API authenticate with API tokens, so every deploy belongs to your account.
- In the dashboard, open API Tokens → Create token and give it a name (e.g. laptop, github-actions).
- Copy it — it’s shown only once.
- Use it with
agent-platform init, or setAGENT_PLATFORM_TOKENin CI.
Tokens are stored as SHA-256 hashes. Revoke one from the same page at any time; requests using it fail immediately.
# CI exampleexport AGENT_PLATFORM_API_URL=https://<platform>/trpcexport AGENT_PLATFORM_TOKEN=${{ secrets.ABSTRACTAI_TOKEN }}agent-platform deploy --yesTo call the API directly, send Authorization: Bearer <token> — see API reference.