---
title: "Get Style Agent Target"
method: GET
path: "/style-agent/targets/{target_id}"
tags: ["styleAgent"]
deprecated: true
---

# Get Style Agent Target

`GET /style-agent/targets/{target_id}`

> **Deprecated.**

Deprecated alias of ``GET /style-agent/style-guides/{style_guide_id}``.

"Target" is the legacy name for a style guide; this route stays for
existing integrations. Use the style-guides route for new work.

## Path parameters

- `target_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful Response

- TargetDetailResponse — Full style guide configuration: goals -> groups -> guidelines. Trimmed from the SLS ``TargetResponse``: presets and internal source metadata are dropped so the customer-facing console renders only what the read-only view needs.
  - `id` string, required
  - `display_name` string, required
  - `description` string, nullable
  - `enabled` boolean
  - `language` StyleGuideLanguage, required
    - `display_name` string, required
    - `abbreviation` string, required
  - `language_variant` StyleGuideLanguageVariant
    - `identifier` string, required
    - `display_name` string, required
  - `goals` StyleGuideGoal[]
    - `id` string, required
    - `identifier` string, required
    - `display_name` string, nullable
    - `color` string, nullable
    - `sort_key` integer, nullable
    - `goal_groups` StyleGuideGoalGroup[]
      - `id` string, required
      - `display_name` string, nullable
      - `sort_key` integer, nullable
      - `guidelines` StyleGuideGuideline[]
        - `id` string, required
        - `identifier` string, required
        - `display_name` string, required
        - `guideline_type` string, required
        - `context_configurable` boolean
        - `active` boolean
        - `parameters` StyleGuideParameter[], nullable
          - `name` string, nullable
          - `id` string, nullable
          - `label` string, nullable
          - `display_name` string, nullable
        - `parameter_value` object, nullable
        - `contexts` string[], nullable
        - `contexts_filter_type` string, nullable
        - `contexts_active` boolean
        - `compound_selected_value` string, nullable
        - `compound_available_values` StyleGuideCompoundOption[]
          - `id` string, nullable
          - `display_name` string, nullable

## Other responses

- `401` — Authentication failed or no valid API key provided.
- `403` — Forbidden
- `422` — Validation Error
- `500` — Internal Server Error

## Changes

- **2026-08-21** `65e1214d0bbf` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/markup/apis/api-reference/changes/style-agent/targets/:target_id/get.md)

---

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