---
title: "Get a trace search query status."
method: GET
path: "/v1/tracing/tracequery/{queryId}/status"
tags: ["traces"]
---

# Get a trace search query status.

`GET /v1/tracing/tracequery/{queryId}/status`

Get a status of a trace query with the given id. When the query has been completed, use the [Trace Query Result](#operation/getTraceQueryResult) endpoint to get the result of the asynchronous query.

## Path parameters

- `queryId` string, required

## Response `200`

Status of the given trace search query.

- TraceQueryStatusResponse
  - `queryRows` TraceQueryRowStatus[], required — A list of trace queries.
    - `rowId` string, required — A unique identifier of the query.
    - `status` string, required — Status of the query. Possible values: `Processing`, `Finished`, `Error`, `Canceled`.
    - `statusMessage` string — Descriptive message of the status
    - `count` integer, required — Number of results matching the query
  - `status` string, required — Status of the query. Possible values: `Processing`, `Finished`, `Error`, `Canceled`.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
