# Getting Started

### API Key & Authentication

Authentication is done via the API key which you can find in your [account settings](https://app.spaceserp.com/settings/api). Requests are authenticated using `apiKey` query parameter.

You can see your account’s API keys, and roll them if necessary, in the [dashboard](https://app.spaceserp.com/).

<figure><img src="https://1602873078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSAeoiLyXsMVHNndYArij%2Fuploads%2FQR2tYhgCrqYFaJhQTPsi%2FScreenshot%202022-11-03%20at%2011.10.34.png?alt=media&#x26;token=dd867684-3abe-4fc4-8e98-73e1578c06ad" alt=""><figcaption><p>API Keys setting page</p></figcaption></figure>

### Status codes

Our API returns standard HTTP success or error status codes. The various HTTP status codes we might return are listed below.

| Code  |                      | Description                                                                         |
| ----- | -------------------- | ----------------------------------------------------------------------------------- |
| `200` | Ok                   | The request was successful.                                                         |
| `404` | Not found            | The resource does not exist.                                                        |
| `500` | Internal Error       | After retrying for 60 seconds, the API was unable to receive a successful response. |
| `429` | Too Many Requests    | You are sending too many requests at once, and exceeding your concurrency limit.    |
| `403` | Insufficient credits | You have used up all your API credits.                                              |


---

# 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.spaceserp.com/getting-started.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.
