---
title: "Read one call"
method: GET
path: "/api/v1/requests/{requestId}"
tags: ["debugging"]
---

# Read one call

`GET /api/v1/requests/{requestId}`

## Request

- Base URL: `https://api.past.dev`
- URL: `https://api.past.dev/api/v1/requests/{requestId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

One call in full, with its headers and the stored request and response bodies while the plan's payload retention keeps them. The bearer key is never stored and never returned.

## Path parameters

- `requestId` string, required

## Response `200`

The call, with its payload while retention keeps it.

- RequestDetail
  - `requestId` string, required
  - `receivedAt` string, date-time, required
  - `method` string, required
  - `path` string, required
  - `status` integer, required
  - `errorCode` string, nullable
  - `outcome` string, required: What the call did, in the console's words.
  - `durationMs` integer, required
  - `key` RequestKey
    - `name` string, required
    - `prefix` string, nullable: The key's display prefix. Never anything of the secret.
  - `identity` string, nullable
  - `ingestionId` string, uuid, nullable
  - `phase` 'queued' | 'processing' | 'captured' | 'indexed' | 'failed' | 'nothing-changed' | 'null', nullable: Where the send this call started got to.
  - `credits` number, required
  - `requestBytes` integer
  - `billedBytes` integer
  - `payloadExpired` boolean: True once the plan's payload retention has passed.
  - `payload` RequestBody
    - `headers` RequestBodyHeader[], required: The allowlisted request headers. Never Authorization.
      - `name` string, required
      - `value` string, required
    - `contentType` string, nullable
    - `request` unknown
    - `response` unknown
    - `bytes` integer, required

## Other responses

- `400`: The request is malformed or violates a field constraint. Match behavior on the response code field.
- `401`: missing-api-key: no bearer. malformed-api-key: the header or the key has the wrong shape, or an agent token was sent to a route that accepts keys only. unauthorized: the key is unknown, expired, revoked, or of the kind this route refuses, or the agent token is invalid or expired.
- `403`: project-archived: the project of the key, or the project an agent token names, is archived. Unarchive it in the console to resume. insufficient-scope: the agent token does not carry the scope of the route.
- `404`: No matching call exists in the selected project.
- `429`: The plan's requests per minute are exceeded. This refusal carries no body.
- `default`: Any other failure uses the same JSON error envelope.

---

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