# Task Status

| Task Status                      | Mode                          | Status Explanation                                                                                                   |
| -------------------------------- | ----------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Completed (On-demand)            | Development, Deployment       | Task completed successfully with no errors.                                                                          |
| Completed (Spot)                 | Spot                          | Spot task completed successfully with no errors.                                                                     |
| Completed (Failed)               | Development, Deployment       | Task execution failed.                                                                                               |
| Completed (Timeout)              | Development                   | Task did not complete within the allowed time limit (60 seconds).                                                    |
| Incomplete (Cancel)              | Development, Deployment       | Task was canceled by the user before execution (using command `float16 queue delete`).                               |
| Timeout                          | Deployment                    | Task did not respond within 120 seconds.                                                                             |
| Running                          | Development, Deployment, Spot | Task is currently running.                                                                                           |
| Pending                          | Development, Deployment, Spot | Task is in the queue, waiting to be processed.                                                                       |
| Waiting for resource             | Spot                          | Task was interrupted due to insufficient resources and is waiting for resources to become available before resuming. |
| Completed (Reached budget limit) | Spot                          | The task has reached the budget limit that you set.                                                                  |
| Stopped by user                  | Spot                          | The task was stopped by the user (using command `float16 task spot stop`).                                           |
| Failed (Invalid syntax)          | Spot                          | The task failed due to invalid syntax in the code.                                                                   |
| Failed (Unexpected indent)       | Spot                          | The task failed due to an unexpected indentation error in the code.                                                  |
| Failed (NameError)               | Spot                          | The task failed due to an undefined variable or function being used.                                                 |
| Failed (SyntaxError)             | Spot                          | The task failed due to a syntax error in the code.                                                                   |
| Failed (No module named)         | Spot                          | The task failed because a required module was not found or not installed.                                            |


---

# 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://docs.float16.cloud/getting-started/serverless-gpu/quick-start/task-status.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.
