POST /v1/tracing/spanquery

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

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
queryRows[] Array Yes

A list of span analytics queries.

queryRows[].rowId String Yes

An identifier used to reference this particular row of the query request. Within a query, row ids must have distinct values.

queryRows[].queryString String Yes

Query string using the log search syntax.

timeRange Object Yes
timeRange.type String Yes

Type of the time range. Value must be either CompleteLiteralTimeRange or BeginBoundedTimeRange.

timeZone String No

Time zone for the query time ranges. Follow the format in the IANA Time Zone Database.

Default value: "UTC"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.