---
title: "GET /editor-agent/styles/{id}"
method: GET
path: "/editor-agent/styles/{id}"
tags: ["Editor Agent"]
---

# GET /editor-agent/styles/{id}

`GET /editor-agent/styles/{id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/editor-agent/styles/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `id` string, required

## Query parameters

- `workspace_id` string, required
- `version` integer

## Response `200`

OK

- Style
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `archived` boolean
  - `built_in` boolean
  - `context` string, required
  - `created_at` string, date-time
  - `definition` StyleDefinition, required
    - `captions` TextStyle, required
      - `align` 'left' | 'center' | 'right' | ''
      - `color` string
      - `font_asset_id` string
      - `font_family` string
      - `font_size` number, double
    - `guidance` string[], required
    - `interpretations` string[], required
    - `library` LibraryReference[], required
      - `id` string
      - `role` string, required
      - `version` string
    - `palette` string[], required
    - `source_project_id` string
    - `source_revision` string
    - `typography` TextStyle, required
      - `align` 'left' | 'center' | 'right' | ''
      - `color` string
      - `font_asset_id` string
      - `font_family` string
      - `font_size` number, double
  - `editor_kind` 'video' | 'image' | 'both', required
  - `id` string
  - `name` string, required
  - `shared` boolean
  - `source_instruction` string, required
  - `version` integer
  - `workspace_id` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
