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

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

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

List of all HEC objects

## Path parameters

- `stack` string, required

## Query parameters

- `count` integer
- `offset` integer

## Response `200`

fetch all hec info

- object
  - `http_event_collectors` 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)
