---
title: "Approve"
method: POST
path: "/api/compute/tasks/{task_id}/approve"
tags: ["compute"]
---

# Approve

`POST /api/compute/tasks/{task_id}/approve`

## Request

- Base URL: `https://api.omicos.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.omicos.cn/api/compute/tasks/{task_id}/approve`
- Auth: none declared

## Path parameters

- `task_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- ApprovalIn
  - `consent_hash` string, required
  - `budget` union, required
    - number
    - string
  - `consent` true, required
  - `acknowledge_restart_and_side_effects` true, required
  - `consent_local_transfer` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-20** `19980e5944e6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omicos/apis/omicos-server/changes/api/compute/tasks/:task_id/approve/post.md)

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc.dev/omicos/apis/omicos-server/revisions/42ce180a8cda?raw)
