# Read the style of your diagrams

> Page: https://docs.plotwork.dev/api/get-user-style. Index of every page: https://docs.plotwork.dev/llms.txt

Your spacing and line shape, for the flow diagrams you draw on the hosted service when no organisation decides it.

`GET /user/style`

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Read the style of your diagrams. |
| What does it take? | Nothing. |
| What does it return? | Status 200 with a body of type [`UserStyle`](https://docs.plotwork.dev/api/schemas.md#userstyle). |
| What can go wrong? | `401` not signed in; `429` too many requests. Every failure uses the one error envelope. |

## What it does

Your spacing and line shape, for the flow diagrams you draw on the hosted service when no organisation decides it.

## Responses

| Status | Meaning | Body |
|---|---|---|
| 200 | The choice. | [`UserStyle`](https://docs.plotwork.dev/api/schemas.md#userstyle) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## Response body

A 200 answer has the type [`UserStyle`](https://docs.plotwork.dev/api/schemas.md#userstyle).

| Field | Type | Required | Description |
|---|---|---|---|
| `spacing` | `"compact" \| "normal" \| "roomy"` | yes | How far apart the boxes sit: compact, normal, or roomy. normal by default. |
| `edges` | `"orthogonal" \| "spline" \| "straight"` | yes | How the lines are drawn: orthogonal (straight runs, rounded corners), spline (curves), or straight (slanted). orthogonal by default. |

## See also

| Doc | Why |
|---|---|
| [API reference](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
