# Authentication

### How to generate my API Key?

From Setting page > API Key section, click "Generate API Key" and name your key. The key will be automatically generated.

{% hint style="danger" %}
Copy your API key and store it in a secured place. You'll not be able to see it again then, to avoid any security issue.
{% endhint %}

<figure><img src="/files/enMxNyY97hYMnRKYzF9t" alt=""><figcaption></figcaption></figure>

Then, use your API key as in the following request to authenticate:

{% tabs %}
{% tab title="cURL" %}

```json
curl --request GET \
--url https://api.cloud.sesterce.com/gpu-cloud/instances/offers \
--header 'X-API-KEY: <your-api-key-secret>'
```

{% endtab %}
{% endtabs %}


---

# 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.sesterce.com/api-reference/authentication.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.
