---
title: "Get all mappings for a gateway"
method: GET
path: "/gateway/{gateway_topic}/mapping"
tags: ["Mappings"]
---

# Get all mappings for a gateway

`GET /gateway/{gateway_topic}/mapping`

Retrieves all mappings defined for the specified gateway.

## Path parameters

- `gateway_topic` string, required

## Response `200`

List of mappings retrieved successfully

- MappingListResponseWrapper
  - `body` MappingListResult
    - `results` MappingResponse[] — List of mappings
      - `subject` string — Subject identifier of the mapping
      - `path` string — URL path for the mapping
      - `method` string — HTTP method for the mapping
      - `is_public` boolean — Whether the mapping is publicly accessible
      - `limit` Limit
        - `request` integer — Maximum number of requests allowed
        - `time` integer — Time window for rate limiting in milliseconds
      - `timeout` integer — Timeout in milliseconds for mapping requests
      - `traffic_distribution` object — Traffic distribution configuration for A/B testing
      - `modified` integer — Unix timestamp of when the mapping was last modified
      - `type` string — Type of the mapping record
    - `results_total` integer — Total number of mappings returned
  - `metadata` Metadata
    - `subject` string — Subject identifier for the resource

## Other responses

- `400` — Bad request
- `404` — Resource not found

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway-4.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway-4/revisions/c040b7174eb9/schema)
