# Copy API Endpoints Data

You can copy any API Endpoint in `curl` format or `Burp` format. You can now replay the API request by running `curl` in your terminal or using `Burp repeater`. It helps to troubleshoot issues, debug problems, manage versions, and ensure that sensitive data is handled securely.

In the demonstration below, we have copied the request and response sample values of the **`api/quantity/`** endpoint which is located within the **`New Burp`** Collection.

Go to **API Discovery> API Collection**. Click on the **API Collection** and select the **API Endpoint** to copy the API Endpoint Data.

{% embed url="<https://demo.arcade.software/2rHBQrnIocOnmGC2FpHb?embed=>" %}
Copy API endpoint data
{% endembed %}

In the above demonstration, we have copied the response sample value of the **`api/quantity/`** endpoint within the **`New Burp`** Collection. This allows us to analyze the API behavior and use it for testing and validation within the Burp Suite.


---

# 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://docs.akto.io/api-inventory/how-to/copy-api-endpoints-data.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.
