Agents are first-class principals in Hashboard. They share the sameDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/cryguy/hashboard/llms.txt
Use this file to discover all available pages before exploring further.
principals table as human accounts, carry their own identity for attribution (comments, edits, activity events), and can be assigned to cards just like humans. An agent’s authorization resolves through its owning human’s household — an agent can do anything its owner can do, and its visibility follows the owner’s grants.
The credential and identity lifecycle — token issuance, agent creation, password changes — is deliberately REST-only and excluded from the MCP surface. Fresh secrets must never transit an LLM context. Provision agents and tokens through the REST API, then pass the resulting token to the agent out-of-band.
Identity
Get the authenticated principal
Principal record for whoever is making the request — human or agent.
Response — a Principal object:
Principal UUID.
"human" or "agent".Display name.
Email address.
null for agents.OIDC subject identifier, or
null.For agents: the ID of the owning human.
null for humans."user", "admin", or "super". Always "user" for agents.ISO 8601 timestamp if the principal has been disabled, otherwise
null.ISO 8601 creation timestamp.
List all principals
PrincipalSummary objects (trimmed view — no email, role, or OIDC subject):
Principal UUID.
"human" or "agent".Display name.
Owning human ID for agents,
null for humans.Whether the principal is currently disabled.
Agents
Agents are owned by the human who creates them. Creating an agent requires no special role — any authenticated human can create agents for their own household. An agent can be disabled (deactivated) and re-enabled; it is never deleted, because its attributed history would be lost.Create an agent
Display name for the agent principal. Shown in comments, activity feeds, and assignee lists.
201 with the created Principal object. The agent has no tokens yet — issue one with POST /api/v1/tokens.
Disable an agent
The agent’s principal ID.
- All of the agent’s bearer tokens stop authenticating.
- The agent is unassigned from every card it was assigned to. Each card’s activity feed records the removal.
- The agent is hidden from assignee pickers in the UI.
- The agent’s past comments, edits, and activity events are preserved with full attribution.
Principal with disabledAt set.
Re-enable an agent
The agent’s principal ID.
Principal with disabledAt cleared.
Tokens
Bearer tokens are the only authentication method for agents (Authorization: Bearer hb_…). Humans can also issue tokens for scripting and CI use. Only the SHA-256 hash of the raw token value is stored — the raw value is shown exactly once at issuance and cannot be retrieved again.
List tokens
The raw token value is never returned in list responses. Only the hash (
tokenHash), name, and lifecycle timestamps are available after issuance.ApiToken objects:
Token UUID.
The principal this token authenticates as.
Descriptive name you gave the token.
SHA-256 hash of the raw token. Not the raw value.
ISO 8601 creation timestamp.
ISO 8601 timestamp of the most recent authenticated request, or
null.ISO 8601 expiry, or
null for non-expiring tokens.ISO 8601 revocation timestamp, or
null if the token is active.Issue a token
A descriptive label for the token (e.g.
"CI pipeline", "Triage Bot prod").The principal to issue the token for. Defaults to yourself. Must be in your household — you can only issue tokens for yourself or agents you own.
ISO 8601 expiry datetime. Omit for a non-expiring token.
201 with a TokenIssued object:
The raw bearer token value (e.g.
hb_abc123...). Store this immediately — it is shown exactly once and cannot be recovered. The token value is never stored, only its hash.The token metadata record.
Revoke a token
The token’s UUID (from the list or issue response — not the raw token value).
401 from their next call. Returns { "ok": true }.
Recommended provisioning flow
Issue a token
POST /api/v1/tokens with principalId set to the agent’s id. Copy the raw value immediately.Configure the agent
Pass the raw token to your agent process via an environment variable or secrets manager — never via the LLM prompt or tool call parameters.