> 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/sahamatinet-agent-sna/sla/api-reference/sla-notification-payload.md).

# SLA Notification Payload

SNA also pushes a Notification metrics payload to the Sahamati endpoint every 10 minutes. This payload captures incoming notification traffic from FIPs to the AA, including notification counts and FI notification status breakdowns. The tag for this payload is not-fipMetrics-aa.

### Schema Reference

Notification Metric Types

<table><thead><tr><th width="89.66668701171875">Code</th><th>Full Name</th><th>Description</th></tr></thead><tbody><tr><td>finot</td><td>fiNotificationRecd_finot</td><td>FI notifications received from FIP counts and status breakdown (READY, DELIVERED, DENIED, TIMEOUT, PENDING)</td></tr><tr><td>alnot</td><td>accountLinkNotificationRecd_alnot</td><td>Account link notifications received from FIP</td></tr><tr><td>cnot</td><td>consentNotificationRecd_cnot</td><td>Consent notifications received from FIP</td></tr></tbody></table>

### Notification Count Fields

The counts array is positionally aligned to these fields:

<table><thead><tr><th width="64.333251953125">Index</th><th>Field</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td>apiTotalRecdCnt</td><td>Total notifications received. For FI notifications: count only the last /FI/Notification where all FIStatus states are terminal (READY, DELIVERED, DENIED, TIMEOUT).</td></tr><tr><td>2</td><td>api200OKSentCnt</td><td>HTTP 200 OK responses sent back</td></tr><tr><td>3</td><td>api400BadReqSentCnt</td><td>HTTP 400 Bad Request responses sent</td></tr><tr><td>4</td><td>api401UnauthorizedReqSentCnt</td><td>HTTP 401 Unauthorized responses sent</td></tr><tr><td>5</td><td>api403ForbiddenReqSentCnt</td><td>HTTP 403 Forbidden responses sent</td></tr><tr><td>6</td><td>api404NotFoundSentCnt</td><td>HTTP 404 Not Found responses sent</td></tr><tr><td>7</td><td>api409IdempotencyErrorReqSentCnt</td><td>HTTP 409 Idempotency Error responses sent</td></tr><tr><td>8</td><td>api412PreConditionFailedSentCnt</td><td>HTTP 412 Precondition Failed responses sent</td></tr><tr><td>9</td><td>api429TooManyReqsSentCnt</td><td>HTTP 429 Too Many Requests responses sent</td></tr><tr><td>10</td><td>api4xxOtherErrorsSentCnt</td><td>All other 4xx error responses sent</td></tr><tr><td>11</td><td>api500InternalServerErrorSentCnt</td><td>HTTP 500 Internal Server Error responses sent</td></tr><tr><td>12</td><td>api501NotImplementedSentCnt</td><td>HTTP 501 Not Implemented responses sent</td></tr><tr><td>13</td><td>api502BadGatewaySentCnt</td><td>HTTP 502 Bad Gateway responses sent</td></tr><tr><td>14</td><td>api503ServiceUnavailableSentCnt</td><td>HTTP 503 Service Unavailable responses sent</td></tr><tr><td>15</td><td>api504GatewayTimeoutSentCnt</td><td>HTTP 504 Gateway Timeout responses sent</td></tr><tr><td>16</td><td>api5xxOtherErrorsSentCnt</td><td>All other 5xx error responses sent</td></tr><tr><td>17</td><td>apiOtherErrorsSentCnt</td><td>Responses sent with any other, non-standard status code</td></tr><tr><td>18</td><td>2xxSentCnt</td><td>All 2xx responses sent at the connection/stack level, where no parseable response body was present</td></tr><tr><td>19</td><td>3xxSentCnt</td><td>All 3xx responses sent at the connection/stack level, where no parseable response body was present</td></tr><tr><td>20</td><td>429SentCnt</td><td>HTTP 429 responses sent at the connection/stack level, where no parseable response body was present</td></tr><tr><td>21</td><td>4xxSentCnt</td><td>All other 4xx responses sent at the connection/stack level, where no parseable response body was present</td></tr><tr><td>22</td><td>5xxSentCnt</td><td>All 5xx responses sent at the connection/stack level, where no parseable response body was present</td></tr><tr><td>23</td><td>otherSentCnt</td><td>Any other response sent at the connection/stack level, uncategorized</td></tr></tbody></table>

### &#x20;Account Statuses (enums.accountStatuses)&#x20;

