UnoRouter Task API

The Task API from UnoRouter, for task.

GitHub OpenAPI

Operations 2

GET /api/task/ Get All Task #
GET /api/task/self Get User Task #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/unorouter-com:unorouter-com-task-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unorouter-com-task-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: ' '
  title: New Task API
  version: 0.0.1
tags:
- name: Task
paths:
  /api/task/:
    get:
      operationId: getAllTask
      parameters:
      - description: Page number (1-based)
        in: query
        name: p
        schema:
          type: integer
      - description: Items per page
        in: query
        name: page_size
        schema:
          type: integer
      - in: query
        name: start_timestamp
        schema:
          type: integer
      - in: query
        name: end_timestamp
        schema:
          type: integer
      - description: Filter by platform
        in: query
        name: platform
        schema:
          type: string
      - description: Filter by task ID
        in: query
        name: task_id
        schema:
          type: string
      - description: Filter by status
        in: query
        name: status
        schema:
          type: string
      - description: Filter by action
        in: query
        name: action
        schema:
          type: string
      - description: Filter by channel ID
        in: query
        name: channel_id
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_dto.PageData-dto.TaskDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_dto.PageData-dto.TaskDto'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Get All Task
      tags:
      - Task
  /api/task/self:
    get:
      operationId: getUserTask
      parameters:
      - description: Page number (1-based)
        in: query
        name: p
        schema:
          type: integer
      - description: Items per page
        in: query
        name: page_size
        schema:
          type: integer
      - in: query
        name: start_timestamp
        schema:
          type: integer
      - in: query
        name: end_timestamp
        schema:
          type: integer
      - description: Filter by platform
        in: query
        name: platform
        schema:
          type: string
      - description: Filter by task ID
        in: query
        name: task_id
        schema:
          type: string
      - description: Filter by status
        in: query
        name: status
        schema:
          type: string
      - description: Filter by action
        in: query
        name: action
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_dto.PageData-dto.TaskDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/Response_dto.PageData-dto.TaskDto'
          description: OK
      security:
      - accessToken: []
        newApiUser: []
      - newApiUser: []
        sessionAuth: []
      summary: Get User Task
      tags:
      - Task
components:
  schemas:
    TaskAdminInfo:
      properties:
        request_id:
          type: string
        request_path:
          type: string
        task_plugin:
          $ref: '#/components/schemas/TaskPluginInfo'
      type: object
    TaskPluginInfo:
      properties:
        author:
          $ref: '#/components/schemas/TaskPluginAuthorInfo'
        key:
          type: string
        name:
          type: string
        version:
          type: string
      required:
      - key
      - name
      type: object
    TaskPluginAuthorInfo:
      properties:
        name:
          type: string
        url:
          type: string
      required:
      - name
      type: object
    TaskRootInfo:
      properties:
        node_name:
          type: string
        task_plugin:
          $ref: '#/components/schemas/TaskPluginRuntimeInfo'
        upstream_task_id:
          type: string
      type: object
    TaskPluginRuntimeInfo:
      properties:
        api_version:
          type: integer
        generation:
          maximum: 18446744073709552000
          minimum: 0
          type: integer
        key:
          type: string
        version:
          type: string
      required:
      - api_version
      - generation
      - key
      - version
      type: object
    Response_dto.PageData-dto.TaskDto:
      description: Response_dto.PageData-dto.TaskDto schema
      properties:
        data:
          properties:
            items:
              items:
                $ref: '#/components/schemas/TaskDto'
              type:
              - array
              - 'null'
            page:
              type: integer
            page_size:
              type: integer
            total:
              type: integer
          required:
          - items
          - page
          - page_size
          - total
          type: object
        message:
          type: string
        success:
          type: boolean
      required:
      - data
      - message
      - success
      type: object
    TaskDto:
      properties:
        action:
          type: string
        admin_info:
          $ref: '#/components/schemas/TaskAdminInfo'
        channel_id:
          type: integer
        created_at:
          format: int64
          type: integer
        data:
          type: 'null'
        fail_reason:
          type: string
        finish_time:
          format: int64
          type: integer
        group:
          type: string
        id:
          format: int64
          type: integer
        legacy_video_available:
          type: boolean
        platform:
          type: string
        progress:
          type: string
        properties: {}
        quota:
          type: integer
        result_discarded:
          type: boolean
        result_url:
          type: string
        result_urls:
          items:
            type: string
          type:
          - array
          - 'null'
        root_info:
          $ref: '#/components/schemas/TaskRootInfo'
        start_time:
          format: int64
          type: integer
        status:
          type: string
        submit_time:
          format: int64
          type: integer
        task_id:
          type: string
        updated_at:
          format: int64
          type: integer
        user_id:
          type: integer
        username:
          type: string
      required:
      - action
      - channel_id
      - created_at
      - data
      - fail_reason
      - finish_time
      - group
      - id
      - platform
      - progress
      - properties
      - quota
      - start_time
      - status
      - submit_time
      - task_id
      - updated_at
      - user_id
      type: object
  securitySchemes:
    accessToken:
      description: System access token for dashboard API routes. Must be paired with New-Api-User header.
      in: header
      name: Authorization
      type: apiKey
    anthropicApiKey:
      description: Anthropic-style API key. Used by /v1/messages and /v1/models.
      in: header
      name: x-api-key
      type: apiKey
    bearerAuth:
      description: API token (sk-...). Used by relay routes (/v1/*) and token-based query endpoints.
      scheme: bearer
      type: http
    newApiUser:
      description: User ID header. Required together with the access token or session cookie for dashboard API routes.
      in: header
      name: New-Api-User
      type: apiKey
    sessionAuth:
      description: Session cookie from /api/user/login. Used by dashboard routes as an alternative to access token.
      in: cookie
      name: session
      type: apiKey