---
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

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 3 breaking, 2 warning, 52 info
  - the `input` request property type/format changed from ``/`` to `string`/``
  - the `output` request property type/format changed from ``/`` to `string`/``
  - the response property `status` became optional for the status `200`
  - removed the request property `metadata`
  - …53 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/v2/experiments/:experiment_id/logs/:log_id/patch.md)

---

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