---
title: "Get one approval"
method: GET
path: "/v1/approvals/{approvalId}"
tags: ["Agent"]
---

# Get one approval

`GET /v1/approvals/{approvalId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/approvals/{approvalId}`
- Auth: HTTP bearer

Returns the immutable action terms, rationale, grant, and current state only to the user who owns the requesting grant.

## Path parameters

- `approvalId` string, required

## 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
    - `id` string, required
    - `kind` 'confirmation' | 'elevation', required
    - `purposeCode` string, required
    - `rationale` string, required
    - `requestedScopes` string[], required
    - `resource` object, required
    - `quote` object, nullable, required
    - `status` 'pending' | 'approved' | 'executing' | 'completed' | 'denied' | 'expired', required
    - `grant` object, required
      - `id` string, required
      - `name` string, required
      - `baselineScopes` string[], required
      - `authorizationLevel` 'user' | 'team', required
      - `teamScope` union, required
        - object
          - `mode` 'all', required
        - object
          - `mode` 'teams', required
          - `teamIds` string[], required
        - object
          - `mode` 'none', required
    - `result` object, nullable, required
    - `transfer` object, nullable
      - `space` object, required
        - `id` string, required
        - `name` string, required
      - `from` object, nullable, required
        - `id` string, required
        - `name` string, required
      - `to` object, required
        - `id` string, required
        - `name` string, required
    - `team` object, nullable
      - `id` string, required
      - `name` string, required
    - `expiresAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `decidedAt` string, date-time, nullable, 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)
