> For the complete documentation index, see [llms.txt](https://docs.racemap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.racemap.com/api/auto-pausation.md). Agents can also search and read this documentation through its [MCP server](https://docs.racemap.com/~gitbook/mcp).

# Auto-pausation

The Data API works while its module is active. Two hours after the event's end time, RACEMAP pauses it automatically to prevent unintentional usage and costs.

### When does the Data API work?

The endpoints [\*/current](https://docs.racemap.com/api/current.md) (with `*/current-replay`), [\*/distance](https://docs.racemap.com/api/distance.md), [\*/times](https://docs.racemap.com/api/times.md) and [\*/ranks](https://docs.racemap.com/api/ranks.md) are available for your event when the Data API module is activated in the event's Data API settings. The event must also be activated and not archived.

If the module is not activated or is paused, requests are rejected with HTTP 400.

Exceptions:

* [\*/unified](https://docs.racemap.com/api/unified.md) needs predictive tracking instead of the Data API module. It is not auto-paused.
* RACEMAP's own leaderboard and app call \*/ranks with the `from` parameter. These calls need the Timing module instead and are not auto-paused.

### Auto-pausing after the event has ended

Two hours after the event's end time, RACEMAP automatically pauses the Data API module. The auto-pausation protects from usage and associated costs once the event has finished. It is triggered by the first Data API request two hours after the event's end time; that request is already rejected.

{% hint style="info" %}
[**Live replay events are excluded from auto-pausation:**](https://docs.racemap.com/api.md#live-replay-loop) If the event is configured as a live loop event, its Data API is not automatically paused.
{% endhint %}

### Re-activating the Data API after pausation

You can manually activate the Data API again after auto-pausation — for example, for data evaluation and analysis after the event:

1. Open the event in RACEMAP
2. Go to the Data API settings
3. Activate the Data API again

After re-activation the Data API responds immediately, and the auto-pausation doesn't trigger again for the same event end time.

Auto-pausation resets with a new event's end time. That way, you can set the event's end time to the future, and two hours after the new end time, the Data API is automatically paused again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.racemap.com/api/auto-pausation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
