---
title: "Analyze Style Endpoint"
method: POST
path: "/styles/{style_id}/analyze"
tags: ["styles"]
---

# Analyze Style Endpoint

`POST /styles/{style_id}/analyze`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/styles/{style_id}/analyze`
- Auth: HTTP bearer

## Path parameters

- `style_id` string, required

## Response `200`

Successful Response

- AnalyzeStyleResponse: Async dispatch acknowledgement. The worker writes results into `styles.fields` when the job completes; the frontend's job watcher sees the terminal transition and invalidates the style query so the page picks up the fresh content.
  - `style_id` string, required
  - `status` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
