> ## 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

> Chat with an AI analyst about private companies, investors and markets, continuing a conversation by chat ID. Includes SDK V2 examples, schemas, and cost.

Chat with an AI analyst about private companies, investors and markets, continuing a conversation by chat ID.

> [!NOTE]
>
> Tool ID: `cbinsights_post_v2_chatcbi`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute cbinsights_post_v2_chatcbi --input '{
  "message": "Example message"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

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

Use `deepline describe 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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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](https://deepline.com/docs/providers/cbinsights/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


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