---
title: "The apps and agents connected to my account over OAuth (grants), newest first"
method: GET
path: "/api/me/oauth-grants"
tags: ["oauth"]
---

# The apps and agents connected to my account over OAuth (grants), newest first

`GET /api/me/oauth-grants`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/me/oauth-grants`
- Auth: none declared

## Response `200`

Grants.

- object
  - `grants` OAuthGrant[], required
    - `id` string, required
    - `clientId` string, required
    - `clientName` string
    - `principalId` string, required
    - `orgId` string, required
    - `scopes` string[], required
    - `extraScopes` string[], required
    - `resource` string, required
    - `surface` string, required
    - `createdAt` string, required
    - `lastUsedAt` string
    - `refreshExpiresAt` string, required
    - `revokedAt` string
    - `revokedReason` string
    - `active` boolean, required

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
