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

# CB Insights: Cbinsights Post V2 Chatcbi

> Converse with the beta version of our AI chatbot ChatCBI. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Converse with the beta version of our AI chatbot ChatCBI.

<Info>
  Tool ID: `cbinsights_post_v2_chatcbi`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'cbinsights_post_v2_chatcbi',
  {
    "message": "Example message"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute cbinsights_post_v2_chatcbi --input '{
  "message": "Example message"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "chatID": "chat_123",
    "message": "Example message",
    "relatedContent": [
      {
        "date": "2026-01-15T12:00:00Z",
        "thumbnailUrl": "https://example.com",
        "title": "VP of Engineering"
      }
    ]
  }
}
```

Use `deepline tools get cbinsights_post_v2_chatcbi --json` for the latest machine-readable contract.

## Input reference

See [https://api-docs.cbinsights.com/portal/docs/CBI-API/ChatCBI](https://api-docs.cbinsights.com/portal/docs/CBI-API/ChatCBI) for more information and usage details. This endpoint uses generative AI and may make mistakes. Always verify pertinent information.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.chatID` | `string` | No | — | A unique id for the conversation, for use with multi-turn conversations. A chatID is returned in the initial response. |
| `payload.message` | `string` | Yes | — | The message to send. Minimum length: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "See https://api-docs.cbinsights.com/portal/docs/CBI-API/ChatCBI for more information and usage details. This endpoint uses generative AI and may make mistakes. Always verify pertinent information.",
    "properties": {
      "chatID": {
        "type": "string",
        "description": "A unique id for the conversation, for use with multi-turn conversations. A chatID is returned in the initial response."
      },
      "message": {
        "type": "string",
        "description": "The message to send.",
        "minLength": 1
      }
    },
    "required": [
      "message"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.chatID` | `string` | No | — | Identifies the conversation. If chatID was provided in the request, this will be the same. |
| `result.data.message` | `string` | No | — | ChatCBI response to the message. Example is an excerpt. |
| `result.data.relatedContent` | `array` | No | — | List of related references. |
| `result.data.relatedContent[].date` | `string` | No | — | — |
| `result.data.relatedContent[].thumbnailUrl` | `string` | No | — | — |
| `result.data.relatedContent[].title` | `string` | No | — | — |
| `result.data.relatedContent[].url` | `string` | No | — | — |
| `result.data.sources` | `array` | No | — | List of sources used to generate the response. |
| `result.data.sources[].result` | `object` | No | — | — |
| `result.data.sources[].result.date` | `string` | No | — | — |
| `result.data.sources[].result.thumbnailUrl` | `string` | No | — | — |
| `result.data.sources[].result.title` | `string` | No | — | — |
| `result.data.sources[].result.url` | `string` | No | — | — |
| `result.data.sources[].sourceIndex` | `integer` | No | — | — |
| `result.data.suggestions` | `array` | No | — | List of suggested follow-up questions. |
| `result.data.title` | `string` | No | — | Title of the chat |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "chatID": {
            "type": "string",
            "description": "Identifies the conversation. If chatID was provided in the request, this will be the same."
          },
          "message": {
            "type": "string",
            "description": "ChatCBI response to the message. Example is an excerpt."
          },
          "relatedContent": {
            "type": "array",
            "description": "List of related references.",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string"
                },
                "thumbnailUrl": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "sources": {
            "type": "array",
            "description": "List of sources used to generate the response.",
            "items": {
              "type": "object",
              "properties": {
                "result": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string"
                    },
                    "thumbnailUrl": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "sourceIndex": {
                  "type": "integer"
                }
              },
              "additionalProperties": false
            }
          },
          "suggestions": {
            "type": "array",
            "description": "List of suggested follow-up questions.",
            "items": {
              "type": "string"
            }
          },
          "title": {
            "type": "string",
            "description": "Title of the chat"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [CB Insights provider guide](/docs/providers/cbinsights/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


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