> For the complete documentation index, see [llms.txt](https://developer.sahamati.org.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.sahamati.org.in/onboarding-to-saans/publish-data-to-sahamati.md).

# Publish Data to Sahamati

How is data to be created by the AA:

AAs are expected to report two forms of data called events:

* Each synchronous API call such as FIP Discovery, FIP Linking, FI request etc. are to be reported every 10 min. .
* Async functions such as FI notifications for FIPs are to be reported every 10 mins

Each report is referred to as signals. Signals contain multiple events- Sync API call data aggregated every 10 mins for each FIP.

For Sync API:

**NOTE**: If there are no events that take place in the 10 min duration for an API , do not send a signal. It can be completely omitted. Do not send 0 or any value other than null if you do not have the data. Sending 0 will skew the charts.

**Base URL**

```
https://api.sahamati.org.in/saans/v1/push
```

**Error Codes**

| Type             | Status    | Action                      |
| ---------------- | --------- | --------------------------- |
| Authentication   | 401       | Refresh token               |
| Validation       | 400       | Fix request payload         |
| External Service | 400 / 500 | Retry / Disable integration |
| Internal Error   | 500       | Restart service             |

<br>


---

# 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:

```
GET https://developer.sahamati.org.in/onboarding-to-saans/publish-data-to-sahamati.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