<table><thead><tr><th width="79">Code</th><th>Full Name</th><th>Description</th></tr></thead><tbody><tr><td>pnd</td><td>pending_pnd</td><td>Account not yet resolved to a terminal state.</td></tr><tr><td>rdy</td><td>ready_rdy</td><td>Account reached terminal state READY.</td></tr><tr><td>dnd</td><td>denied_dnd</td><td>Account reached terminal state DENIED.</td></tr><tr><td>timo</td><td>timeoutCountsOnly_timo</td><td>Account reached terminal state TIMEOUT. Carries counts only — never a pxx, since a timeout has no notification latency to measure.</td></tr><tr><td>dlv</td><td>delivered_dlv</td><td>Account reached terminal state DELIVERED.</td></tr></tbody></table>

### **Period Buckets (enums.periodBuckets)**&#x20;

| Code  | Full Name                      | Description                              |
| ----- | ------------------------------ | ---------------------------------------- |
| le365 | fiDataRangeUpto365Days\_le365  | Requested data span of 365 days or less. |
| gt365 | fiDataRangeAbove365Days\_gt365 | Requested data span above 365 days.      |

## Sample Payload

```json
{
  "agentVersion": "1.2",
  "jsonVersion": "1.0.0",
  "tag": "not-fipMetrics-aa",
  "txnId": "c4a2d3b5-2345-6789-abcd-ef0123456789",
  "metricCollectionId": "1769760600-NTF",
  "fromDateTime": "2026-09-30T04:30:00Z",
  "toDateTime": "2026-09-30T04:40:00Z",
  "duration": 600,
  "aaId": "sample-aa-handle",
  "enums": {
    "metricTypes": [
      "fiNotificationRecd_finot",
      "accountLinkNotificationRecd_alnot",
      "consentNotificationRecd_cnot"
    ],
    "countFields": [
      "apiTotalRecdCnt",
      "api200OKSentCnt", "api400BadReqSentCnt", "api401UnauthorizedReqSentCnt",
      "api403ForbiddenReqSentCnt", "api404NotFoundSentCnt", "api409IdempotencyErrorReqSentCnt",
      "api412PreConditionFailedSentCnt", "api429TooManyReqsSentCnt", "api4xxOtherErrorsSentCnt",
      "api500InternalServerErrorSentCnt", "api501NotImplementedSentCnt", "api502BadGatewaySentCnt",
      "api503ServiceUnavailableSentCnt", "api504GatewayTimeoutSentCnt", "api5xxOtherErrorsSentCnt",
      "apiOtherErrorsSentCnt",
      "2xxSentCnt", "3xxSentCnt", "429SentCnt", "4xxSentCnt", "5xxSentCnt", "otherSentCnt"
    ],
    "periodBuckets": [
      "fiDataRangeUpto365Days_le365",
      "fiDataRangeAbove365Days_gt365"
    ],
    "accountStatuses": [
      "pending_pnd",
      "ready_rdy",
      "denied_dnd",
      "timeoutCountsOnly_timo",
      "delivered_dlv"
    ],
    "finotBucketFields": [
      "accountCount_counts",
      "notifLatencyPercentiles_pxx"
    ],
    "responseTimeFields": ["p50", "p95", "p99", "p100"]
  },
  "fips": [
    {
      "fipId": "SAMPLE-FIP-01",
      "metrics": [
        {
          "type": "finot",
          "counts": [420,400,5,0,0,0,0,0,0,0,3,0,0,0,0,0,2,6,0,0,2,2,0],
          "buckets": {
            "le365": {
              "pnd": { "pxx": [100, 200, 300, 400], "counts": 20 },
              "rdy": { "pxx": [150, 300, 450, 600], "counts": 180 },
              "dnd": { "pxx": [180, 350, 500, 700], "counts": 5 },
              "timo": { "counts": 3 },
              "dlv": { "pxx": [200, 400, 600, 900], "counts": 190 }
            },
            "gt365": {
              "rdy": { "pxx": [400, 700, 900, 1200], "counts": 15 },
              "dlv": { "pxx": [450, 800, 1000, 1400], "counts": 12 }
            }
          }
        },
        {
          "type": "alnot",
          "counts": [150,145,2,0,0,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0]
        },
        {
          "type": "cnot",
          "counts": [80,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0]
        }
      ]
    }
  ]
}
```

> 📌 Time difference between FIReq 200 OK and failure notification (Note: All accounts are marked as DENIED or TIMEOUT in the final /FI/Notification, i.e., none of the states are READY.)


---

# 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://developer.sahamati.org.in/sahamatinet-agent-sna/sla/api-reference/sla-notification-payload.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.
