# status datasink

The `status datasink` command displays the status of a data-sink job. A data-sink job may consist of several tasks. The status is displayed per task. The tasks may be transferring data from your data source or performing aggregations on the transferred data.

## Syntax

```
status datasink <datasink name>
```

## Parameters

| Parameter         | Description               |
| ----------------- | ------------------------- |
| `<datasink name>` | The name of the data sink |

## Output Fields

| Output Field | Description                                                                                                                                                                                                                                                                  |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `status`     | <p>The status of the task, which is one of the following:<br>- STARTED: The task has just started.<br>- RUNNING: The task is running normally.<br>- STOPPED: The task was stopped by the user.<br>- COMPLETED: The task ran to completion.<br>- FAILED: The task failed.</p> |

## Example

<div align="left"><figure><img src="/files/u5BsKtZtF31mXObHhlu3" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aizen-corp.gitbook.io/docs/model-building-commands/data-sink-commands/status-datasink.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
