{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Warp API Temporal Anchoring Guide","description":"Warp is the groundbreaking API that allows you to navigate, manipulate, and control time."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"warp-api-temporal-anchoring-guide","__idx":0},"children":["Warp API Temporal Anchoring Guide"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Temporal anchoring is a crucial feature in Warp that allows you to set fixed points in time to which you can return after making changes. This guide will walk you through the steps to effectively use temporal anchors in your time travel operations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Temporal anchors act as safe points in time, ensuring that you can always return to a known state. They are essential for undoing changes or restoring timelines to their original condition after experimentation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-setting-a-temporal-anchor","__idx":2},"children":["Step 1: Setting a Temporal Anchor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create a temporal anchor, you'll need to specify the exact time you want to anchor and provide a description for future reference."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setting-an-anchor","__idx":3},"children":["Setting an Anchor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the following ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["curl"]}," command to set a temporal anchor:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST https://api.warp.com/v1/set-anchor \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer YOUR_API_KEY\" \\\n-d '{\n  \"timestamp\": \"2024-09-01T00:00:00Z\",\n  \"description\": \"Starting Point\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timestamp"]}]},": The date and time you wish to anchor, in ISO 8601 format."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}]},": A brief description of the anchor’s purpose, which helps identify its use later."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-example","__idx":4},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"anchor_id\": \"1234567890abcdef\",\n  \"status\": \"Anchor set successfully\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This response confirms that the temporal anchor has been successfully created and provides an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["anchor_id"]}," for future operations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-listing-existing-anchors","__idx":5},"children":["Step 2: Listing Existing Anchors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can retrieve a list of all temporal anchors you have set. This is useful for reviewing your options before deciding to return to a specific point."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"listing-anchors","__idx":6},"children":["Listing Anchors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the following ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["curl"]}," command to list all anchors:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X GET https://api.warp.com/v1/list-anchors \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer YOUR_API_KEY\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-example-1","__idx":7},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"anchors\": [\n    {\n      \"anchor_id\": \"1234567890abcdef\",\n      \"timestamp\": \"2024-09-01T00:00:00Z\",\n      \"description\": \"Starting Point\"\n    },\n    {\n      \"anchor_id\": \"abcdef1234567890\",\n      \"timestamp\": \"2024-09-15T10:00:00Z\",\n      \"description\": \"Pre-deployment Anchor\"\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This response provides a list of all temporal anchors, including their IDs, timestamps, and descriptions."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-returning-to-a-temporal-anchor","__idx":8},"children":["Step 3: Returning to a Temporal Anchor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you've completed your time travel tasks or if you need to undo changes, you can return to a previously set temporal anchor."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"returning-to-an-anchor","__idx":9},"children":["Returning to an Anchor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the following ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["curl"]}," command to return to a specific anchor:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST https://api.warp.com/v1/return \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer YOUR_API_KEY\" \\\n-d '{\n  \"anchor_id\": \"1234567890abcdef\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["anchor_id"]}]},": The ID of the anchor you wish to return to."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-example-2","__idx":10},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"status\": \"Return successful\",\n  \"current_time\": \"2024-09-01T00:00:00Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This response confirms that you have successfully returned to the specified temporal anchor."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4-deleting-a-temporal-anchor","__idx":11},"children":["Step 4: Deleting a Temporal Anchor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you no longer need a temporal anchor, you can delete it to keep your timeline organized."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"deleting-an-anchor","__idx":12},"children":["Deleting an Anchor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the following ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["curl"]}," command to delete a temporal anchor:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X DELETE https://api.warp.com/v1/delete-anchor \\\n-H \"Content-Type: application/json\" \\\n-H \"Authorization: Bearer YOUR_API_KEY\" \\\n-d '{\n  \"anchor_id\": \"1234567890abcdef\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-example-3","__idx":13},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"status\": \"Anchor deleted successfully\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This response confirms that the specified temporal anchor has been successfully deleted."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"best-practices","__idx":14},"children":["Best Practices"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Set Anchors Before Major Changes"]},": Always set a temporal anchor before making significant changes to the timeline. This ensures you have a safe point to return to."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organize Your Anchors"]},": Use descriptive names and timestamps to easily identify and manage your temporal anchors."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Regularly Review Anchors"]},": Periodically list and review your anchors to ensure they are still relevant, and delete any that are no longer needed."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"conclusion","__idx":15},"children":["Conclusion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Temporal anchoring is a powerful tool that ensures safety and stability in your time travel operations. By following this guide, you can effectively manage your temporal anchors, allowing you to experiment with confidence and precision."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more advanced features and detailed API documentation, visit the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#"},"children":["Warp Documentation"]},"."]}]},"headings":[{"value":"Warp API Temporal Anchoring Guide","id":"warp-api-temporal-anchoring-guide","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Step 1: Setting a Temporal Anchor","id":"step-1-setting-a-temporal-anchor","depth":2},{"value":"Setting an Anchor","id":"setting-an-anchor","depth":3},{"value":"Response Example","id":"response-example","depth":3},{"value":"Step 2: Listing Existing Anchors","id":"step-2-listing-existing-anchors","depth":2},{"value":"Listing Anchors","id":"listing-anchors","depth":3},{"value":"Response Example","id":"response-example-1","depth":3},{"value":"Step 3: Returning to a Temporal Anchor","id":"step-3-returning-to-a-temporal-anchor","depth":2},{"value":"Returning to an Anchor","id":"returning-to-an-anchor","depth":3},{"value":"Response Example","id":"response-example-2","depth":3},{"value":"Step 4: Deleting a Temporal Anchor","id":"step-4-deleting-a-temporal-anchor","depth":2},{"value":"Deleting an Anchor","id":"deleting-an-anchor","depth":3},{"value":"Response Example","id":"response-example-3","depth":3},{"value":"Best Practices","id":"best-practices","depth":2},{"value":"Conclusion","id":"conclusion","depth":2}],"frontmatter":{"seo":{"title":"Warp API Temporal Anchoring Guide"}},"lastModified":"2026-08-25T07:13:41.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/temporal-anchoring","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}