XSKY tasks API

TaskController Task Management

Operations 2

GET /tasks/ #
GET /tasks/{task_id} #

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/xsky-tasks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

xsky-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: XMS is the controller of distributed storage system
  version: SDS_4.2.000.0.200302
  title: XMS access-paths Tasks API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: tasks
  description: 'TaskController Task Management

    '
paths:
  /tasks/:
    get:
      tags:
      - tasks
      description: List tasks by fileter
      operationId: ListTasks
      parameters:
      - name: status
        in: query
        description: task status
        required: false
        x-exportParamName: Status
        schema:
          type: string
      - name: type
        in: query
        description: task type
        required: false
        x-exportParamName: Type_
        schema:
          type: string
      - name: host_id
        in: query
        description: host running the task
        required: false
        x-exportParamName: HostId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
  /tasks/{task_id}:
    get:
      tags:
      - tasks
      description: get a task info
      operationId: GetTask
      parameters:
      - name: task_id
        in: path
        description: the task id
        required: true
        x-exportParamName: TaskId
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskResp'
        400:
          description: BadRequest
        404:
          description: NotFound
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
components:
  schemas:
    Host_Nestview:
      type: object
      required:
      - admin_ip
      properties:
        admin_ip:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
      title: Host_Nestview
      example:
        name: name
        admin_ip: admin_ip
        id: 0
    TasksResp:
      type: object
      required:
      - tasks
      properties:
        tasks:
          type: array
          description: tasks
          items:
            $ref: '#/components/schemas/Task'
      title: TasksResp
      example:
        tasks:
        - retried: true
          error_msg: error_msg
          data: data
          update: '2000-01-23T04:56:07.000+00:00'
          priority: 5
          type: type
          execute: '2000-01-23T04:56:07.000+00:00'
          host_role: host_role
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          finish: '2000-01-23T04:56:07.000+00:00'
          id: 5
          retry: 2
          retry_type: retry_type
          status: status
        - retried: true
          error_msg: error_msg
          data: data
          update: '2000-01-23T04:56:07.000+00:00'
          priority: 5
          type: type
          execute: '2000-01-23T04:56:07.000+00:00'
          host_role: host_role
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          finish: '2000-01-23T04:56:07.000+00:00'
          id: 5
          retry: 2
          retry_type: retry_type
          status: status
    Task:
      type: object
      properties:
        create:
          type: string
          format: date-time
        data:
          type: string
        error_msg:
          type: string
        execute:
          type: string
          format: date-time
        finish:
          type: string
          format: date-time
        host:
          $ref: '#/components/schemas/Host_Nestview'
        host_role:
          type: string
        id:
          type: integer
          format: int64
        priority:
          type: integer
          format: int64
        retried:
          type: boolean
        retry:
          type: integer
          format: int64
        retry_type:
          type: string
        status:
          type: string
        type:
          type: string
        update:
          type: string
          format: date-time
      title: Task
      description: Task defines a task will be run on a host @grpc-models-proto
      example:
        retried: true
        error_msg: error_msg
        data: data
        update: '2000-01-23T04:56:07.000+00:00'
        priority: 5
        type: type
        execute: '2000-01-23T04:56:07.000+00:00'
        host_role: host_role
        host:
          name: name
          admin_ip: admin_ip
          id: 0
        create: '2000-01-23T04:56:07.000+00:00'
        finish: '2000-01-23T04:56:07.000+00:00'
        id: 5
        retry: 2
        retry_type: retry_type
        status: status
    TaskResp:
      type: object
      required:
      - task
      properties:
        task:
          description: task
          $ref: '#/components/schemas/Task'
      title: TaskResp
      example:
        task:
          retried: true
          error_msg: error_msg
          data: data
          update: '2000-01-23T04:56:07.000+00:00'
          priority: 5
          type: type
          execute: '2000-01-23T04:56:07.000+00:00'
          host_role: host_role
          host:
            name: name
            admin_ip: admin_ip
            id: 0
          create: '2000-01-23T04:56:07.000+00:00'
          finish: '2000-01-23T04:56:07.000+00:00'
          id: 5
          retry: 2
          retry_type: retry_type
          status: status
  securitySchemes:
    tokenInHeader:
      description: auth by token
      type: apiKey
      name: Xms-Auth-Token
      in: header
    tokenInQuery:
      description: auth by token
      type: apiKey
      name: token
      in: query