# Check Splunk HEC health

```http
GET https://hec.{axiom-domain}/services/collector/health
```

Reports whether the HEC endpoint is accepting data. Requires no authentication and returns HEC code `17` when healthy.

<Warning>
  Use this endpoint to check whether the Splunk HTTP Event Collector (HEC) compatible API is available. No authentication is required. For more information, see [Send data with the Splunk HEC API](/send-data/splunk-hec).

  The base domain for this endpoint is `hec.` prefixed to the base domain of your edge deployment. For example, if your edge deployment’s base domain is `us-east-1.aws.edge.axiom.co`, the HEC endpoint is `https://hec.us-east-1.aws.edge.axiom.co`.

  <BaseDomains />
</Warning>

## Authentication

No authentication required.

## Responses

### 200: The collector is healthy.

Content type: `application/json`

The Splunk HEC status envelope.

- `text` (string; required): A human-readable status message.
- `code` (integer; required): The Splunk status code. `0` indicates success, `17` indicates a healthy collector, and `5`, `6`, and `7` indicate no data, invalid data format, and incorrect index respectively.