> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateDataSourceInput

> Sets up a new source.



**Kind**: `input`

## Fields

**`description`**: `String`

Free-text note about the source.

---

**`id`**: `ID!` (required)

Global id the new source gets: base64 of `DataSource:<raw id>`. The raw id has letters and digits only, starts with a lowercase letter (e.g. `products`) and can't change later.

---

**`name`**: `String!` (required)

Name of the source.

---

**`relatedDataSources`**: `[ID!]`

Global ids of sources to link to the new one.

---

**`ttl`**: `TimeSpan`

Time an entry may go without a content change before it is deleted. Whole hours, between PT24H and P36500D (100 years). Omitted or null keeps entries until requested deletion.

---

**`type`**: `DataSourceType`

Kind of source. Default `GENERIC`.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.