---
title: "Submit Target Response"
method: POST
path: "/evaluations/v1-beta/red-team/{workflow_id}/target-response"
tags: ["Red Team Evaluations"]
---

# Submit Target Response

`POST /evaluations/v1-beta/red-team/{workflow_id}/target-response`

Submit target's response.

This triggers the ProcessTargetResponseWorkflow child workflow
for the specified session. Returns immediately.

## Path parameters

- `workflow_id` string, required — The workflow identifier

## Request body

- SubmitTargetResponseBody — Request to submit target's response.
  - `session_id` string, required — Session identifier
  - `target_response` string, required — Target's response text

## Response `200`

Response submitted successfully

- SubmitTargetResponseResult — Response from submitting a target response.
  - `is_ok` boolean, required — Whether the submission was successful
  - `message` string, required — Human-readable status message
  - `error` string — Error code if ok=false

## Other responses

- `400` — The request failed due to a client error, with one or more of the following possible causes: 1. The request required a tenant_id field, which was missing. 2. The request was malformed syntactically or semantically.
- `404` — The specified resource was not found.
- `422` — Validation Error

## Changes

- **2026-01-26** `87680c24e4b3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hiddenlayerai/apis/hiddenlayer-audit-api/changes/evaluations/v1-beta/red-team/:workflow_id/target-response/post.md)

---

[API](https://skmtc.dev/hiddenlayerai/apis/hiddenlayer-audit-api.md) · [All operations](https://skmtc.dev/hiddenlayerai/apis/hiddenlayer-audit-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiddenlayerai/apis/hiddenlayer-audit-api/revisions/5c2a0cf5032d?raw)
