---
title: "List Targets"
method: GET
path: "/v1/api-performance/targets"
tags: ["Eval Setup"]
---

# List Targets

`GET /v1/api-performance/targets`

## Request

- Base URL: `https://api.lightsage.com`
- URL: `https://api.lightsage.com/v1/api-performance/targets`
- Auth: API key in header `X-Lightsage-Api-Key`

Returns the supported text-model and coding-agent targets. To schedule a target, copy its `target` object into `targets` on `PUT /v1/api-performance/config` and add `frequency` and `enabled`.

## Response `200`

Successful Response

- PublicApiPerformanceTargetsResponse
  - `text_models` PublicApiPerformanceTextModel[], required
    - `id` string, required: Public model ID, such as `openai/gpt-5.4` or `deepseek/deepseek-v3.2`.
    - `label` string, required
    - `cost_per_1m_input` number, required: The cost in USD per one million input tokens.
    - `cost_per_1m_output` number, required: The cost in USD per one million output tokens.
    - `target` PublicApiPerformanceTargetSpec, required
      - `target_type` 'text' | 'agent', required
      - `agent_id` string, nullable: Coding agent ID from `coding_agents[].id`; required only for agent targets.
      - `model_id` string, required: Public model ID from the corresponding model entry in this response.
  - `coding_agents` PublicApiPerformanceCodingAgent[], required
    - `id` string, required: Use as `agent_id` on an agent target.
    - `label` string, required
    - `cost_estimate_per_eval` number, required: The estimated cost in USD for one evaluation.
    - `default_model_id` string, nullable: Public model ID used by the default target.
    - `target` PublicApiPerformanceTargetSpec
      - `target_type` 'text' | 'agent', required
      - `agent_id` string, nullable: Coding agent ID from `coding_agents[].id`; required only for agent targets.
      - `model_id` string, required: Public model ID from the corresponding model entry in this response.
    - `models` PublicApiPerformanceCodingAgentModel[]
      - `id` string, required: Public model ID supported by this coding-agent harness.
      - `label` string, required
      - `target` PublicApiPerformanceTargetSpec, required
        - `target_type` 'text' | 'agent', required
        - `agent_id` string, nullable: Coding agent ID from `coding_agents[].id`; required only for agent targets.
        - `model_id` string, required: Public model ID from the corresponding model entry in this response.
  - `frequencies` string[], required
  - `meta` object: Response metadata containing `text_model_count` and `coding_agent_count`.

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) - [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usesapient/apis/sapient-public-api/revisions/14890dfe867e?raw)
