Extract Brand Kit
extract_brand_kitQueue brand-token extraction from a website URL — ASYNC: returns a jobId immediately; then wait_job(kind="brand_kit_extract", id=jobId) for the tokens (colors/fonts/title/description, fetched + regex-parsed from the site's HTML/CSS — NOT a screenshot/vision pass). It does NOT persist — review the tokens, then call create_brand_kit to save a kit. A blocked (private/SSRF), non-2xx, non-HTML, or slow (>20s) URL degrades to EMPTY token arrays (a succeeded job) rather than erroring — JS-rendered SPAs typically extract empty; author the kit manually from the compiled CSS in that case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | POST /brand-kits/extract body — the website URL to extract brand tokens from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Job family, e.g. `verify` | `preview` | `brand_kit_extract`. | |
| jobId | No | Poll GET /v1/jobs/{jobId} / wait_job until terminal. | |
| jobKey | No | Deterministic identity of the work (content hash of every input the result depends on). Re-enqueueing the same key returns the same job while it runs; a failed key revives as a fresh attempt. | |
| status | No | running on a fresh/deduped enqueue; succeeded when an identical request already completed. Cancelled is part of the shared status vocabulary; identical cancelled work revives to running. |