---
title: "List the authenticated user's grant ledger"
method: GET
path: "/v1/me/grants"
tags: ["Account"]
---

# List the authenticated user's grant ledger

`GET /v1/me/grants`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/me/grants`
- Auth: HTTP bearer

Returns the grants this user has authorized. Pass teamId to enforce team visibility on the server. Team-owned service automation is intentionally excluded.

## Query parameters

- `teamId` string: Enforce this team's visibility rules on the server before returning.

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `grants` object[], required
      - `id` string, required
      - `name` string, required
      - `kind` 'agent' | 'app' | 'cli' | 'handoff' | 'api-key' | 'machine', required
      - `clientName` string
      - `logoUri` string
      - `effectiveScopes` string[], required
      - `scopes` object[], required
        - `id` string, required
        - `label` string, required
        - `elevatedUntil` string, date-time
      - `teamScope` object, nullable, required
        - `teamId` string, required
        - `teamName` string, required
      - `owner` object
        - `id` string, required
        - `name` string, required
        - `email` string, email, required
      - `teamName` string
      - `lastUsedAt` string, date-time, nullable, required
      - `lastUsedLabel` string
      - `status` 'active' | 'expired' | 'revoked', required
      - `createdAt` string, date-time, required
      - `expiresAt` string, date-time, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

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