Skip to content

POST /v1/harnesses/preview

POST
/v1/harnesses/preview

Request to preview harness shape with capabilities applied

object
capabilities
Array<object>

Per-agent capability configuration

Associates a capability with an agent, including optional per-agent configuration. The config field allows the same capability to behave differently per-agent.

object
config

Per-agent configuration for this capability (capability-specific)

ref
required

Reference to the capability ID

string
parent_harness_id
string | null
Example
harness_01933b5a000070008000000000000602
system_prompt
required
string
Example
You are a research assistant.

Harness preview generated

Preview response showing merged prompt and tools

object
system_prompt
required
string
tools
required
Array<object>
object

Internal server error

Standard error response for API endpoints.

object
error
required

Error message describing what went wrong.

string