{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieve the current bookmark, or the nearest bookmark at or before a provided timestamp.\nBookmarks can be used with the restore endpoint to revert the database to a previous point in time.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/d1_account-identifier"},"database_id":{"$ref":"#/definitions/d1_database-identifier"}},"required":["account_id","database_id"],"additionalProperties":false},"query":{"type":"object","properties":{"timestamp":{"$ref":"#/definitions/d1_time-travel-timestamp","description":"An optional ISO 8601 timestamp. If provided, returns the nearest available bookmark at or before this timestamp. If omitted, returns the current bookmark."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"d1_account-identifier":{"description":"Account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"d1_database-identifier":{"description":"D1 database identifier (UUID).","type":"string","examples":["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]},"d1_time-travel-timestamp":{"description":"An ISO 8601 timestamp used for time travel operations. The database will be restored to the nearest available bookmark at or before this timestamp.","type":"string","format":"date-time","examples":["2024-01-15T12:00:00Z"]}}},"name":"Get D1 database bookmark","id":"cloudflare.d1-time-travel-get-bookmark","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","database_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}},"maxRequests":1,"summary":false}}