assets.dev docs

/extractions/:id

/api/v1/extractions/{id} - GET

GET/api/v1/extractions/{id}

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/extractions/4a01a492-f21b-4cad-9836-910ec06f6e26"
{  "id": "4a01a492-f21b-4cad-9836-910ec06f6e26",  "organizationId": "4a01a492-f21b-4cad-9836-910ec06f6e26",  "url": "http://example.com",  "normalizedDomain": "string",  "status": "queued",  "reportVersion": "string",  "report": {    "schemaVersion": 3,    "document": {      "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",      "color": {        "light": {          "primary": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "secondary": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "accent": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "background": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "surface": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "text": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "textMuted": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "$extensions": {            "property1": null,            "property2": null          }        },        "dark": {          "primary": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "secondary": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "accent": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "background": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "surface": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "text": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "textMuted": {            "$type": "color",            "$value": {              "colorSpace": "srgb",              "components": [                0              ],              "alpha": 0,              "hex": "string"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "$extensions": {            "property1": null,            "property2": null          }        },        "$extensions": {          "property1": null,          "property2": null        }      },      "gradient": {        "property1": {          "$type": "gradient",          "$value": [            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "position": 0            },            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "position": 0            }          ],          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "property2": {          "$type": "gradient",          "$value": [            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "position": 0            },            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "position": 0            }          ],          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        }      },      "font": {        "display": {          "$type": "fontFamily",          "$value": [            "string"          ],          "$description": "string",          "$extensions": {            "studio.fontRole": {              "weights": {                "regular": 1,                "medium": 1,                "bold": 1              },              "letterSpacing": "string",              "files": [                {                  "$asset": "string",                  "variable": true,                  "weight": 1,                  "weightRange": [                    1,                    1000                  ],                  "style": "normal",                  "format": "woff2"                }              ]            }          }        },        "heading": {          "$type": "fontFamily",          "$value": [            "string"          ],          "$description": "string",          "$extensions": {            "studio.fontRole": {              "weights": {                "regular": 1,                "medium": 1,                "bold": 1              },              "letterSpacing": "string",              "files": [                {                  "$asset": "string",                  "variable": true,                  "weight": 1,                  "weightRange": [                    1,                    1000                  ],                  "style": "normal",                  "format": "woff2"                }              ]            }          }        },        "body": {          "$type": "fontFamily",          "$value": [            "string"          ],          "$description": "string",          "$extensions": {            "studio.fontRole": {              "weights": {                "regular": 1,                "medium": 1,                "bold": 1              },              "letterSpacing": "string",              "files": [                {                  "$asset": "string",                  "variable": true,                  "weight": 1,                  "weightRange": [                    1,                    1000                  ],                  "style": "normal",                  "format": "woff2"                }              ]            }          }        },        "mono": {          "$type": "fontFamily",          "$value": [            "string"          ],          "$description": "string",          "$extensions": {            "studio.fontRole": {              "weights": {                "regular": 1,                "medium": 1,                "bold": 1              },              "letterSpacing": "string",              "files": [                {                  "$asset": "string",                  "variable": true,                  "weight": 1,                  "weightRange": [                    1,                    1000                  ],                  "style": "normal",                  "format": "woff2"                }              ]            }          }        },        "$extensions": {          "property1": null,          "property2": null        }      },      "radius": {        "sm": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "md": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "lg": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "xl": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "$extensions": {          "property1": null,          "property2": null        }      },      "space": {        "xs": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "sm": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "md": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "lg": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "xl": {          "$type": "dimension",          "$value": {            "value": 0,            "unit": "px"          },          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "$extensions": {          "studio.density": "compact"        }      },      "border": {        "width": {          "subtle": {            "$type": "dimension",            "$value": {              "value": 0,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "default": {            "$type": "dimension",            "$value": {              "value": 0,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "strong": {            "$type": "dimension",            "$value": {              "value": 0,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          }        },        "style": {          "subtle": {            "$type": "strokeStyle",            "$value": "none",            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "default": {            "$type": "strokeStyle",            "$value": "none",            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "strong": {            "$type": "strokeStyle",            "$value": "none",            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          }        }      },      "elevation": {        "sm": {          "$type": "shadow",          "$value": [            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "offsetX": {                "value": -1.7976931348623157e+308,                "unit": "px"              },              "offsetY": {                "value": -1.7976931348623157e+308,                "unit": "px"              },              "blur": {                "value": 0,                "unit": "px"              },              "spread": {                "value": -1.7976931348623157e+308,                "unit": "px"              }            }          ],          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "md": {          "$type": "shadow",          "$value": [            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "offsetX": {                "value": -1.7976931348623157e+308,                "unit": "px"              },              "offsetY": {                "value": -1.7976931348623157e+308,                "unit": "px"              },              "blur": {                "value": 0,                "unit": "px"              },              "spread": {                "value": -1.7976931348623157e+308,                "unit": "px"              }            }          ],          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        },        "lg": {          "$type": "shadow",          "$value": [            {              "color": {                "colorSpace": "srgb",                "components": [                  0                ],                "alpha": 0,                "hex": "string"              },              "offsetX": {                "value": -1.7976931348623157e+308,                "unit": "px"              },              "offsetY": {                "value": -1.7976931348623157e+308,                "unit": "px"              },              "blur": {                "value": 0,                "unit": "px"              },              "spread": {                "value": -1.7976931348623157e+308,                "unit": "px"              }            }          ],          "$description": "string",          "$extensions": {            "property1": null,            "property2": null          }        }      },      "typographyMeta": {        "display": {          "family": "display",          "size": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "lineHeight": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "letterSpacing": {            "$type": "dimension",            "$value": {              "value": -1.7976931348623157e+308,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "weight": 1,          "transform": "none"        },        "h1": {          "family": "display",          "size": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "lineHeight": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "letterSpacing": {            "$type": "dimension",            "$value": {              "value": -1.7976931348623157e+308,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "weight": 1,          "transform": "none"        },        "h2": {          "family": "display",          "size": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "lineHeight": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "letterSpacing": {            "$type": "dimension",            "$value": {              "value": -1.7976931348623157e+308,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "weight": 1,          "transform": "none"        },        "body": {          "family": "display",          "size": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "lineHeight": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "letterSpacing": {            "$type": "dimension",            "$value": {              "value": -1.7976931348623157e+308,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "weight": 1,          "transform": "none"        },        "caption": {          "family": "display",          "size": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "lineHeight": {            "$type": "dimension",            "$value": {              "value": 1,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "letterSpacing": {            "$type": "dimension",            "$value": {              "value": -1.7976931348623157e+308,              "unit": "px"            },            "$description": "string",            "$extensions": {              "property1": null,              "property2": null            }          },          "weight": 1,          "transform": "none"        }      },      "$extensions": {        "studio.schemaVersion": 3,        "studio.modes": {          "available": "light",          "default": "light"        },        "studio.identity": {          "name": "string",          "domain": "string",          "tagline": "string",          "description": "string",          "tone": [],          "audience": "string",          "terminology": {            "preferred": [              "string"            ],            "banned": [              "string"            ]          },          "quotes": [            {              "text": "string",              "author": "string",              "role": "string",              "company": "string"            }          ],          "customers": [            {              "name": "string",              "logo": {                "$asset": "string"              }            }          ],          "metrics": [            {              "label": "string",              "value": "string",              "source": "string"            }          ],          "socials": [            {              "type": "x",              "url": "string"            }          ]        },        "studio.typography": {          "scale": {            "display": 1,            "h1": 1,            "h2": 1,            "body": 1,            "caption": 1          },          "case": {            "eyebrow": "uppercase",            "headings": "sentence"          }        },        "studio.logos": {          "confirmed": [            {              "default": true,              "kind": "mark",              "mode": "light",              "monochrome": true,              "src": {                "$asset": "string"              },              "aspectRatio": 1,              "vector": true            }          ],          "candidates": [            {              "src": {                "$asset": "string"              },              "aspectRatio": 1,              "vector": true,              "origin": "header",              "score": 0            }          ]        },        "studio.assets": {          "ogImage": {            "$asset": "string"          },          "favicon": {            "$asset": "string"          },          "screenshots": [            {              "$asset": "string"            }          ],          "landingPageScreenshots": {            "desktop": {              "$asset": "string"            },            "mobile": {              "$asset": "string"            }          },          "images": [            {              "src": {                "$asset": "string"              },              "kind": "product",              "alt": "string"            }          ],          "patterns": [            {              "$asset": "string"            }          ],          "pressKitUrl": "http://example.com"        },        "studio.colorRationale": {          "light": "string",          "dark": "string"        },        "studio.provenance": {          "property1": {            "source": "extracted",            "confidence": 0,            "alternatives": [              null            ],            "evidenceIds": [              "string"            ]          },          "property2": {            "source": "extracted",            "confidence": 0,            "alternatives": [              null            ],            "evidenceIds": [              "string"            ]          }        }      }    },    "finalUrl": "http://example.com",    "identity": {      "property1": null,      "property2": null    },    "assets": {      "logos": [        {          "kind": "logo",          "candidateId": "string",          "sourceUrl": "string",          "key": "string",          "contentType": "string",          "bytes": 0,          "aspectRatio": 0,          "vector": true,          "origin": "header",          "sanitized": true,          "sanitizationReasons": [            "string"          ],          "assetId": "string",          "storageKey": "string"        }      ],      "selectedLogoAssetId": "string",      "ogImage": {        "kind": "logo",        "candidateId": "string",        "sourceUrl": "string",        "key": "string",        "contentType": "string",        "bytes": 0,        "aspectRatio": 0,        "vector": true,        "origin": "header",        "sanitized": true,        "sanitizationReasons": [          "string"        ],        "assetId": "string",        "storageKey": "string"      },      "screenshots": {        "desktop": {          "formFactor": "desktop",          "sourceUrl": "http://example.com",          "key": "string",          "contentType": "image/jpeg",          "bytes": 0,          "width": 1,          "height": 1,          "viewport": {            "width": 1,            "height": 1,            "deviceScaleFactor": 1,            "isMobile": true,            "hasTouch": true          },          "assetId": "string",          "storageKey": "string"        },        "mobile": {          "formFactor": "desktop",          "sourceUrl": "http://example.com",          "key": "string",          "contentType": "image/jpeg",          "bytes": 0,          "width": 1,          "height": 1,          "viewport": {            "width": 1,            "height": 1,            "deviceScaleFactor": 1,            "isMobile": true,            "hasTouch": true          },          "assetId": "string",          "storageKey": "string"        }      }    },    "fonts": {      "captured": [        {          "family": "string",          "sourceUrl": "string",          "key": "string",          "contentType": "string",          "bytes": 0,          "variable": true,          "weight": 0,          "weightRange": [            0,            0          ],          "style": "normal",          "format": "woff2",          "assetId": "string",          "storageKey": "string"        }      ],      "selected": {        "display": "string",        "heading": "string",        "body": "string",        "mono": "string"      }    },    "ai": {      "selection": {        "pipeline": "brand_extract_select",        "provider": "string",        "modelRequested": "string",        "modelServed": "string",        "status": "ok",        "attemptCount": 0,        "successSource": "initial",        "latencyMs": 0,        "promptTokens": 0,        "completionTokens": 0,        "totalTokens": 0,        "costUsd": "string",        "responseId": "string",        "finishReason": "string",        "issuePaths": [          "string"        ],        "requestHash": "string",        "responseHash": "string",        "error": "string",        "createdAt": "string"      },      "identity": {        "pipeline": "brand_extract_select",        "provider": "string",        "modelRequested": "string",        "modelServed": "string",        "status": "ok",        "attemptCount": 0,        "successSource": "initial",        "latencyMs": 0,        "promptTokens": 0,        "completionTokens": 0,        "totalTokens": 0,        "costUsd": "string",        "responseId": "string",        "finishReason": "string",        "issuePaths": [          "string"        ],        "requestHash": "string",        "responseHash": "string",        "error": "string",        "createdAt": "string"      },      "style": {        "pipeline": "brand_extract_select",        "provider": "string",        "modelRequested": "string",        "modelServed": "string",        "status": "ok",        "attemptCount": 0,        "successSource": "initial",        "latencyMs": 0,        "promptTokens": 0,        "completionTokens": 0,        "totalTokens": 0,        "costUsd": "string",        "responseId": "string",        "finishReason": "string",        "issuePaths": [          "string"        ],        "requestHash": "string",        "responseHash": "string",        "error": "string",        "createdAt": "string"      }    },    "designEvidence": {      "schemaVersion": 1,      "artifact": {        "artifactRef": "string",        "node": "design_evidence",        "artifactType": "design-evidence-v1",        "hash": "string",        "bytes": 0      },      "captureSummary": {        "count": 0,        "sampleCount": 0,        "warningCount": 0,        "observedModes": [          "light"        ],        "viewports": [          {            "width": 1,            "height": 1,            "deviceScaleFactor": 1          }        ]      },      "candidateCounts": {        "radius": 0,        "spacing": 0,        "typography": 0,        "gradients": 0,        "borders": 0,        "elevation": 0      },      "truncated": true,      "warnings": [        "string"      ]    },    "warnings": [      "string"    ],    "stageEvents": [      {        "stage": "browser_session",        "status": "done",        "progress": 0,        "payload": {          "property1": null,          "property2": null        },        "error": "string",        "createdAt": "string"      }    ]  },  "error": "string",  "claimTokenRequired": true,  "createdAt": "2019-08-24T14:15:22Z",  "finishedAt": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "string",    "message": "string",    "details": null  }}