IdempotencyRecord
Server-side record for an idempotent operation and its outcome.
| Field | Type | Required | Nullable | Default | Description |
|---|---|---|---|---|---|
IdempotencyKey | str | Yes | No | Idempotency key used to de-duplicate requests and enable safe retries. | |
Operation | IdempotencyOperation | Yes | No | Operation type associated with this key. | |
Status | IdempotencyRecordStatus | Yes | No | Processing state for this operation. | |
CreatedAt | datetime | Yes | No | UTC timestamp when the record was created. | |
UpdatedAt | datetime | Yes | No | UTC timestamp when the record was last updated. | |
RequestHash | str | No | Yes | Optional hash of the original request payload (for diagnostics). | |
LiveExecPlanId | int | No | Yes | Optional live execution plan id associated with the operation (if applicable). | |
LiveOrderIds | list[int] | No | Yes | Optional live order ids created/affected by the operation (if applicable). | |
ErrorMessage | str | No | Yes | Error message for failed operations (if available). | |
JobId | str | No | Yes | Job id for asynchronous operations (if applicable). | |
JobStatus | PreparationStatus | No | Yes | Job status for asynchronous operations (if applicable). | |
JobResult | JsonElement | No | Yes | Raw job result payload for asynchronous operations (if applicable). | |
JobErrorMessage | str | No | Yes | Raw job error message for asynchronous operations (if applicable). | |
ResponseStatus | StatusCode | No | Yes | Response status code returned by the original API call (if captured). | |
ResponseMessage | str | No | Yes | Response message returned by the original API call (if captured). | |
ResponseError | MesoLiveApiError | No | Yes | Response error details returned by the original API call (if captured). | |
ResponseData | str | No | Yes | Raw response data returned by the original API call (if captured). |