Skip to main content
GET
/
api
/
signals
/
sources
/
config
List user datasource configs
curl --request GET \
  --url https://app.puffle.ai/api/signals/sources/config \
  --header 'Authorization: Bearer <token>'
{
  "configs": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "source_id": "<string>",
      "enabled": true,
      "config": {},
      "last_fetched_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Overview

Return every signal_source_configs row owned by the caller — the user’s global per-source enable toggle and JSONB config. The pipeline reads this table when deciding which adapters to query; updateSignalSourceConfig cascades enabled to every matching signal_type_sources row so per-type overrides stay in sync.
This operation shares the URL path /api/signals/sources/config with other verbs. See the sibling page for related operations on the same resource.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

All user source configs. May be empty if the user hasn't yet seeded defaults (seeding happens lazily during signal type creation).

configs
object[]
required