> For the complete documentation index, see [llms.txt](https://lern.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lern.sunbird.org/use/developer-guide/user-and-org-service/data-models/cassandra/data-dictionary/otp.md).

# OTP

### sunbird.otp \[PRIMARY KEY: (type, key)]

Table used to store OTP information

<table><thead><tr><th width="171.33333333333331">Column Name</th><th width="117">Data Type</th><th>Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>type</td><td>text</td><td>OTP Communication mode</td><td>EMAIL/PHONE</td></tr><tr><td>key</td><td>text</td><td>Email/Phone of the user</td><td>98******10</td></tr><tr><td>attemptedcount</td><td>int</td><td>Number of times OTP mismatch was identified </td><td>2</td></tr><tr><td>createdon</td><td>timestamp</td><td>record created on timestamp</td><td></td></tr><tr><td>otp</td><td>text</td><td>OTP</td><td>254789</td></tr></tbody></table>

### sunbird.rate\_limit \[PRIMARY KEY: (key, unit)]

Table used to store rate limit information (number of requests per hour/day)

<table><thead><tr><th width="159.33333333333331">Column Name</th><th width="112">Data Type</th><th width="159">Description</th><th>Sample Data</th></tr></thead><tbody><tr><td>key</td><td>text</td><td>Email/Phone of the user</td><td>testaugustuser@yopmail.com</td></tr><tr><td>unit</td><td>text</td><td>DAY/HOUR</td><td>DAY</td></tr><tr><td>count</td><td>int</td><td></td><td>1</td></tr><tr><td>rate</td><td>int</td><td>Number of notifications that can be sent as per limit</td><td>20</td></tr></tbody></table>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/user-and-org-service/data-models/cassandra/data-dictionary/otp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
