reprocessCaptures
# reprocessCaptures
POST
/captures/reprocess
const url = 'http://localhost:8080/api/v1/captures/reprocess';const options = { method: 'POST', headers: {cookie: 'hs_session=<hs_session>', 'Content-Type': 'application/json'}, body: '{"captureIds":["per_01j9x3k8m2q4r5s6t7v8w9y0z1"],"runId":"per_01j9x3k8m2q4r5s6t7v8w9y0z1","from":"2026-04-15T12:00:00Z","to":"2026-04-15T12:00:00Z","platform":"instagram"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/api/v1/captures/reprocess \ --header 'Content-Type: application/json' \ --cookie hs_session=<hs_session> \ --data '{ "captureIds": [ "per_01j9x3k8m2q4r5s6t7v8w9y0z1" ], "runId": "per_01j9x3k8m2q4r5s6t7v8w9y0z1", "from": "2026-04-15T12:00:00Z", "to": "2026-04-15T12:00:00Z", "platform": "instagram" }'Re-run extraction on stored captures after changing prompts or the model.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
captureIds
Array<string>
runId
string
from
string format: date-time
to
string format: date-time
platform
string
Responses
Section titled “Responses”Jobs queued.
Media typeapplication/json
object
queued
required
integer
Examples
Exampleseed
Derived from fixtures/seed.json.
{ "queued": 4}