Skip to main content
GET
/
gateway
/
all
Get all gateways
curl --request GET \
  --url https://api.quiva.ai/gateway/all \
  --header 'Authorization: Bearer <token>'
{
  "body": {
    "results": [
      {
        "name": "Gateway 1",
        "description": "First gateway",
        "subject": "ms.gateway.abc123.gateway",
        "active": true,
        "timeout": 30000,
        "limit": {
          "request": 10000,
          "time": 1000
        },
        "modified": 1713531894,
        "type": "created"
      },
      {
        "name": "Gateway 2",
        "description": "Second gateway",
        "subject": "ms.gateway.def456.gateway",
        "active": true,
        "timeout": 60000,
        "limit": {
          "request": 5000,
          "time": 1000
        },
        "modified": 1713532000,
        "type": "created"
      }
    ],
    "results_total": 2
  },
  "metadata": {
    "subject": "gateway.*.gateway.>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List of gateways retrieved successfully

body
object
metadata
object