---
title: "Get the org's function routing topology"
method: GET
path: "/functions/routing-topology"
tags: ["Functions"]
---

# Get the org's function routing topology

`GET /functions/routing-topology`

Returns a single snapshot of how inbound mail is routed across
this org's active domains and functions: which active domain has
which function bound, the org's fallback function (if any), and
every deployed function with no route bound. Use this to answer
"which of my functions actually receive mail?" diagnostically.

## Response `200`

Routing topology

- object
  - `success` true, required
  - `data` object, required — Org-wide map of function routing: which domain points at which function, the org's fallback binding (if any), and every deployed function with no route currently bound.
    - `domains` object[], required
      - `domain_id` string, uuid, required
      - `domain` string, required
      - `routed_function` object, nullable, required
        - `id` string, uuid, required
        - `name` string, required
      - `endpoint_enabled` boolean, nullable, required
    - `fallback_function` object, nullable, required
      - `id` string, uuid, required
      - `name` string, required
    - `fallback_enabled` boolean, nullable, required
    - `unrouted_functions` object[], required
      - `id` string, uuid, required
      - `name` string, required

## Other responses

- `401` — Invalid or missing API key
- `403` — Authenticated caller lacks permission for the operation

---

[API](https://skmtc.dev/primitive/apis/primitive-api.md) · [All operations](https://skmtc.dev/primitive/apis/primitive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/primitive/primitive-api/revisions/c2299d28022c/schema)
