For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Sources

Returns the data source providers accessible to the authenticated client, derived from the client's allowed_data_source_ids configuration. If no sources are explicitly assigned, defaults to the Blue Heron provider.

This endpoint is scoped to your entitlements — it answers "which providers can I read?". For what each provider is, and for the full catalog of valid provider names, see Data Providers.

Response shape

Each item carries exactly two fields:

Field
Type
Notes

id

UUID

The provider id. This is the value GET /interviews filters on.

name

string

The provider's display name — Blue Heron, Paragon, Heron AI, Heron AI Events.

How a dataset is produced (human- versus AI-conducted, MDD versus BDD) is not returned here. Take it from Data Providers.

Filtering interviews by provider

The ids from this endpoint are what GET /api/v1/interviews accepts in data_source_provider_ids, as a comma-separated list. Provider names are not accepted by the REST API — only the MCP server filters by name.

# 1. Resolve the provider ids once (they are stable — cache them).
curl -s "https://api.heron-intelligence.com/api/v1/data-sources" \
  -H "x-api-key: $HERON_API_KEY"

# 2. Filter interviews with the ids you care about.
curl -s "https://api.heron-intelligence.com/api/v1/interviews?data_source_provider_ids=<ID_1>,<ID_2>" \
  -H "x-api-key: $HERON_API_KEY"

Every interview echoes its provider back in data_source_provider ({ id, name }), so results map to a name without a second lookup.

List Data Sources

Get Data Sources

get

Return the data source providers accessible to the authenticated client.

The list is derived from the client's allowed_data_source_ids field. If none are configured, defaults to the Blue Heron provider.

Header parameters
x-api-keystring · nullableOptional
Responses
200

Successful Response

application/json
idstring · uuidRequired
namestringRequired
get/api/v1/data-sources
GET /api/v1/data-sources HTTP/1.1
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text"
  }
]

Last updated