> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scorton.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify API Key

Verify an API key for a registered user.\
Requires a generated API key to verify.

## Header

<ParamField header="x-api-key" type="string" required="true">
  Generated API key obtained from the `/generated-key` endpoint
</ParamField>

## Example Request

```bash theme={null}
curl -X 'GET' \
  'https://radar.scorton.tech/verify-key' \
  -H 'accept: application/json' \
  -H 'x-api-key: example_key'
```

## Example Response

```json theme={null}
{
  "status": "success",
  "message": "API Key valide",
  "data": {
    "api_key": "example_key",
    "api_key_id": 0,
    "client_id": 0,
    "level": "free"
  }
}
```

## Success Response

| Status  | Description |
| ------- | ----------- |
| **200** | Returns     |

## Error Responses

| Status  | Description     | Example                                    |
| ------- | --------------- | ------------------------------------------ |
| **401** | Invalid API key | `json {  "detail": "Clé API invalide"  } ` |
