Skip to content

Force a symbols reference-data sync from the SEC source (admin).

POST
/api/symbols/refresh
curl --request POST \
--url https://api.tradr.cloud/api/symbols/refresh

Admin-only manual refresh path (REQ-2.4(d)). Runs the guarded, multi-container-safe population with force: true and returns the SyncOutcome verbatim. Under NODE_ENV=test population is a no-op (skipped-test-env). A side-effecting POST (CSRF-protected); requires an admin session (authMiddleware → adminMiddleware).

The SyncOutcome for this run.

Media typeapplication/json
object
reason

Present when status is ‘error’.

string
status
required
string
Allowed values: completed skipped-fresh skipped-claimed skipped-test-env error
symbolCount

Present when status is ‘completed’.

integer
Example
{
"status": "completed"
}

No authenticated session (UNAUTHORIZED).

Authenticated but not an admin (ADMIN_REQUIRED).