---
title: "Trigger a Bits AI investigation"
method: POST
path: "/api/v2/bits-ai/investigations"
tags: ["Bits AI"]
---

# Trigger a Bits AI investigation

`POST /api/v2/bits-ai/investigations`

Trigger a new Bits AI investigation based on a monitor alert.

## Request body

- TriggerInvestigationRequest — Request to trigger a new investigation.
  - `data` TriggerInvestigationRequestData, required — Data for the trigger investigation request.
    - `attributes` TriggerInvestigationRequestDataAttributes, required — Attributes for the trigger investigation request.
      - `trigger` TriggerAttributes, required — The trigger definition for starting an investigation.
        - `monitor_alert_trigger` MonitorAlertTriggerAttributes, required — Attributes for a monitor alert trigger.
          - `event_id` string, required — The event ID associated with the monitor alert.
          - `event_ts` integer, required — The timestamp of the event in Unix milliseconds.
          - `monitor_id` integer, required — The monitor ID that triggered the alert.
        - `type` 'monitor_alert_trigger', required — The type of trigger for the investigation.
    - `type` 'trigger_investigation_request', required — The resource type for trigger investigation requests.

## Response `200`

OK

- TriggerInvestigationResponse — Response after triggering an investigation.
  - `data` TriggerInvestigationResponseData, required — Data for the trigger investigation response.
    - `attributes` TriggerInvestigationResponseDataAttributes, required — Attributes for the trigger investigation response.
      - `investigation_id` string, required — The ID of the investigation that was created.
    - `id` string, required — Unique identifier for the trigger response.
    - `type` 'trigger_investigation_response', required — The resource type for trigger investigation responses.

## Other responses

- `400` — Bad Request
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
