Skip to main contentModule api_token
Source - ApiToken
- Listed / detail representation of an
api_token row. Never includes the
plaintext token — that field exists only on CreateTokenResponse. - CreateTokenRequest
- CreateTokenResponse
- Returned exactly once by
POST /api/v1/tokens. The plaintext token is
the only opportunity to record it — server stores only the blake3 hash.
- ApiTokenKind
- Wire kind discriminator. PAT inherits the owner’s live permissions; API
Token carries a snapshot subset chosen at create time.