Get Custom Harness
Get a single custom harness by ID with optional workflow status.
Returns the harness (business status: DRAFT/ACTIVE/ARCHIVED) enriched with workflow status (execution state: RUNNING/SUCCEEDED/FAILED) if a workflow exists.
Client interpretation:
- harness.status=DRAFT + no workflow = Not started yet
- harness.status=DRAFT + workflow.status=RUNNING = Generation in progress
- harness.status=DRAFT + workflow.status=FAILED = Generation failed, can retry
- harness.status=ACTIVE = Generation completed successfully
Requires agent:read permission.
Path Parameters
Query Parameters
Team ID (required)
Response
Successful Response
Response model for custom harness with optional workflow status.
Domain model for a custom harness (test configuration).
A custom harness is a test configuration that combines an agent, personas, and policies. The backend generates evaluation prompts based on this configuration.
Stored as metadata.json in S3.
Workflow status information for enrichment.
For custom harness workflows, task_id and session_id (when present) are persisted in the workflow S3 file under workflow_specific_fields and exposed here for cancel/debugging.