---
title: "List unified AIHubMix tasks"
method: GET
path: "/ai/v1/tasks"
tags: ["AIHubMix Unified API"]
---

# List unified AIHubMix tasks

`GET /ai/v1/tasks`

## Request

- Base URL: `https://aihubmix.com`
- URL: `https://aihubmix.com/ai/v1/tasks`
- Auth: HTTP bearer

Returns read-only snapshots of image, video, and recoverable LLM tasks created by the current API key.

## Query parameters

- `object` 'llm' | 'image' | 'video'
- `status` 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled': Current task state. Completed, failed, and cancelled are terminal states.
- `model` string
- `after` string
- `limit` integer
- `order` 'asc' | 'desc'

## Response `200`

Unified task list

- AIHubMixUnifiedTaskList
  - `object` 'list', required
  - `data` AIHubMixUnifiedTask[], required
    - `id` string, required
    - `object` 'llm' | 'image' | 'video', required
    - `model` string, required
    - `status` 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled', required: Current task state. Completed, failed, and cancelled are terminal states.
    - `output` AIHubMixTaskArtifact[], required
      - `index` integer, required: Zero-based result order.
      - `result_id` string, nullable: Result ID exposed by unified task snapshots. Media task objects may omit it.
      - `type` 'file', required
      - `content_type` string, nullable
      - `content_url` string, nullable: Authenticated result download URL.
      - `b64_json` string, nullable: Base64-encoded image result when requested.
    - `error` AIHubMixTaskError, nullable, required
      - `code` string, required: Stable task error code.
      - `message` string, required: Human-readable error message.
      - `upstream_detail` unknown
    - `created_at` integer, required
    - `completed_at` integer, nullable, required
    - `expires_at` integer, nullable, required
  - `has_more` boolean, required
  - `next_after` string, nullable, required

## Other responses

- `default`: AIHubMix task, validation, authentication, routing, artifact, or upstream error.

## Changes

- **2026-11-03** `0dfd8d5c3b27`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aihubmix/apis/aihubmix-gateway-api/changes/ai/v1/tasks/get.md)

---

[API](https://skmtc.dev/aihubmix/apis/aihubmix-gateway-api.md) - [All operations](https://skmtc.dev/aihubmix/apis/aihubmix-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aihubmix/apis/aihubmix-gateway-api/revisions/0dfd8d5c3b27?raw)
