{
  "openapi": "3.1.0",
  "info": {
    "title": "VCorp Super Agent API",
    "version": "1.0.0",
    "description": "A personal Super Agent: the brain runs in the cloud, the user's own devices are its hands. Hand it a task in words and it does the whole job in a sandbox built for that kind of work, reaching the user's Chrome (with their logins), desktop apps, shared folders and phone when the task needs them: finished videos, research and form-filling on any website, social posts, live landing pages and web games, circuit layouts in EasyEDA, 3D-printable parts. It acts only in the user's own accounts; passwords and one-time codes are always entered by the user, and sending, posting or paying waits for the user's confirmation on their device. Tasks take minutes to an hour, can repeat on a schedule, and are billed to the account balance.\n\nA task takes minutes to an hour: create returns at once, then poll /wait or use callback_url. Guide: https://maker-dev-test.vcorp.ai/docs/agents.md"
  },
  "servers": [
    {
      "url": "https://maker-dev-test.vcorp.ai/v1"
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "externalDocs": {
    "url": "https://maker-dev-test.vcorp.ai/docs/agents.md"
  },
  "paths": {
    "/capabilities": {
      "get": {
        "operationId": "getCapabilities",
        "summary": "Kinds of task this server runs, video options, library",
        "responses": {
          "200": {
            "description": "Capabilities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/account": {
      "get": {
        "operationId": "getAccount",
        "summary": "Balance, limits and active tasks",
        "responses": {
          "200": {
            "description": "Account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/devices": {
      "get": {
        "operationId": "listDevices",
        "summary": "The user's paired browsers, computers and phones",
        "responses": {
          "200": {
            "description": "Devices",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks": {
      "post": {
        "operationId": "createTask",
        "summary": "Start a task (returns at once)",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "description": "Same as client_request_id: a repeat within 24 h returns the existing task."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTask"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task already created by an earlier request with this key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "202": {
            "description": "Task created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        }
      },
      "get": {
        "operationId": "listTasks",
        "summary": "Recent tasks, newest first",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "video"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tasks",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "tasks": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}": {
      "get": {
        "operationId": "getTask",
        "summary": "State, progress, report and download links",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          }
        ],
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/wait": {
      "get": {
        "operationId": "waitForTask",
        "summary": "Long poll: returns when the task stops running, or after timeout (max 55s)",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          },
          {
            "name": "timeout",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 55,
              "default": 45
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/approve": {
      "post": {
        "operationId": "approveTask",
        "summary": "Accept the plan and go on",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "feedback": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/message": {
      "post": {
        "operationId": "sendMessage",
        "summary": "Change a plan under review, or follow up on a finished task",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "description": "What to change or do next."
                  },
                  "files": {
                    "type": "array",
                    "maxItems": 30,
                    "description": "Small attachments inline, at most 20 MB decoded in total per call: images, audio, video, PDF, Word (.docx), txt, md. Put larger material behind links.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "File name with extension, e.g. screenshot.png"
                        },
                        "data_base64": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "data_base64"
                      ]
                    }
                  },
                  "links": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "description": "http(s) links to articles, pages or PDFs to use as material. Fetched inside the task's sandbox, not by this server."
                  }
                },
                "required": [
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/continue": {
      "post": {
        "operationId": "continueTask",
        "summary": "Resume a failed, interrupted or cancelled task",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "note": {
                    "type": "string",
                    "description": "Optional extra instructions."
                  },
                  "files": {
                    "type": "array",
                    "maxItems": 30,
                    "description": "Small attachments inline, at most 20 MB decoded in total per call: images, audio, video, PDF, Word (.docx), txt, md. Put larger material behind links.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "File name with extension, e.g. screenshot.png"
                        },
                        "data_base64": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "data_base64"
                      ]
                    }
                  },
                  "links": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "description": "http(s) links to articles, pages or PDFs to use as material. Fetched inside the task's sandbox, not by this server."
                  },
                  "budget": {
                    "type": "integer",
                    "minimum": 100,
                    "maximum": 25000,
                    "description": "Raise the task's budget (credits) when it stopped at its cap."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/repeat": {
      "post": {
        "operationId": "repeatTask",
        "summary": "Pause, resume or run a repeating task now",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "action": {
                    "type": "string",
                    "enum": [
                      "pause",
                      "resume",
                      "run_now"
                    ]
                  }
                },
                "required": [
                  "action"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/cancel": {
      "post": {
        "operationId": "cancelTask",
        "summary": "Stop a queued or running task",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          }
        ],
        "responses": {
          "200": {
            "description": "Task",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/files": {
      "get": {
        "operationId": "listTaskFiles",
        "summary": "Every file of the task (input/, work/, output/) with signed links",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          },
          {
            "name": "folder",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "input",
                "work",
                "output"
              ]
            }
          },
          {
            "name": "prefix",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Files",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    },
    "/tasks/{id}/file": {
      "get": {
        "operationId": "readTaskFile",
        "summary": "One task file: small text inline, always a signed link",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "job_id"
          },
          {
            "name": "path",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "File",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "An API key (ovm_...) from the web app, 接入 Agent."
      }
    },
    "schemas": {
      "CreateTask": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "What kind of task. video: A finished MP4 (promo, explainer, motion graphics, music video, edit of their footage): plans the shots, animates in code, renders frame by frame, adds voice-over. 10-60 min.",
            "enum": [
              "video"
            ],
            "default": "video"
          },
          "prompt": {
            "type": "string",
            "description": "The task in full: goal, audience or sites involved, what to deliver, must-haves, how to use the attached material. Any language."
          },
          "files": {
            "type": "array",
            "maxItems": 30,
            "description": "Small attachments inline, at most 20 MB decoded in total per call: images, audio, video, PDF, Word (.docx), txt, md. Put larger material behind links.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "File name with extension, e.g. screenshot.png"
                },
                "data_base64": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "data_base64"
              ]
            }
          },
          "links": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 10,
            "description": "http(s) links to articles, pages or PDFs to use as material. Fetched inside the task's sandbox, not by this server."
          },
          "refs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 10,
            "description": "job_ids of your ended tasks (done, or failed/interrupted/cancelled with partial results) whose results this one builds on, e.g. a research report for a video. Their deliverables (not their sessions) arrive read-only; with more than 3, their video and audio files stay behind. Say in the prompt what to take from them. The task given as `after` may also be listed while it is still running: this one waits for it and gets its results when it starts."
          },
          "after": {
            "type": "string",
            "description": "job_id of one of your tasks this one waits for: it starts when that one is done and gets its results."
          },
          "budget": {
            "type": "integer",
            "minimum": 100,
            "maximum": 25000,
            "default": 2500,
            "description": "Hard cap on what this task may spend, in credits. For a repeating task, per run. The account's plan may allow less (get_account limits.budget_credits)."
          },
          "effort": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "xhigh",
              "max"
            ],
            "default": "high",
            "description": "How hard the agent thinks. Higher is slower and costs more."
          },
          "review": {
            "type": "boolean",
            "default": false,
            "description": "video, landing, game: stop after planning for approve_task / send_message instead of going straight on. A publish task always stops for review."
          },
          "device_id": {
            "type": "string",
            "description": "Lock the task to this one browser or phone (from list_devices); it uses no other device."
          },
          "deny_devices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "description": "device_ids this task must not use."
          },
          "aspect": {
            "type": "string",
            "enum": [
              "16:9",
              "9:16",
              "1:1",
              "4:3"
            ],
            "default": "16:9",
            "description": "video: frame shape. 9:16 for vertical phone video."
          },
          "duration_seconds": {
            "type": "integer",
            "minimum": 3,
            "maximum": 600,
            "default": 30,
            "description": "video: length."
          },
          "style": {
            "type": "string",
            "description": "video: kind of video. auto: 由你按内容判断; explainer: 知识解说／科普动画; news: 竖屏资讯／评测; product: 产品宣传片; art: 艺术风格动画（按需求里描述的画风）; motion: 抽象动效／动态字体／showreel; mv: 跟音乐卡点的 MV; edit: 在用户的视频素材上剪辑、加字幕",
            "enum": [
              "auto",
              "explainer",
              "news",
              "product",
              "art",
              "motion",
              "mv",
              "edit"
            ],
            "default": "auto"
          },
          "voice": {
            "type": "string",
            "enum": [
              "none",
              "中文",
              "英文",
              "中英双语"
            ],
            "default": "中文",
            "description": "video: voice-over: none, Chinese (中文), English (英文), or one version in each (中英双语)."
          },
          "auto_gen": {
            "type": "boolean",
            "default": false,
            "description": "video: generate stills and short clips when needed. Each costs about 125 credits against budget. Ignored when the server has not enabled it."
          },
          "ruler": {
            "type": "boolean",
            "default": false,
            "description": "video, landing, game: push the design away from the generic (反平庸)."
          },
          "auto_publish": {
            "type": "string",
            "maxLength": 2000,
            "description": "video, without review: once rendered, publish it from the user's browser. Say where and how (platforms, title, tags)."
          },
          "slug": {
            "type": "string",
            "maxLength": 63,
            "description": "landing, game: subdomain to publish on (3-63 lowercase letters, digits, -). Reusing one of your own replaces that site. Default: a random one."
          },
          "repeat": {
            "type": "object",
            "description": "browse, desktop, eda: run again on a schedule after the first run, e.g. to watch a site and answer new messages. Needs a browser with unattended=true (list_devices). Runs that overlap, find the browser offline or hit the daily cap are skipped.",
            "properties": {
              "every_minutes": {
                "type": "integer",
                "minimum": 5,
                "maximum": 1440,
                "description": "Interval between runs (a minute of jitter is added)."
              },
              "daily_cap": {
                "type": "integer",
                "minimum": 100,
                "maximum": 25000,
                "description": "Most the runs may spend per day, in credits. Required: nobody watches these runs."
              },
              "from_hour": {
                "type": "integer",
                "minimum": 0,
                "maximum": 24,
                "description": "Optional: only run from this hour of the user's day…"
              },
              "to_hour": {
                "type": "integer",
                "minimum": 0,
                "maximum": 24,
                "description": "…up to this hour (may wrap past midnight)."
              }
            },
            "required": [
              "every_minutes",
              "daily_cap"
            ]
          },
          "client_request_id": {
            "type": "string",
            "maxLength": 100,
            "description": "Your own id for this request. Retrying with the same id within 24 hours returns the existing task instead of starting another."
          },
          "callback_url": {
            "type": "string",
            "maxLength": 2000,
            "description": "Optional https URL on a public host to POST to when the task settles (Standard Webhooks; the signing secret comes back as webhook.secret). Lets you stop polling."
          }
        },
        "required": [
          "prompt"
        ]
      },
      "Task": {
        "type": "object",
        "description": "A task as an agent sees it. Same shape as the MCP tool results.",
        "properties": {
          "job_id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "description": "One of the kinds get_capabilities lists."
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "new",
              "queued",
              "planning",
              "awaiting_approval",
              "rendering",
              "done",
              "failed",
              "cancelled",
              "interrupted"
            ]
          },
          "status_text": {
            "type": "string"
          },
          "phase": {
            "type": [
              "string",
              "null"
            ]
          },
          "queue_position": {
            "type": "integer",
            "description": "Tasks of this account that run before this one."
          },
          "waiting_for": {
            "type": "string",
            "description": "job_id of the task this one waits for (after)."
          },
          "review": {
            "type": "boolean",
            "description": "Whether the task stops for plan review."
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "cost_credits": {
            "type": "number"
          },
          "budget_credits": {
            "type": "number"
          },
          "work_minutes": {
            "type": "number"
          },
          "elapsed_minutes": {
            "type": "number"
          },
          "report": {
            "type": "string",
            "description": "The task's REPORT.md or PLAN.md, clipped. Not for video tasks."
          },
          "video_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "The MP4, once there is one. Signed; expires at links_expire_at."
          },
          "contact_sheet_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "site_url": {
            "type": "string",
            "format": "uri",
            "description": "landing, game: where the site is published."
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "size_bytes": {
                  "type": "integer"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "links_expire_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "repeat": {
            "type": "object",
            "description": "A repeating task's schedule.",
            "properties": {
              "every_minutes": {
                "type": "integer"
              },
              "daily_cap_credits": {
                "type": "number"
              },
              "hours": {
                "type": [
                  "array",
                  "null"
                ]
              },
              "paused": {
                "type": "boolean"
              },
              "paused_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "next_run_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fail_streak": {
                "type": "integer"
              }
            }
          },
          "recent": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "at": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              }
            }
          },
          "next": {
            "type": "string",
            "description": "What to do now, in words."
          },
          "poll_after_seconds": {
            "type": [
              "integer",
              "null"
            ]
          },
          "web_url": {
            "type": "string",
            "format": "uri"
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "notes": {
            "type": "string"
          },
          "duplicate": {
            "type": "boolean",
            "description": "True when an earlier request with the same client_request_id / Idempotency-Key created this task."
          },
          "webhook": {
            "type": "object",
            "description": "Present when callback_url was given. secret appears only in the create answer."
          }
        }
      },
      "Account": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "credits": {
            "type": "number"
          },
          "available_credits": {
            "type": "number",
            "description": "Credits minus what running tasks have spent but not yet been billed."
          },
          "min_start_credits": {
            "type": "number"
          },
          "plan": {
            "type": "string",
            "enum": [
              "free",
              "standard",
              "pro"
            ]
          },
          "plan_renews_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_ends_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "credits_expiring": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "credits": {
                  "type": "number"
                },
                "expires_at": {
                  "type": "string"
                }
              }
            }
          },
          "can_start": {
            "type": "boolean"
          },
          "active_jobs": {
            "type": "integer"
          },
          "max_active_jobs": {
            "type": "integer"
          },
          "limits": {
            "type": "object"
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "status": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "responses": {
      "Error": {
        "description": "Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  }
}