---
title: "Get Routing Environment"
method: GET
path: "/api/v1/routing-environment"
tags: ["Routing Environment"]
---

# Get Routing Environment

`GET /api/v1/routing-environment`

## Query parameters

- `channel` 'voice' | 'text'

## Response `200`

Successful Response

- RoutingEnvironmentRead
  - `id` string, uuid, required
  - `name` string, required
  - `channel` 'voice' | 'text', required
  - `nodes` RoutingNode[], required
    - `id` string, uuid
    - `kind` 'voice_agent' | 'human_agent' | 'external_line' | 'property' | 'destination' | 'fallback' | 'actions' | 'text_agent' | 'text_specialist' | 'human', required
    - `label` string, required
    - `voice_agent_id` string, uuid, nullable
    - `human_agent_id` string, uuid, nullable
    - `phone_number` string, nullable
    - `property_id` string, uuid, nullable
    - `routing_destination_id` string, uuid, nullable
    - `report_agent_id` string, uuid, nullable
    - `text_agent_id` string, uuid, nullable
    - `parent_id` string, uuid, nullable
    - `position` RoutingNodePosition
      - `x` number
      - `y` number
    - `size` RoutingNodeSize — Manual node dimensions (px), set by dragging the node's resize handles. Any node kind may carry one. ``None`` means "size yourself": a ``property`` container auto-fits its children, every other kind sizes to its content. A saved size is a floor-adjusted override on the map — for containers it is never allowed to clip the children it holds.
      - `width` number, required
      - `height` number, required
    - `pre_pickup_size` RoutingNodeSize — Manual node dimensions (px), set by dragging the node's resize handles. Any node kind may carry one. ``None`` means "size yourself": a ``property`` container auto-fits its children, every other kind sizes to its content. A saved size is a floor-adjusted override on the map — for containers it is never allowed to clip the children it holds.
      - `width` number, required
      - `height` number, required
    - `pre_pickup_offset` RoutingNodePosition
      - `x` number
      - `y` number
    - `notes` string, nullable
  - `tenant_id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

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