---
title: "Resolve a page by slug"
method: GET
path: "/api/pages/resolve"
tags: ["Pages"]
---

# Resolve a page by slug

`GET /api/pages/resolve`

## Query parameters

- `slug` string, required
- `agentId` string

## Response `200`

Resolved page row

- object
  - `id` string, required
  - `key` string, required — Non-unique asset directory namespace (for example shared/ or personal/<user-id>/drafts/). Runtime write boundaries normalize and validate the canonical form.
  - `agentId` string, required
  - `slug` string, required
  - `title` string, required
  - `description` string
  - `contentType` 'text/html' | 'application/json', required
  - `authMode` 'public' | 'authed' | 'password', required
  - `passwordHash` string
  - `body` string, required
  - `needsCredentials` string[]
  - `viewCount` integer
  - `createdAt` string, required
  - `updatedAt` string, required
  - `favorite` boolean
  - `api_url` string, required
  - `app_url` string, required

## Other responses

- `404` — Page not found

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/ef761849166b/schema)
