# X-Ray API

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-xray-developer-guide.git)
{% endhint %}

## Tutorial

* **Note**\
  You must verify that your AWS CLI is configured to the same Region that your Scorekeep sample application was created in.

## Sending data

* **Note**\
  Windows Command Processor and Windows PowerShell have different requirements for quoting and escaping quotes in JSON strings. See [Quoting Strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#quoting-strings) in the AWS CLI User Guide for details.
* **Note**\
  See [Running the X-Ray daemon locally](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_x_ray/xray-daemon-local.md) for instructions on running the daemon.

## Configuration

* **Note**\
  X-Ray does not support asymmetric KMS keys.

## Sampling

* **Note**\
  The response from X-Ray might not include a quota the first time you call it. Continue borrowing from the reservoir until you are assigned a quota.

## Segment documents

* **Note**\
  Values must be strings (up to 250 characters) unless noted otherwise.
* **Note**\
  Values are strings up to 250 characters unless noted otherwise.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://awsnotes.dendron.so/developer-tools/aws-x-ray/topics/x-ray-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
