Retry Metadata Task
Changed onRetry the review's MetadataTask after its ReviewMetadataAgentRun failed.
This intentionally does not create a ReviewMetadataAgentRun itself — dispatch_metadata_run_task (review_reporting_stage_wf) is the only place one is ever created (see the module docstring on backend/tasks/review_reporting_stage.py), which is what guarantees metadata can't start ahead of the reporting it may depend on. This endpoint only clears the failed run's agent_run_id, under the same row lock dispatch_metadata_run_task uses for its own check-then-write, and then re-dispatches the stage workflow so it re-evaluates the review from scratch — which also means a retry picks up any ReviewReportingTask created since the task was last dispatched, not just the metadata agent in isolation. Only retryable once the prior run reached FAILED; a pending or completed run has nothing to retry.
Request
- Base URLhttps://api.kobaltlabs.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.kobaltlabs.com/reviews/{review_id}/metadata-tasks/retry
- Authnone declared
Path parameters
Response
Successful Response
Changes
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status
- info