# Test endpoint

`GET /test`

- Live: `GET https://gdapi.globaldata.net.au/api/v2/test`
- Sandbox: `GET https://sandbox-gdapi.globaldata.net.au/api/v2/test`

Test endpoint which just returns a message indicating the API is connected and working.

## Responses

### 200 Test response

Content type: `application/json`

| Field | Type | Description |
|-------|------|-------------|
| `message` | string | A message indicating the result of the request. This will be `Ok` if the request was successful. Example: `Ok` |
| `api_reference` | string (uuid) | A unique identifier for this request. This can be used to track the request in the logs and audit trail. Example: `123e4567-e89b-12d3-a456-426614174000` |

**Sample response**

```json
{
    "message": "Ok",
    "api_reference": "123e4567-e89b-12d3-a456-426614174000"
}
```

Standard error responses: 400, 401, 402, 403, 429, 5XX (see [Common error responses](/docs/reference/general/common-error-responses.md))

