---
title: "get http source"
method: GET
path: "/log-sources/http/{id}"
tags: ["http source"]
---

# get http source

`GET /log-sources/http/{id}`

## Path parameters

- `id` string, required — ID of the http source to fetch

## Response `200`

OK response.

- HttpSourceAPIHTTPSource
  - `authBearerToken` string — The authentication bearer token value of the http source. Used for Bearer auth method
  - `authHeaderKey` string — The authentication header key of the http source. Used for HMAC and SharedSecret auth methods
  - `authHmacAlg` string — The authentication algorithm of the http source. Used for HMAC auth method
  - `authMethod` 'SharedSecret' | 'HMAC' | 'Bearer' | 'Basic' | 'None' — The authentication method of the http source
  - `authPassword` string — The authentication header password of the http source. Used for Basic auth method
  - `authSecretValue` string — The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods
  - `authUsername` string — The authentication header username of the http source. Used for Basic auth method
  - `integrationId` string — The id of the http source
  - `integrationLabel` string — The integration label (name)
  - `logStreamType` 'Auto' | 'JSON' | 'JsonArray' | 'Lines' | 'XML' — The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML
  - `logStreamTypeOptions` HttpSourceAPILogStreamTypeOptions
    - `jsonArrayEnvelopeField` string — Path to the array value to extract elements from, only applicable if logStreamType is JsonArray. Leave empty if the input JSON is an array itself
    - `xmlRootElement` string — The root element name for XML streams, only applicable if logStreamType is XML. Leave empty if the XML events are not enclosed in a root element
  - `logTypes` string[] — The log types of the integration

## Other responses

- `400` — bad_request: Bad Request response.
- `404` — not_found: Not Found response.
- `500` — service: Internal Server Error response.

---

[API](https://skmtc.dev/panther/apis/panther-rest-api.md) · [All operations](https://skmtc.dev/panther/apis/panther-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/panther/panther-rest-api/revisions/eb177cb9d6a1/schema)
