---
title: "Lets the network monitor create a new uptime status for multiple gateways"
method: POST
path: "/api/status/gateway/batch"
tags: ["status"]
---

# Lets the network monitor create a new uptime status for multiple gateways

`POST /api/status/gateway/batch`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/nym/apis/nym-node-status-api/docs/api/status/gateway/batch/post.ts> (a function with typed inputs; its response is checked against the schema)

Nym network monitor sends packets through the system and checks if they make it. The network monitor then hits this method to report whether nodes were up at a given time.

## Request body

- ModelsBatchGatewayStatus
  - `status` ModelsGatewayStatus[], required
    - `ipVersion` string, required
    - `owner` string, required
    - `pubKey` string, required
    - `up` boolean, required

## Response `201`

Created

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2021-05-18** `328b85824524`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nym/apis/nym-node-status-api/changes/api/status/gateway/batch/post.md)

---

[API](https://skmtc.dev/nym/apis/nym-node-status-api.md) - [All operations](https://skmtc.dev/nym/apis/nym-node-status-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nym/apis/nym-node-status-api/revisions/328b85824524?raw)
