Skip to content
GitmoapAPIBeta
Schema

ListAccessTokensResponse

Shape

  • itemsarray of AccessTokenView
    • The AccessTokenView schema
    • access_token_idAccessTokenId (string · uuid)
    • created_atstring
    • namestring
    • principal_idstring
    • principal_kindTokenPrincipalKinduserservice_accountagentThe kind of principal an access token authenticates as.
    • scopesarray of string
    • expires_atstring or nulloptional
    • last_used_atstring or nulloptional
    • oauthAccessTokenOAuth or nulloptionalPresent when an app connected through sign-in minted this token. Revoking it disconnects the app.
    • resource_scope_idstring or nulloptional
    • resource_scope_typeScopeTypegrouprepositoryor nulloptional
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"access_token_id": "5bbcf61b-d790-4c8b-ad59-cb1f27b16ec9",
"created_at": "2026-10-15T02:24:32Z",
"name": "payments-api",
"principal_id": "2c8e1804-2559-4136-a3a2-b4c5bf7e2e0e",
"principal_kind": "user",
"scopes": []
}
],
"next_token": "next-token-fa49"
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.