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

# Read the caller's chat command receipt

`GET /v1/chat/operations/{operationId}`

## Request

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

## Path parameters

- `operationId` string, uuid, required

## Response `200`

Successful response

- ChatOperationOutput
  - `receipt` ChatCommandReceipt, required: The original outcome. This receipt has no realtime cursor. Refresh through the existing chat snapshot API after recovery. Serialize conflicting intents in the client.
    - `operationId` string, uuid, required
    - `status` 'succeeded' | 'rejected', required
    - `result` ChatCommandResult, required
      - `viewerId` string, uuid, required
      - `administration` object
        - `roomId` string, uuid, required
        - `name` string, nullable, required
        - `imageUrl` string, nullable, required
        - `members` object[], required
          - `userId` string, uuid, required
          - `role` 'owner' | 'admin' | 'member', required
          - `status` 'accepted' | 'pending' | 'declined', required
        - `removedUserIds` string[], required
      - `message` object, nullable, required
        - `id` string, uuid, required
        - `roomId` string, uuid, required
        - `deletedAt` string, nullable, required
        - `pinnedAt` string, nullable, required
        - `liked` boolean, required
        - `likeCount` integer, required
        - `content` string: Present only when this command edits content.
        - `reaction` object, nullable, required
          - `emoji` string, required
          - `selected` boolean, required
      - `room` object, nullable, required
        - `id` string, uuid, required
        - `muted` boolean, required
        - `pinned` boolean, required
        - `archived` boolean, required
        - `hidden` boolean, required
        - `markedUnread` 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`: 4 breaking, 4 info
  - the response property `receipt/anyOf[#/components/schemas/ChatCommandReceipt]/result/anyOf[#/components/schemas/ChatCommandResult]/administration/imageUrl` became nullable for the status `200`
  - the response property `receipt/anyOf[#/components/schemas/ChatCommandReceipt]/result/anyOf[#/components/schemas/ChatCommandResult]/administration/name` became nullable for the status `200`
  - the response property `receipt/anyOf[#/components/schemas/ChatCommandReceipt]/result/anyOf[#/components/schemas/ChatCommandResult]/message/anyOf[subschema #1]/deletedAt` became nullable for the status `200`
  - the response property `receipt/anyOf[#/components/schemas/ChatCommandReceipt]/result/anyOf[#/components/schemas/ChatCommandResult]/message/anyOf[subschema #1]/pinnedAt` became nullable for the status `200`
  - …4 more
- **2026-10-24** `47071fafc154`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/chat/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)
