Dashboard
Developers → Agents → [agent name] → Issue credential
After issuing, the plaintext bearer token is displayed once. Copy it immediately — HASP stores only the SHA-256 hash and cannot recover the plaintext.
API
Body
Fields
Response
token field is returned only in this response. It is not stored and cannot be retrieved later.
Errors
Using the credential
Pass the bearer token in theAuthorization header on every API call:
Token format
The test-mode token is issued when your developer console is in test mode (toggleable in the developer dashboard). Test credentials do not authorize real tool invocations and are excluded from metered Agent Actions billing.
Listing credentials
token field is never returned in list or detail responses — only in the issuance response.
Query parameters
Retrieving a credential
Revoking a credential
Body (optional)
revocation_policy governs in-flight work (drain vs. kill). All delegation descendants are revoked simultaneously with kill policy regardless of their own configured policy.