# OpenAI API

### How to Obtain an OpenAI API Key <a href="#how-to-obtain-an-openai-api-key" id="how-to-obtain-an-openai-api-key"></a>

1. Create an [OpenAI account](https://platform.openai.com/signup) or [sign in](https://platform.openai.com/login).
2. Navigate to the [API key page](https://platform.openai.com/account/api-keys).
3. Click "Create new secret key" and optionally name the key.

{% hint style="warning" %}
Please note that free trial accounts have a request limit of only 3 requests per minute. To **increase API limits**, top up your OpenAI balance with a minimum of $5.
{% endhint %}

OpenAI uses a usage-based charging model for its API access. Monitor your account to track usage and manage costs effectively.


---

# 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://ce-docs.keywordrush.com/ai/openai-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.
