Skip to content

Get a site

GET
/teams/{teamId}/domains/{domainId}
curl --request GET \
--url https://qinto-api.blotout.io/teams/7b8d1a52-6c1e-4b6f-9a30-2f8a54d1c3e9/domains/3f2a9c81-5d47-4e0b-8c66-91b2a7f04d15 \
--header 'Authorization: Bearer <token>'

Returns one site’s current state and the Qinto release it runs next to the newest one available. Poll it to watch a site move from pending to active, or to read where it is delivered from.

How it works

A deleted site is not returned; its id answers not_found even though the hostname stays reserved.

Required permissions

  • domain:read on all domains, or on the addressed domain when its id is in the route
teamId
required

Unique id (UUID) of the team that owns the addressed resources, as shown in the team settings on the Blotout platform.

string format: uuid

Example

7b8d1a52-6c1e-4b6f-9a30-2f8a54d1c3e9

Unique id (UUID) of the team that owns the addressed resources, as shown in the team settings on the Blotout platform.

domainId
required

Unique id (UUID) of the site, as returned by the create and list operations.

string format: uuid

Example

3f2a9c81-5d47-4e0b-8c66-91b2a7f04d15

Unique id (UUID) of the site, as returned by the create and list operations.

The site’s current state.

Media typeapplication/json
object
site
required

A site a team serves through Qinto, with the release it runs.

object
domainId
required

Server-assigned unique id of the site. Address the site with it in every other operation.

string
name
required

Display name of the site, as shown on the Blotout platform.

string | null
domain
required

Hostname Qinto serves this site on, built from its subdomain and root domain. It is fixed at creation.

string
rootDomain
required

Customer domain the site belongs to.

string
subdomain
required

Label Qinto serves the site from, under the root domain.

string
status
required

pending until the site is first deployed, then active. Deleted sites are not returned at all.

string
Allowed values: pending active
jurisdiction
required

Jurisdiction the site’s data is held in, or null when unrestricted. Guaranteed for Durable Objects and object storage; other storage follows locationHint where it is supported, and is otherwise placed automatically. Fixed at creation.

string | null
Allowed values: eu us
locationHint
required

Region the site’s state is placed near, or null to let Cloudflare choose. Fixed at creation.

string | null
Allowed values: wnam enam weur eeur apac oc
developmentUrl
required

Qinto URL the site can be served from while its own DNS is not set up, or null when it has none.

string | null
deliveryMode
required

Where the site is asked to be served from: its own domain, or its Qinto development_url.

string
Allowed values: domain development_url
deliveryLive
required

Whether the deployed worker already serves the requested deliveryMode. False on a site that has never deployed — call deploy — and false while a change to a deployed site has not reached the edge, which retries on its own.

boolean
hostId
required

Host the site is provisioned under. It is fixed at creation.

string
version
required

The release the site runs, next to the newest one available.

object
deployed
required

Qinto release the site’s worker runs, or null when the site has never been deployed.

string | null
latest
required

Newest Qinto release a deploy would install now, or null when none is available. Deploy the site to move onto it.

string | null

Example

{
"site": {
"domainId": "3f2a9c81-5d47-4e0b-8c66-91b2a7f04d15",
"name": "Storefront",
"domain": "shop.example.com",
"rootDomain": "example.com",
"subdomain": "shop",
"status": "pending",
"jurisdiction": "eu",
"locationHint": "wnam",
"developmentUrl": "shopexamplecom.acme.workers.dev",
"deliveryMode": "domain",
"deliveryLive": true,
"hostId": "9b1c7f30-2d85-4e77-a6c1-0f3d8e6b5a24",
"version": {
"deployed": "0.1.25",
"latest": "0.1.30"
}
}
}

invalid_params — A path parameter failed validation (for example a malformed UUID); details pinpoints the offending parameter.

Media typeapplication/json
object
error
required

Machine-readable error slug; switch on this value rather than on the HTTP status alone.

string
Allowed values: invalid_params
details

Field-level validation errors: a tree keyed by input property, each node carrying an errors array of human-readable messages. Render it to help the caller correct the request.

object
key
additional properties

Example

{
"error": "invalid_params",
"details": {
"errors": [],
"properties": {
"teamId": {
"errors": [
"Invalid UUID"
]
}
}
}
}

unauthenticated — The Authorization: Bearer token is missing, malformed, or no longer valid. Generate a team API token or obtain a new OAuth access token.

Media typeapplication/json
object
error
required

Machine-readable error slug; switch on this value rather than on the HTTP status alone.

string
Allowed values: unauthenticated

Example

{
"error": "unauthenticated"
}

forbidden — The bearer credential lacks the required permission or belongs to another team, or its user lacks the organization role a developer operation needs. Update its policies, use a credential bound to the addressed team, or ask an organization owner for the role; message states the reason when one is known.

Media typeapplication/json
object
error
required

Machine-readable error slug; switch on this value rather than on the HTTP status alone.

string
Allowed values: forbidden
message

Human-readable reason for this specific failure, intended for display — do not parse it programmatically.

string

Example

{
"error": "forbidden",
"message": "The Cloudflare API token is invalid or expired."
}

not_found — The addressed resource does not exist within this team; check the id and retry.

Media typeapplication/json
object
error
required

Machine-readable error slug; switch on this value rather than on the HTTP status alone.

string
Allowed values: not_found

Example

{
"error": "not_found"
}

internal — Unexpected server error. Nothing is guaranteed to have been persisted; idempotent operations are safe to retry.

Media typeapplication/json
object
error
required

Machine-readable error slug; switch on this value rather than on the HTTP status alone.

string
Allowed values: internal

Example

{
"error": "internal"
}