# Kontent.ai

Kontent.ai is a headless CMS that delivers content via API, allowing developers to build websites and applications using their preferred frameworks, languages, or libraries.

- **Category:** documents
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 7
- **Triggers:** 0
- **Slug:** `KONTENT_AI`
- **Version:** 20260227_00

## Tools

### Get Content Item

**Slug:** `KONTENT_AI_GET_CONTENT_ITEM`

Tool to retrieve a specific content item by its identifier. Use after confirming the environment ID and item identifier.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |
| `item_identifier` | string | Yes | Identifier of the content item. Use internal ID, or prefix with 'external-id/' or 'codename/' for external IDs or codenames respectively. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Language

**Slug:** `KONTENT_AI_GET_LANGUAGE`

Tool to retrieve a specific language by its ID. Supports Management API directly and Delivery API via normalization.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |
| `language_identifier` | string | Yes | Identifier of the language. Use internal ID (UUID), or prefix with 'external-id/' for external ID, or 'codename/' for language codename. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Language Variant

**Slug:** `KONTENT_AI_GET_LANGUAGE_VARIANT`

Tool to retrieve a specific language variant of a content item. Use after confirming the item and language identifiers when needing localized content.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |
| `language_identifier` | string | Yes | Identifier of the language variant. Use internal ID, or prefix with 'codename/' for codename of the language. |
| `content_item_identifier` | string | Yes | Identifier of the content item. Use internal ID, or prefix with 'external-id/' or 'codename/' for external IDs or codenames respectively. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Content Type Element

**Slug:** `KONTENT_AI_GET_TYPES_ELEMENT`

Tool to retrieve a specific element from a content type by codename. Use when you need to get details about an element's configuration within a content type.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type_codename` | string | Yes | Codename of the content type containing the element. |
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |
| `element_codename` | string | Yes | Codename of the element within the content type. |
| `wait_for_loading_new_content` | boolean | No | Optional flag to determine whether the API waits while fetching latest content. Set to true to wait for new content to be loaded. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Content Items

**Slug:** `KONTENT_AI_LIST_CONTENT_ITEMS`

Tool to list content items from the Delivery API. Use when fetching content items for a specified environment, optionally providing a continuation token for pagination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |
| `continuation_token` | string | No | Continuation token to fetch the next page of results |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Content Types

**Slug:** `KONTENT_AI_LIST_CONTENT_TYPES`

Tool to list content types within a Kontent.ai environment. Use when you need to retrieve a paginated list of content type definitions. Use after confirming the environment ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `continuation` | string | No | Continuation token from a previous response to fetch the next page. |
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Languages

**Slug:** `KONTENT_AI_LIST_LANGUAGES`

Tool to list languages in a Kontent.ai project. Use when you need to retrieve all languages for a specified environment after confirming the project ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `skip` | integer | No | Number of items to skip for pagination |
| `limit` | integer | No | Maximum number of items to return |
| `order` | string | No | Specifies the ordering of languages, e.g., codename[asc] |
| `environment_id` | string | No | Optional environment/project ID. Defaults to the connected environment. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
