Skip to content
Connect an agent

Organisations

Read the style of your diagrams

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

QuestionAnswer
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.
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

StatusMeaningBody
200The choice.UserStyle
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type UserStyle.

FieldTypeRequiredDescription
spacing"compact" | "normal" | "roomy"yesHow far apart the boxes sit: compact, normal, or roomy. normal by default.
edges"orthogonal" | "spline" | "straight"yesHow the lines are drawn: orthogonal (straight runs, rounded corners), spline (curves), or straight (slanted). orthogonal by default.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools