---
title: "Diagnose Embed Settings"
method: POST
path: "/api/agents/{agent_identity_id}/embed/diagnose"
tags: ["agent-embed"]
---

# Diagnose Embed Settings

`POST /api/agents/{agent_identity_id}/embed/diagnose`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_identity_id}/embed/diagnose`
- Auth: none declared

Check owner configuration for a published URL without fetching it.

This is not evidence that a widget exists or a visitor session succeeded.
No remote requests, browser credentials, transcript or model calls are made.

## Path parameters

- `agent_identity_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- EmbedDiagnosisBody
  - `published_url` string, required

## Response `200`

Successful Response

- EmbedDiagnosisOut
  - `origin` string, required
  - `configured` boolean, required
  - `eligible` boolean, required
  - `enabled` boolean, required
  - `matching_origin` boolean, required
  - `messages` string[], required
  - `verification` string

## Other responses

- `422`: Validation Error

---

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