> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/api/graphql/data-access/input-types/comment-input.md).

# CommentInput

Input object for creating comments.

```graphql
input CommentInput {
  entityId: ID!
  entityType: EntityType!
  message: String!
  threadId: ID
}
```

### Fields

#### entityId ● [`ID!`](/api/graphql/data-access/scalars/id.md) non-null scalar <a href="#entity-id" id="entity-id"></a>

The ID of the entity this comment should be on.

#### entityType ● [`EntityType!`](/api/graphql/data-access/enumerations/entity-type.md) non-null enum <a href="#entity-type" id="entity-type"></a>

The type of the entity this comment should be on.

#### message ● [`String!`](/api/graphql/data-access/scalars/string.md) non-null scalar <a href="#message" id="message"></a>

The string message.

#### threadId ● [`ID`](/api/graphql/data-access/scalars/id.md) scalar <a href="#thread-id" id="thread-id"></a>

The optional parent comment ID to respond in a thread.

### Member Of

[`createComment`](/api/graphql/data-access/mutations/create-comment.md) mutation
