---
title: "List queryable sources"
method: GET
path: "/api/v1/query/sources"
tags: ["query"]
---

# List queryable sources

`GET /api/v1/query/sources`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `Authorization`

Pages through the sources that answer data queries, in name order. Use a source's name as the "source" of a query.

## Query parameters

- `q` string
- `limit` integer
- `offset` integer

## Response `200`

OK

- QueryListSourcesResponse
  - `sources` QuerySource[]
    - `id` string
    - `ingest_on_query` boolean
    - `last_queried_at` string
    - `name` string
    - `plugin_id` string
    - `queries_last_week` integer
    - `served` boolean: Served is set when a plugin running outside Marmot answers this source's queries; Marmot then holds no usable config for it.
    - `table_count` integer: Activity, filled in when sources are listed.
  - `total` integer

## Changes

> 65 revisions in range; 1 not diffed.

- **2026-10-22** `b5eb291dd2fe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/api/v1/query/sources/get.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) - [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/marmotdata/apis/marmot-api/revisions/18c57b576cb6?raw)
