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

# createChatReport

> Flag a chat message for the current member: hide it (not_interesting) or
report it to moderators (spam, offensive, other). Reporting notifies the
space's moderators.



**mutation** `createChatReport(input: CreateChatReportInput!): CreateChatReportPayload`

## Arguments

**`input`**: `CreateChatReportInput!` (required)

Parameters for CreateChatReport

## Returns

`CreateChatReportPayload`

**`chatMessage`**: `Message`

---

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

## Examples

```graphql Mutation
mutation CreateChatReport($input: CreateChatReportInput!) {
  createChatReport(input: $input) {
    chatMessage {
      actorType
      artifact {
        createdAt
        description
        html
        id
        kind
        status
      }
      assets {
        aspectRatio
        assetStyle
        contentType
        fileSize
        id
        imageUrl
      }
      createdAt
      id
      lastReplyAt
    }
    clientMutationId
    errors
  }
}
```

```json Variables
{
  "input": {
    "blacklistType": "NOT_INTERESTING",
    "chatId": "id"
  }
}
```

```json Response
{
  "data": {
    "createChatReport": {
      "chatMessage": {
        "actorType": "COHOST",
        "artifact": {
          "createdAt": "value",
          "description": "string",
          "html": "string",
          "id": "id",
          "kind": "string",
          "status": "string"
        },
        "assets": [
          {
            "aspectRatio": 1.5,
            "assetStyle": "string",
            "contentType": "string",
            "fileSize": "string",
            "id": "id",
            "imageUrl": "string"
          }
        ],
        "createdAt": "value",
        "id": "id",
        "lastReplyAt": "value"
      },
      "clientMutationId": "string",
      "errors": [
        "string"
      ]
    }
  }
}
```


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