# Examples

**`ApiKey` (Strongly Recommended)**

```curl
curl --request POST \
  --url https://reporting.cloud.soda.io/v1/coverage/dataset_coverage \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY-ID: 60ef2406-6492-4236-a6b8-2cb9240d803c' \
  --header 'X-API-KEY-SECRET: 918TcsFViYYEBtXlbzMeX6lT4SVm70'
```

**`HTTPBasic`** (Up for Deprecation)

```curl
curl --request POST \
  --url https://reporting.cloud.soda.io/v1/coverage/dataset_coverage \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Basic bXl1c2VybmFtZUBzb2RhLmlvOm15c2VjcmV0cGFzc3dvcmQ='
```

**`TokenAuth`** (Up for Deprecation)

```curl
curl --request POST \
  --url https://reporting.cloud.soda.io/v1/coverage/dataset_coverage \
  --header 'Content-Type: application/json' \
  --header 'SODA_TOKEN: ZAT2BM4sceKCGggHfawz_Ji5cfHKkiPjoN123yM0wCrWaxSkN4CGdg'
```


---

# 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.soda.io/soda-documentation/soda-v3/reporting-api-v1/examples.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.
