---
title: "Get Niche Dive status"
method: GET
path: "/v1/niches/dives/{diveId}"
tags: ["v1"]
---

# Get Niche Dive status

`GET /v1/niches/dives/{diveId}`

Retrieves the current status of a Niche Dive analysis. Returns different response schemas based on the Dive state: in_progress (with estimated completion time), success (with nicheId and token usage), or error (with error details). Poll this endpoint to track the progress of a Dive until completion.

## Path parameters

- `diveId` string, required

## Response `200`

- union
  - NicheDiveStatusSuccessResponseDto
    - `diveId` string, required — Unique identifier of the Dive process
    - `status` 'in_progress' | 'error' | 'success', required — Current status of the Dive: in_progress (analysis ongoing), success (completed successfully), or error (failed)
    - `nicheId` string, required — Unique identifier of the created Niche. Use this to access the Niche research data via other endpoints.
    - `tokensUsed` number, required — Number of Dive tokens consumed by this Niche analysis
    - `tokensLeft` number, required — Remaining Dive tokens available for future dives
  - NicheDiveStatusInProgressResponseDto
    - `diveId` string, required — Unique identifier of the Dive process
    - `status` 'in_progress' | 'error' | 'success', required — Current status of the Dive: in_progress (analysis ongoing), success (completed successfully), or error (failed)
    - `estimatedCompletionDate` string, required — Estimated completion timestamp for the Niche Dive in ISO 8601 format
  - NicheDiveStatusErrorResponseDto
    - `diveId` string, required — Unique identifier of the Dive process
    - `status` 'in_progress' | 'error' | 'success', required — Current status of the Dive: in_progress (analysis ongoing), success (completed successfully), or error (failed)
    - `error` string, required — Error message describing what went wrong during the Dive analysis

## Other responses

- `400` — Invalid diveId
- `401` — Api key is invalid
- `403` — Unauthorized to access the resource
- `404` — Resource not found
- `429` — Rate limit exceeded, either the per-client-IP limit or the per-API-key limit for this endpoint.
- `500` — Internal error

---

[API](https://skmtc.dev/datadive/apis/data-dive-developer-apis.md) · [All operations](https://skmtc.dev/datadive/apis/data-dive-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datadive/data-dive-developer-apis/revisions/03207abc96ba/schema)
