---
title: "Get operation"
method: GET
path: "/v1/operations/{operationId}"
tags: ["Operations"]
---

# Get operation

`GET /v1/operations/{operationId}`

Gets operation details for the given operation id.

## Path parameters

- `operationId` string, required

## Response `200`

Successful response

- OperationStatusResponse
  - `operationId` string, required
  - `operationType` 'TRANSACTION_EXPORT_PRIMARY_NETWORK' | 'TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING' | 'TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE' | 'TRANSACTION_EXPORT_EVM', required
  - `operationStatus` 'RUNNING' | 'COMPLETED' | 'COMPLETED_WITH_WARNING' | 'FAILED', required
  - `message` string
  - `metadata` TransactionExportMetadata
    - `code` 'ErrInvalidRequest' | 'ErrInternal' | 'WarnTruncatedExport'
    - `downloadUrl` string — File download URL. Provided only for COMPLETED and COMPLETED_WITH_WARNING operations.
    - `nextDate` string — The next date (YYYY-MM-DD) to use as the firstDate in follow up requests if a request results in a transaction history exceeding the max size and has been reported as `COMPLETED_WITH_WARNING` with the warning 'WarnTruncatedExport'.
  - `createdAtTimestamp` number, required
  - `updatedAtTimestamp` number, required

## Other responses

- `400` — Bad requests generally mean the client has passed invalid or malformed parameters. Error messages in the response could help in evaluating the error.
- `401` — When a client attempts to access resources that require authorization credentials but the client lacks proper authentication in the request, the server responds with 401.
- `403` — When a client attempts to access resources with valid credentials but doesn't have the privilege to perform that action, the server responds with 403.
- `404` — The error is mostly returned when the client requests with either mistyped URL, or the passed resource is moved or deleted, or the resource doesn't exist.
- `429` — This error is returned when the client has sent too many, and has hit the rate limit.
- `500` — The error is a generic server side error that is returned for any uncaught and unexpected issues on the server side. This should be very rare, and you may reach out to us if the problem persists for a longer duration.
- `502` — This is an internal error indicating invalid response received by the client-facing proxy or gateway from the upstream server.
- `503` — The error is returned for certain routes on a particular Subnet. This indicates an internal problem with our Subnet node, and may not necessarily mean the Subnet is down or affected.

---

[API](https://skmtc.net/avax/apis/data-api.md) · [All operations](https://skmtc.net/avax/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avax/data-api/versions/745a94fa47f5/schema)
