---
title: "Get status of a dataset import task"
method: GET
path: "/v1/observability/datasets/{dataset_id}/tasks/{task_id}"
tags: ["beta.observability.datasets"]
---

# Get status of a dataset import task

`GET /v1/observability/datasets/{dataset_id}/tasks/{task_id}`

Get status of a dataset import task

## Path parameters

- `dataset_id` string, uuid, required
- `task_id` string, uuid, required

## Response `200`

Successful Response

- DatasetImportTask
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable, required
  - `creator_id` string, uuid, required
  - `dataset_id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `status` 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'TERMINATED' | 'CONTINUED_AS_NEW' | 'TIMED_OUT' | 'UNKNOWN', required
  - `progress` integer, nullable
  - `message` string, nullable

## Other responses

- `400` — Bad Request - Invalid request parameters or data
- `404` — Not Found - Resource does not exist
- `408` — Request Timeout - Operation timed out
- `409` — Conflict - Resource conflict
- `422` — Unprocessable Entity - Validation error

## Changes

- **2026-08-14** `61436a496404` — 5 warning
  - added the new `OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `400`
  - added the new `OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `404`
  - added the new `OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `408`
  - added the new `OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `409`
  - …1 more

[Change history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/observability/datasets/:dataset_id/tasks/:task_id/get.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/61436a496404/schema)
