v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
traces

Run a trace search query asynchronously.

Execute a trace search query and get the id to fetch its status and results. Use the Trace Query Status endpoint to check a query status. When the query has been completed, use the Trace Query Result endpoint to get the result of the asynchronous query.

post/v1/tracing/tracequery

Request body

Example request

{
  "queryRows": [
    {
      "rowId": "#A",
      "orderBy": {
        "fieldName": "start_timestamp",
        "order": "Asc"
      }
    }
  ],
  "timeRange": {
    "type": "BeginBoundedTimeRange",
    "from": {
      "type": "RelativeTimeRangeBoundary",
      "relativeTime": "-15m"
    }
  }
}

Response

Query execution result.

queryIdstring required

Id of the created query

Example response

{
  "queryId": "cafaebf2f4f8320f"
}