---
title: "✨ Try prompt on a single task"
method: POST
path: "/api/prompts/{prompt_id}/versions/{version_id}/try-task"
tags: ["Prompts"]
---

# ✨ Try prompt on a single task

`POST /api/prompts/{prompt_id}/versions/{version_id}/try-task`

Run a single-task ephemeral prediction using the current (possibly unsaved) prompt.

No ModelRun is created and no Prediction is stored. The user iterates
until happy, then saves and does a full Run.

## Path parameters

- `prompt_id` integer, required
- `version_id` integer, required

## Request body

- TryTaskRequestRequest
  - `project_id` integer, required
  - `prompt_override` string
  - `task_id` integer, required

## Response `200`

- TryTaskResponse
  - `annotation_result` unknown[], required
    - unknown
  - `parsed_result` unknown
  - `raw_response` string, required
  - `task_id` integer, required
  - `usage` unknown, required

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/versions/1b113b8df950/schema)
