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

# CreateConversationMessageInput

> Input object in the GraphQL API.

A new user message, with the role REST requires.

| Field | Type | Required | Description |
| - | - | - | - |
| `role` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | Yes | Message role; only user is accepted. |
| `parts` | [`JSON!`](https://veryfront.com/docs/cloud/graphql/types/json) | Yes | Message parts (1 to 200). |
| `parentId` | [`ID`](https://veryfront.com/docs/cloud/graphql/types/id) | No | Parent message; defaults to the selected branch. |
| `composingUserId` | [`ID`](https://veryfront.com/docs/cloud/graphql/types/id) | No | Must equal the authenticated user when set. |
| `idempotencyKey` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | Retry key (up to 255 characters): the same key returns the same message. |
| `metadata` | [`JSON`](https://veryfront.com/docs/cloud/graphql/types/json) | No | JSON object under 64 KB. |

[All GraphQL types](https://veryfront.com/docs/cloud/graphql/schema.md) · [Operations](https://veryfront.com/docs/cloud/graphql.md)


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