v2
admin
admin
memory

Rebuild Communities

Changed on

Fire a community rebuild and return 202 + job_id immediately.

Frontend polls GET /api/admin/memory/{user_id}/communities/rebuild/{job_id} for progress.

post/api/admin/memory/{user_id}/communities/rebuild

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Path parameters

user_idstring required

User id or 'me'

Query parameters

forceboolean

Reserved — the fire-and-forget wrapper currently always honours the activity gate. Kept on the signature so the frontend hook doesn't need a contract change when the force flag is threaded through to the wrapper.

Response

Successful Response

job_idstring required
user_idstring required
kind'nightly' | 'dream_pass' | 'rebuild' required
state'queued' | 'running' | 'submitted' | 'complete' | 'errored' required
started_atstring date-time required

Changes