Last active
April 24, 2026 12:58
-
-
Save matej21/dc0e7955e5624437e7466a00bebe431d to your computer and use it in GitHub Desktop.
Durable object query REST API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST \ | |
| "https://api.cloudflare.com/client/v4/accounts/{account_id}/workers/durable-objects/namespaces/{namespace_id}/query" \ | |
| -H "Authorization: Bearer <token>" \ | |
| -H "content-type: application/json" \ | |
| --data-raw '{ | |
| "queries": [{"sql": "select * from event_log"}], | |
| "durable_object_id": "<do_id>" | |
| }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment