---
title: "Read the caller's price alert command receipt"
method: GET
path: "/v1/price-alerts/operations/{operationId}"
tags: ["price-alerts"]
---

# Read the caller's price alert command receipt

`GET /v1/price-alerts/operations/{operationId}`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/price-alerts/operations/{operationId}`
- Auth: HTTP bearer

## Path parameters

- `operationId` string, uuid, required

## Response `200`

Successful response

- PriceAlertOperationOutput
  - `receipt` PriceAlertCommandReceipt, required: The original outcome, not current alert state. An alert can trigger after this command. Read the alert after recovery.
    - `operationId` string, uuid, required
    - `status` 'succeeded' | 'rejected', required
    - `result` PriceAlertCommandResult, required
      - `viewerId` string, uuid, required
      - `alertId` string, uuid, required
      - `alert` PriceAlert, required
        - `id` string, required
        - `symbol` string, required
        - `direction` 'above' | 'below', required
        - `target_price` number, required
        - `status` 'active' | 'triggered', required
        - `triggered_at` string, nullable, required
        - `created_at` string, required
      - `deleted` boolean, required
    - `error` object, nullable, required
      - `code` string, required
      - `message` string, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-10-25** `8d368659667e`: 1 breaking, 1 info
  - the response property `receipt/anyOf[#/components/schemas/PriceAlertCommandReceipt]/result/anyOf[#/components/schemas/PriceAlertCommandResult]/alert/anyOf[#/components/schemas/PriceAlert]/triggered_at` became nullable for the status `200`
  - response property `receipt/anyOf[#/components/schemas/PriceAlertCommandReceipt]/result/anyOf[#/components/schemas/PriceAlertCommandResult]/alert/anyOf[#/components/schemas/PriceAlert]/triggered_at` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-10-24** `47071fafc154`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/price-alerts/operations/:operationId/get.md)

---

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