b037ec95b2e8

OpenAPI 3.1.02026-08-1177149838.4 KB
Utility

Prefetch data

Signal that you may fetch data soon to improve latency. The type field selects what to prefetch ('brand' queues a brand data fetch, 'styleguide' queues a styleguide extraction) and identifier carries exactly one lookup key: a domain, or an email whose domain is extracted and validated (free email providers and disposable email addresses are not allowed).

post/utility/prefetch

Request body

type'brand' | 'styleguide' required

What to prefetch: 'brand' warms the brand data cache, 'styleguide' warms the styleguide cache.

timeoutMSinteger

Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).

tagsstring[]

Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

Example request

{
  "tags": [
    "production",
    "team-alpha"
  ]
}

Response

Successful response

statusstring

Status of the response, e.g., 'ok'

messagestring

Success message

type'brand' | 'styleguide'

The type of prefetch that was queued, echoed from the request

domainstring

The domain that was queued for prefetching