> For the complete documentation index, see [llms.txt](https://developerdocs.instructure.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developerdocs.instructure.com/services/dap/limits-policies.md).

# Rate Limits & Policies

## Rate Limits

To maintain fair usage and performance, the following rate limits have been implemented on the [DAP Query API](/services/dap/query-api.md).

<table data-full-width="false"><thead><tr><th width="203">Request</th><th width="403">Endpoint</th><th>Calls per minute</th></tr></thead><tbody><tr><td>Create job</td><td>POST <code>/query/{namespace}/table/{table}/data</code></td><td>5</td></tr><tr><td>Get job</td><td>GET <code>/job/</code></td><td>500</td></tr><tr><td>List tables</td><td>GET <code>/query/{namespace}/table</code></td><td>5</td></tr><tr><td>Get table schema</td><td>GET <code>/query/{namespace}/table/{table}/schema</code></td><td>500</td></tr><tr><td>Create pre-signed URLs</td><td>POST <code>/object/url</code></td><td>200</td></tr></tbody></table>

These limits are independent for each endpoint. Reaching the limit for one request type or endpoint does not impact the limits for other types or endpoints. For example, reaching the limit for GET requests on `/dap/query/canvas/table` will not affect your ability to make POST requests or use other GET endpoints.

{% hint style="info" %}
Since the CLI and Client Library are built on top of the Query API and use its endpoints, these rate limits apply to them as well.
{% endhint %}

If you anticipate needing higher limits, please contact your Customer Success Manager to discuss your requirements.

## Data Refresh

Data in DAP is refreshed every 4 hours. Except `new_quizzes` namespace where the data is refreshed every 8 hours.

## Data Retention

### Canvas and Catalog Namespaces

The DAP API does not support time-travel queries, meaning it only provides access to the latest state of the data. To retrieve the current dataset, you can use a snapshot query to capture a copy of the data as it exists at that moment. Afterward, use incremental queries to keep this data up-to-date by fetching only new, updated, or deleted records as changes occur within the Data Access Platform.

### Canvas Logs Namespace

Logs older than 30 days are no longer available via DAP API.

## Further Resources

Learn more details about [Instructure's Canvas API policies](https://www.instructure.com/policies/canvas-api-policy).


---

# 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://developerdocs.instructure.com/services/dap/limits-policies.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.
