v64

OpenAPI 3.1.0raw.githubusercontent.com2026-08-01176310978.7 KB
data_sources

Get Data Source

Fetch a given data source, including its text.

get/api/v1/data_sources/{data_source_id}

Path parameters

data_source_idinteger required

Response

Successful Response

namestring required

The data source name. Must be unique within suborg. Cannot contain whitespace.

descriptionstring nullable

The description of the data source.

labelsstring[]

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.

chunkboolean 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_delimiterstring 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.)

idinteger required

The data source ID.

edit_commentsstring nullable

The comments for the most recent edit to the data source

updated_atstring date-time required

Timestamp of most recent update

last_updated_bystring nullable required

Email of the user who last updated the data source

textstring required

Information that the data source will provide to the agent accessing it.

Example response

{
  "name": "Rain",
  "description": "Information about rain.",
  "labels": [
    "Weather Info"
  ],
  "id": 1,
  "edit_comments": "Added new info",
  "last_updated_by": "user@email.com"
}