---
title: "Get a data source"
method: GET
path: "/v1/data-sources/{id}"
tags: ["data-sources"]
---

# Get a data source

`GET /v1/data-sources/{id}`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/data-sources/{id}`
- Auth: HTTP bearer

Retrieve one data source, including its connector configuration, the time of its last sync, and its row schema. Secret values are redacted.

## Path parameters

- `id` string, required

## Response `200`

Success.

- object
  - `data` DataSource, required: A connected data feed. Credentials are never returned.
    - `id` string, required: Data source id.
    - `spaceId` string, required
    - `name` string, required
    - `type` string, required: Connector type (`csv`, `http-json`, `rest`, `google-sheets`, `ical`, …). See `GET /v1/connectors`.
    - `config` unknown, required
    - `cachedData` unknown, required
    - `connected` boolean, required: The last sync succeeded.
    - `lastSyncedAt` string, nullable, required: ISO-8601 timestamp (UTC).
    - `syncError` string, nullable, required: Why the last sync failed; null when it succeeded.
    - `nodeId` string, nullable, required
    - `createdAt` string, required: ISO-8601 timestamp (UTC).
    - `updatedAt` string, required: ISO-8601 timestamp (UTC).

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: The token lacks the permission this operation needs (see `x-brix-permission`).
- `404`: No such data source in this workspace.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
