---
title: "Resolve a hosted website widget"
method: GET
path: "/public/widgets/{publicId}"
tags: ["Agents"]
---

# Resolve a hosted website widget

`GET /public/widgets/{publicId}`

## Request

- Base URL: `https://api.pyai.com`
- URL: `https://api.pyai.com/public/widgets/{publicId}`
- Auth: none required

Returns hosted runtime version 7, caller-only transcript capability, the published widget's safe display configuration, and public profile. Agent text is not inferred from audio. Requires an exact `Origin` header match. The opaque public id does not expose the organization, project, Agent, or credentials.

## Path parameters

- `publicId` string, required

## Headers

- `Origin` string, uri, required

## Response `200`

Safe widget configuration

- object

## Other responses

- `400`: Invalid request (bad field, unsupported value)
- `403`: Key lacks the required scope or the origin is not allow-listed (`code: forbidden | origin_not_allowed`)
- `404`: Resource not found (`code: not_found`)

---

[API](https://skmtc.dev/pyai/apis/pyai-api.md) · [All operations](https://skmtc.dev/pyai/apis/pyai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pyai/apis/pyai-api/revisions/819d8e7c4d09?raw)
