---
title: "Get Published Url Map"
method: GET
path: "/api/domains/{domain_id}/chat/generated-pages/published-url-map"
tags: ["chat_generated_pages"]
---

# Get Published Url Map

`GET /api/domains/{domain_id}/chat/generated-pages/published-url-map`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/chat/generated-pages/published-url-map`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Build a published URL → page-id map for the chat model/UI context.
Uses DomainHostingConfig when present, otherwise falls back to host/ai.

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- UrlMapItem[]
  - `url` string, required
  - `id` string, required
  - `slug` string, required
  - `title` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
