---
title: "Get Data Source"
method: GET
path: "/api/v1/data_sources/{data_source_id}"
tags: ["data_sources"]
---

# Get Data Source

`GET /api/v1/data_sources/{data_source_id}`

Fetch a given data source, including its text.

## Path parameters

- `data_source_id` integer, required

## Response `200`

Successful Response

- DataSourceDetailResponse — Metadata about a data source, along with the text. A data source is a blob of text that can be made available to an agent's general info tools to provide more context to the agent when generating its responses. For more information, see [Console docs](https://docs.syllable.ai/Resources/DataSources).
  - `name` string, required — The data source name. Must be unique within suborg. Cannot contain whitespace.
  - `description` string, nullable — The description of the data source.
  - `labels` string[] — Searchable labels for the data source. Can be included in agent.prompt_tool_defaults for a given tool to give the agent access to data sources with those labels when calling that tool.
  - `chunk` boolean, required — Whether the content should be split into smaller chunks. (This feature is coming in the future - currently this value will always be treated as False.)
  - `chunk_delimiter` string, nullable — String that should be treated as delimiter between intended chunks. (This feature is coming in the future - currently this value will always be treated as None.)
  - `id` integer, required — The data source ID.
  - `edit_comments` string, nullable — The comments for the most recent edit to the data source
  - `updated_at` string, date-time, required — Timestamp of most recent update
  - `last_updated_by` string, nullable, required — Email of the user who last updated the data source
  - `text` string, required — Information that the data source will provide to the agent accessing it.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/asksyllable/apis/syllablesdk.md) · [All operations](https://skmtc.net/asksyllable/apis/syllablesdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/asksyllable/syllablesdk/versions/ac3228f980bb/schema)
