Amazon X-Ray · Schema

ListRetrievedTracesResult

Application PerformanceAmazon Web ServicesDebuggingDeveloper ToolsDistributed TracingMonitoringObservability

Properties

Name Type Description
RetrievalStatus string Status of the retrieval.
TraceFormat string Format of the requested traces.
Traces array Full traces for the specified requests.
NextToken string Specify the pagination token returned by a previous request to retrieve the next page of indexes.
View JSON Schema on GitHub

JSON Schema

amazon-xray-list-retrieved-traces-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-list-retrieved-traces-result-schema.json",
  "title": "ListRetrievedTracesResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-operations-api-openapi.yml#/components/schemas/ListRetrievedTracesResult",
  "type": "object",
  "properties": {
    "RetrievalStatus": {
      "type": "string",
      "enum": [
        "SCHEDULED",
        "RUNNING",
        "COMPLETE",
        "FAILED",
        "CANCELLED",
        "TIMEOUT"
      ],
      "description": "Status of the retrieval."
    },
    "TraceFormat": {
      "type": "string",
      "enum": [
        "XRAY",
        "OTEL"
      ],
      "description": "Format of the requested traces."
    },
    "Traces": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RetrievedTrace"
      },
      "description": "Full traces for the specified requests."
    },
    "NextToken": {
      "type": "string",
      "description": "Specify the pagination token returned by a previous request to retrieve the next page of indexes."
    }
  },
  "$defs": {
    "RetrievedTrace": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The unique identifier for the span."
        },
        "Duration": {
          "type": "number",
          "description": "The length of time in seconds between the start time of the root span and the end time of the last span that completed."
        },
        "Spans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Span"
          },
          "description": "Spans that comprise the trace."
        }
      }
    },
    "Span": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The span ID."
        },
        "Document": {
          "type": "string",
          "description": "The span document."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-xray-list-retrieved-traces-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.