> ## 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.

# Destination

> Serves a tenant's card data through endpoints as a published API, in numbered versions (`versions`). It is live when one of its versions has a state other than `NEW`, `DELETE_STARTED` or `DELETED`, because that version's API answers reads.



**Kind**: `object`

## Implements

- `Node`

## Fields

**`compatibilityMode`**: `IndexerVersion`

Indexer version an older destination stays compatible with. Null for destinations created through this API.

---

**`createdAt`**: `DateTime!`

When the destination was created (UTC).

---

**`createdBy`**: `UUID`

Id of the user or application that created the item. Null if not recorded.

---

**`defaultLanguage`**: `String`

Default language stored on the destination itself. Each version has its own in `ApiVersion.defaultLanguage`.

---

**`description`**: `String`

Free-text note about the destination.

---

**`displayName`**: `String!`

Name of the destination.

---

**`etag`**: `Etag`

Version tag for optimistic concurrency. Pass back the value you last read when you change the item.

---

**`id`**: `ID!`

Global id of the destination. `destinationById` and the destination mutations take it. The raw id is `safeName`.

---

**`isDeleted`**: `Boolean!`

True if the item is archived. Archived items are still returned unless you filter on `isDeleted`.

---

**`languages`**: `[KeyValuePairOfStringAndString!]!`

Language mappings stored on the destination itself. Each version has its own in `ApiVersion.languages`.

---

**`lastModified`**: `DateTime!`

When the destination last changed (UTC).

---

**`lastUpdatedBy`**: `UUID`

Id of the user or application that last changed the item. Null if not recorded.

---

**`safeName`**: `String!`

Raw id of the destination (e.g. `products`), used in its API's URL. Set when the destination is created; can't change.

---

**`tags`**: `[String!]!`

Labels for grouping and filtering destinations.

---

**`tenantId`**: `UUID!`

Id of the tenant that owns the item.

---

**`versions`**: `VersionsConnection`

Versions of the destination, in every state. Filter `where: { state: { nin: [NEW, DELETE_STARTED, DELETED] } }` for the versions whose API answers reads; the destination is live when there is at least one.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `before`: `String` — Returns the elements in the list that come before the specified cursor.
- `first`: `Int` — Returns the first _n_ elements from the list.
- `last`: `Int` — Returns the last _n_ elements from the list.
- `where`: `ApiVersionFilterInput`



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