---
title: "Resume a wait workflow trace"
method: PATCH
path: "/api/v2/experiments/{experiment_id}/logs/{log_id}/"
tags: ["experiments"]
---

# Resume a wait workflow trace

`PATCH /api/v2/experiments/{experiment_id}/logs/{log_id}/`

Submit results for a paused `wait` workflow trace. The backend resumes the workflow and then runs the configured evaluators.

## Path parameters

- `experiment_id` string, required
- `log_id` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `input` unknown, required
  - `output` unknown, required
  - `metrics` object — Numeric metrics such as cost, latency, and token counts.
  - `metadata` object — Additional metadata to attach to the trace.

## Response `200`

Trace resumed.

- ExperimentsUpdateExperimentSpanResponse200
  - `id` string, required
  - `trace_unique_id` string, required
  - `status` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Missing or invalid authentication
- `404` — Not Found

---

[API](https://skmtc.dev/respan/apis/api-reference.md) · [All operations](https://skmtc.dev/respan/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/respan/api-reference/revisions/764fca4d43e4/schema)
