Zum Hauptinhalt springen
POST
Connect a site

Autorisierungen

Authorization
string
header
erforderlich

Your API key, sent as Authorization: Bearer <key>.

Body

application/json
host
string
erforderlich

The public host name the site's CDN serves, such as www.example.com. Which AI agents get a copy is set in the site's CDN.

refreshDays
integer
Erforderlicher Bereich: 1 <= x <= 28
country
enum<string>
Verfügbare Optionen:
US,
KR

Antwort

The site and its key.

success
boolean
erforderlich
site
object
erforderlich
key
string
erforderlich

The site key, rs_ and 64 hex characters. It is shown only in this response; querying.ai stores its hash.