---
title: "Get cached style profile"
method: GET
path: "/styles/{id}"
tags: ["Composition"]
---

# Get cached style profile

`GET /styles/{id}`

## Path parameters

- `id` string, required

## Response `200`

Style profile

- StyleProfile — Full style profile with sampled tweets used for tone analysis.
  - `xUsername` string, required
  - `tweetCount` integer, required
  - `isOwnAccount` boolean, required
  - `fetchedAt` string, date-time, required
  - `tweets` object[], required
    - `id` string, required
    - `text` string, required
    - `createdAt` string
    - `authorUsername` string

## Other responses

- `401` — Unauthenticated
- `404` — Not found
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.

## Changes

- **2026-07-13** `83005363f122` — 4 breaking, 52 info
  - added `subschema #1: LegacyErrorCode, subschema #2: StructuredError` to the `error` response property `oneOf` list for the response status `401`
  - added `subschema #1: LegacyErrorCode, subschema #2: StructuredError` to the `error` response property `oneOf` list for the response status `404`
  - the `error` response's property type/format changed from `string`/`` to ``/`` for status `401`
  - the `error` response's property type/format changed from `string`/`` to ``/`` for status `404`
  - …52 more
- **2026-04-25** `2adc33156b4b` — 4 warning, 7 info
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `401`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `404`
  - added the new `no_credits` enum value to the `error` response property for the response status `401`
  - added the new `no_credits` enum value to the `error` response property for the response status `404`
  - …7 more

[Change history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/styles/:id/get.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api/revisions/83005363f122/schema)
