Source: https://dinakar-rewind.docs.pageloop.ai/api-reference/admin/adminattendingreprocess

# Re-run parsers + enrich+load over pending source rows

POST `https://api.rewind.rest/v1/admin/attending/reprocess`

After shipping a new vendor parser, this endpoint re-tries every pending source. With `refetch_missing_body: true` (default), Gmail messages whose body wasn't captured (early Phase 3 sources) get re-fetched and updated. Use `vendor` to scope to one domain.

## Authorization

#### Authorization (header, string, required)

API key. Read keys (rw\_live\_...) access GET endpoints. Admin keys (rw\_admin\_...) access all endpoints.

## Body

#### vendor (body, string)

#### refetch\_missing\_body (body, boolean)

#### limit (body, integer)

#### dry\_run (body, boolean)

#### force\_update\_loaded (body, boolean)

## Response

#### 200

Reprocess completed

#### status (enum (string), required) — allowed: completed

#### scanned (integer, required)

#### refetched (integer, required)

#### newly\_parsed (integer, required)

#### loaded (integer, required)

#### updated\_loaded (integer, required)

#### failures (array of object, required)

#### properties

#### source\_id (integer, required)

#### reason (string, required)

#### 401

Unauthorized

#### error (string, required)

#### status (integer, required)

#### 500

Internal server error

#### error (string, required)

#### status (integer, required)

#### Request

```bash cURL
curl -X POST 'https://api.rewind.rest/v1/admin/attending/reprocess' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"vendor": "ticketclub.com", "refetch_missing_body": true, "limit": 0, "dry_run": true, "force_update_loaded": true}'
```

```javascript JavaScript
const res = await fetch('https://api.rewind.rest/v1/admin/attending/reprocess', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer <token>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({"vendor": "ticketclub.com", "refetch_missing_body": true, "limit": 0, "dry_run": true, "force_update_loaded": true}),
});
const data = await res.json();
```

```python Python
import requests

res = requests.post(
    'https://api.rewind.rest/v1/admin/attending/reprocess',
    headers={'Authorization': 'Bearer <token>'},
    json={"vendor": "ticketclub.com", "refetch_missing_body": true, "limit": 0, "dry_run": true, "force_update_loaded": true}
)
data = res.json()
```

#### Response

```json 200
{
  "status": "completed",
  "scanned": 0,
  "refetched": 0,
  "newly_parsed": 0,
  "loaded": 0,
  "updated_loaded": 0,
  "failures": [
    {
      "source_id": 0,
      "reason": "string"
    }
  ]
}
```

```json 401
{
  "error": "Not found",
  "status": 404
}
```

```json 500
{
  "error": "Not found",
  "status": 404
}
```
