---
title: "Trigger a new investigation"
method: POST
path: "/api/v1/investigate"
---

# Trigger a new investigation

`POST /api/v1/investigate`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/v1/investigate`
- Auth: none declared

Start a Deeptrace investigation asynchronously. Returns an ``investigation_id`` immediately — poll ``GET /api/v1/investigations/{id}`` for results.

## Request body

- InvestigateRequest: Request body for ``POST /api/v1/investigate``.
  - `query` string, required

## Response `200`

Successful Response

- InvestigateResponse: Response from ``POST /api/v1/investigate``.
  - `investigation_id` string, required
  - `status` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
