---
title: "GET /{stack}/adminconfig/v2/inputs/http-event-collectors/{hec}"
method: GET
path: "/{stack}/adminconfig/v2/inputs/http-event-collectors/{hec}"
---

# GET /{stack}/adminconfig/v2/inputs/http-event-collectors/{hec}

`GET /{stack}/adminconfig/v2/inputs/http-event-collectors/{hec}`

Get detailed Info about a particular HEC

## Path parameters

- `stack` string, required
- `hec` string, required

## Response `200`

Hec Object Info

- object
  - `http-event-collector` HecInfo
    - `spec` HecSpec
      - `_meta` string — additional metadata in the format <key>::<value>, delimited by space.
      - `allowedIndexes` string[]
      - `defaultHost` string
      - `defaultIndex` string
      - `defaultSource` string
      - `defaultSourcetype` string
      - `disabled` boolean
      - `name` string, required
      - `token` string
      - `useAck` boolean
    - `token` string

## Other responses

- `default` — unexpected error

---

[API](https://skmtc.net/splunk/apis/splunk-cloud-admin-api.md) · [All operations](https://skmtc.net/splunk/apis/splunk-cloud-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/splunk/splunk-cloud-admin-api/versions/31495f4d6117/schema)
