v1
Cloud Runtime

Bump workspace sync-index after a cloud Turso write. Desktop polls sync-index on heartbeat (CDC remains source of truth).

Changed on
post/v1/cloud/runtime/turso-db-changed

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/runtime/turso-db-changed
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

external_user_idstring nullable

Parse _User.objectId of the acting user (desktop OAuth). Used for ownership-scoped cloud operations instead of the API key user.

namespaceIdstring nullable
slugstring nullable
shareTokenstring nullable
jobIdstring nullable
dbIdstring nullable
tursoShortNamestring nullable

Explicit Turso short name (e.g. j-abc12345, d-deadbeef-u-user1234)

tablesstring[] nullable

Optional table names for diagnostics logging (reconcile uses CDC, not this list)

sourcestring nullable

Writer id, e.g. cloud_job_runner | cloud_app_host | desktop_push

Response

Successful Response

object required

Generic JSON response object

Changes