Skip to content
Dashboard
Theme
Theme

List live grants

GET /v1/oauth/grants: List live grants.

View Markdown

Connected apps and agents users authorized.

GET /v1/oauth/grants

Scope
oauth:read
Auth
Secret key (sk_…)
Since
1.0
  • after string

    max length 64

  • limit integer

    min 1 · max 100

  • user string

  • client string

  • organization string

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/oauth/grants" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "ogr_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "oauth_grant",
"client": "ocl_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"client_name": "example_client_name",
"user": "usr_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"organization": "example_organization",
"scopes": [
"organizations:read"
],
"resources": [
"example_resource"
],
"agent": true,
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true
}