API tokens
PreviewA token's recent calls
Newest first. Every call is recorded, allowed or not; a denied call was outside what the token or its owner may do, and a limited one went over the token's rate limit.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
tokenId*stringFormat
uuidlimit?integerPage size. Defaults to 50, at most 200.
Range
1 <= value <= 200Default
50cursor?stringOpaque cursor from a previous page's nextCursor.
outcome?array<>Only calls with these outcomes.
A page of calls.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/api-tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08/calls'Example Response
{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "at": "2019-08-24T14:15:22Z", "method": "string", "route": "string", "permission": "string", "place": { "kind": "org", "id": "string", "label": "string" }, "status": 0, "outcome": "allowed", "reason": "string" } ], "nextCursor": "string"}