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

# CreateApiVersionInput

> Holds the settings of a destination's first version. Later versions copy the latest one and ignore these.



**Kind**: `input`

## Fields

**`allowedOrigins`**: `[Origin]`

Web origins allowed to call the API from a browser: `*`, or absolute URIs, not both. Default `*`.

---

**`authentication`**: `AuthenticationOption`

How callers authenticate. Default `ALLOW_ANONYMOUS`.

---

**`clusters`**: `[String!]!` (required)

Global ids of the clusters the version runs in (`Cluster.id`), `defaultClusterId` included. Empty means the default cluster only.

---

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

Global id of the cluster the version runs in by default (`Cluster.id`).

---

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

Output language used when a request names none. Must be one of the `value`s in `languages`.

---

**`description`**: `String`

Free-text note about the version.

---

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

Global id of the destination (`Destination.id`).

---

**`languages`**: `[KeyValuePairOfStringAndStringInput!]!` (required)

Languages the API serves, at least one. Each item is `{key, value}`: `key` is the source language code, `value` is the language code the API outputs.



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