---
title: "POST /v1/internal/subtasks/{id}/result"
method: POST
path: "/v1/internal/subtasks/{id}/result"
tags: ["Sub-Tasks"]
---

# POST /v1/internal/subtasks/{id}/result

`POST /v1/internal/subtasks/{id}/result`

Internal endpoint for updating subtask results from hive-link

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'FINISHED' | 'FAILED', required
  - `result` object
  - `error` string
  - `executionTimeMs` number, required
  - `dispatchLeaseToken` string, uuid

## Response `200`

Default Response

## Other responses

- `default` — Unexpected error response

## Changes

- **2026-08-16** `14318ad4cbb0` — 1 info
  - added the new optional request property `dispatchLeaseToken`

[Change history](https://skmtc.dev/printhiv3d/apis/hive-api-documentation/changes/v1/internal/subtasks/:id/result/post.md)

---

[API](https://skmtc.dev/printhiv3d/apis/hive-api-documentation.md) · [All operations](https://skmtc.dev/printhiv3d/apis/hive-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/printhiv3d/hive-api-documentation/revisions/daa5509d053e/schema)
