How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Amazon X-Ray SamplingTargets API

The SamplingTargets API from Amazon X-Ray — 1 operation(s) for samplingtargets.

Amazon X-Ray SamplingTargets API is one of 32 APIs that Amazon X-Ray publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include SamplingTargets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, pricing, a getting-started guide, authentication docs, and 1 JSON Schema.

This API exposes 1 operation across 1 path, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 4 base URLs: http://xray.{region}.amazonaws.com, https://xray.{region}.amazonaws.com, http://xray.{region}.amazonaws.com.cn, https://xray.{region}.amazonaws.com.cn.

1 operations 1 paths 17 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://xray.amazonaws.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Amazon X-Ray SamplingTargets API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (hmac). By default, every request must be authenticated.

  • hmac — Amazon Signature authorization v4

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

SamplingTargets 1
POST
/SamplingTargets
Amazon X-Ray Get Sampling Targets
GetSamplingTargets 7 params body → 200480481

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are SamplingStatisticsDocument (6 properties), SamplingTargetDocument (5 properties), UnprocessedStatistics (3 properties), GetSamplingTargetsResult (3 properties). Each schema is shown below with its type and property counts.

SamplingTargetDocumentList
array
UnprocessedStatisticsList
array
RequestCount
integer
SampledCount
integer
SamplingStatisticsDocument
object
Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval…
6 properties 5 required
RuleName
string
InvalidRequestException
UnprocessedStatistics
object
Sampling statistics from a call to GetSamplingTargets that X-Ray could not process.
3 properties
GetSamplingTargetsResult
object
3 properties
SamplingTargetDocument
object
Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on t…
5 properties
ThrottledException
Timestamp
string
ClientID
string
NullableInteger
integer
String
string
Double
number
BorrowCount
integer

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

amazon-xray-samplingtargets-api-openapi.yml Raw ↑

Other APIs Amazon X-Ray publishes across the network.

Amazon X-Ray CreateGroup API
Amazon X-Ray CreateSamplingRule API
Amazon X-Ray DeleteGroup API
Amazon X-Ray DeleteResourcePolicy API
Amazon X-Ray DeleteSamplingRule API
Amazon X-Ray EncryptionConfig API
Amazon X-Ray GetGroup API
Amazon X-Ray GetSamplingRules API
Amazon X-Ray Groups API
Amazon X-Ray Insight API
Amazon X-Ray InsightEvents API
Amazon X-Ray InsightImpactGraph API
Where this information came from

This is an independent, third-party profile of Amazon X-Ray SamplingTargets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.