Authentication
Authenticate using a Bearer Token:Getting Tokens
Token Scopes
| Scope | Access |
|---|---|
read:agents | View agents |
write:agents | Create/update agents |
read:tasks | View tasks |
write:tasks | Create/update tasks |
admin | Full access |
Request Headers
The SDK sets headers automatically:Token Refresh
Security Best Practices
Never commit tokens
Never commit tokens
Use environment variables, not hardcoded values.
Use minimal scopes
Use minimal scopes
Request only the permissions you need.
Rotate regularly
Rotate regularly
Replace tokens periodically, especially for production.