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

# Get Style Agent Target

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

Deprecated alias of ``GET /style-agent/style-guides/{style_guide_id}``
(SUN-1667). "Target" is the legacy name for a style guide; this route
stays for existing integrations.

## 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

---

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