---
title: "Verify task"
method: POST
path: "/universes/{universe_instance_id}/tasks/{task_num}/verify"
tags: ["Universe"]
---

# Verify task

`POST /universes/{universe_instance_id}/tasks/{task_num}/verify`

## Request

- Base URL: `https://api.klavis.ai`
- URL: `https://api.klavis.ai/universes/{universe_instance_id}/tasks/{task_num}/verify`
- Auth: HTTP bearer

Verify if the task has been performed correctly by running the task's verify function.

## Path parameters

- `universe_instance_id` string, required
- `task_num` string, required

## Response `200`

Successful Response

- VerifyTaskResponse: Response from task verification
  - `task_num` string, required
  - `passed` boolean, required
  - `failure_reason` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-08** `d70b82139caa`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai/changes/universes/:universe_instance_id/tasks/:task_num/verify/post.md)

---

[API](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai.md) - [All operations](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai/revisions/1f05ced7280f?raw)
