curl --request GET \
--url https://studio.weaverse.io/api/v1/content/projects/{projectId}/hostnames \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://studio.weaverse.io/api/v1/content/projects/{projectId}/hostnames', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://studio.weaverse.io/api/v1/content/projects/{projectId}/hostnames"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"hostnames": [
{
"hostname": "my-store.example.com",
"firstSeenAt": "2026-08-14T03:22:10.000Z",
"lastSeenAt": "2026-10-20T07:41:55.000Z",
"origin": "https://my-store.example.com",
"blocked": false
},
{
"hostname": "preview.example.com",
"firstSeenAt": "2026-10-02T11:05:00.000Z",
"lastSeenAt": "2026-10-19T16:30:12.000Z",
"origin": "https://preview.example.com",
"blocked": true
}
],
"limits": {
"observedHostLimit": 100,
"retentionDays": 30
},
"truncated": false,
"propagationSeconds": 30
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}List observed storefront hostnames
Returns the project’s hostname registry: the hostnames observed serving this project, when each was first and last seen, the last observed origin, and whether it is blocked. limits gives the registry’s observed-host limit and retention; truncated is true when the list was cut at that limit. propagationSeconds is how long a policy change takes to reach the edge.
If the hostname service is unavailable the response is 503, never an empty list.
Required scope: project:manage
curl --request GET \
--url https://studio.weaverse.io/api/v1/content/projects/{projectId}/hostnames \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://studio.weaverse.io/api/v1/content/projects/{projectId}/hostnames', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://studio.weaverse.io/api/v1/content/projects/{projectId}/hostnames"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"hostnames": [
{
"hostname": "my-store.example.com",
"firstSeenAt": "2026-08-14T03:22:10.000Z",
"lastSeenAt": "2026-10-20T07:41:55.000Z",
"origin": "https://my-store.example.com",
"blocked": false
},
{
"hostname": "preview.example.com",
"firstSeenAt": "2026-10-02T11:05:00.000Z",
"lastSeenAt": "2026-10-19T16:30:12.000Z",
"origin": "https://preview.example.com",
"blocked": true
}
],
"limits": {
"observedHostLimit": 100,
"retentionDays": 30
},
"truncated": false,
"propagationSeconds": 30
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}{
"object": "error",
"code": "UNAUTHORIZED",
"message": "<string>",
"status": 123,
"details": "<unknown>"
}Authorizations
Bearer authentication: a shop API key (WEAVERSE_API_KEY), a scoped API key, a delegated MCP OAuth token, or (translation-unit routes only) a project-bound translation agent token. Scopes: content:read — Read projects, pages, theme settings, versions, drafts and translation units. content:write — Save drafts and make non-destructive edits (page items, metadata, SEO, assignments, languages, glossary). Never publishes or deletes. content:publish — Publish drafts, schedule/reschedule/cancel publications, restore versions, publish global sections. content:delete — Delete pages, global sections, languages, static keys, override reverts; required with project:manage for project deletion. project:manage — Create/copy/delete projects, settings, variants, hierarchy, backups, restore-as-new, previews, hostname policy. translations:read — Read translation units only (no general content access). translations:write — Apply translation units only; never mutates page content. A legacy unscoped API key keeps read/write/translation baseline access and every pre-scope endpoint, but never gains publish/delete/project-manage implicitly.
Path Parameters
Response
Registry
The response is of type object.
Was this page helpful?