---
title: "Read a test sink delivery"
method: GET
path: "/v1/test-sinks/{sinkId}/deliveries/{deliveryRecordId}"
---

# Read a test sink delivery

`GET /v1/test-sinks/{sinkId}/deliveries/{deliveryRecordId}`

## Request

- Base URL: `https://docs.greatwait.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.greatwait.dev/v1/test-sinks/{sinkId}/deliveries/{deliveryRecordId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer and API key in header `Greatwait-Environment` and API key in header `Greatwait-Project`

Reads one recorded delivery including the exact bytes that arrived, truncated at the published cap with the original length stated. This is the one place a callback body is readable, and it is narrow on purpose: a test environment only, the creating authority only, a single record rather than a listing, and never a log. The signature is included because a MAC is not secret and comparing it against a locally computed one is how a body-mutation bug is found; no signing key appears in this shape.

## Path parameters

- `sinkId` string, required
- `deliveryRecordId` string, required

## Response `200`

Read a test sink delivery

- object
  - `behavior` 'client_error' | 'defer_abandon' | 'defer_fail' | 'defer_succeed' | 'delay' | 'disconnect' | 'duplicate' | 'invalid_signature' | 'rate_limited' | 'server_error' | 'success' | 'timeout', required
  - `disposition` 'body_too_large' | 'duplicate' | 'handler_failed' | 'in_flight' | 'invalid_envelope' | 'invalid_headers' | 'invalid_signature' | 'processed' | 'replay' | 'stale_timestamp' | 'connection_dropped', required
  - `delivery` string, required
  - `id` string, required
  - `keyId` string
  - `occurrenceId` string
  - `receivedAt` string, required
  - `respondedWith` integer
  - `scheduleId` string
  - `sink` string, required
  - `body` string, required
  - `bodyTruncated` boolean, required
  - `receivedBytes` integer, required
  - `signature` string

## Other responses

- `400`: Problem document. Possible codes at this status: invalid_request.
- `401`: Problem document. Possible codes at this status: authentication_required, credential_expired, credential_revoked.
- `403`: Problem document. Possible codes at this status: scope_missing.
- `404`: Problem document. Possible codes at this status: not_found.
- `409`: Problem document. Possible codes at this status: project_archived, state_conflict.
- `429`: Problem document. Possible codes at this status: rate_limited.
- `503`: Problem document. Possible codes at this status: capability_not_configured, service_unavailable.

---

[API](https://skmtc.dev/greatwait/apis/greatwait-v1.md) · [All operations](https://skmtc.dev/greatwait/apis/greatwait-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/greatwait/apis/greatwait-v1/revisions/6855bce23e72?raw)
