> ## Documentation Index
> Fetch the complete documentation index at: https://lightsage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sources

> List API Performance sources and scheduled targets from the Lightsage CLI.

Sources are the API surfaces Lightsage tracks for API Performance, such as REST APIs, SDKs, CLI tools, or other configured API surfaces.

## Command

| Command                                  | Description                   |
| ---------------------------------------- | ----------------------------- |
| `lightsage api-performance sources list` | List API Performance sources. |

## List sources

```bash theme={null}
lightsage api-performance sources list --output-format json
```

Include system-managed sources:

```bash theme={null}
lightsage api-performance sources list --include-system
```

Example response:

```json theme={null}
{
  "data": [
    {
      "id": "int_123",
      "type": "rest_api",
      "label": "REST API",
      "metadata": {
        "api_base_url": "https://api.example.com",
        "env_var_keys": ["API_KEY"]
      },
      "targets": [],
      "operation_count": 14,
      "created_at": "2026-05-23T00:00:00Z"
    }
  ],
  "meta": {
    "count": 1
  }
}
```

Common source types include `rest_api`, SDK types such as `python_sdk` and `node_sdk`, and `cli`.

Use the source `id` as `--source-id` when filtering config, runs, skills, actions, eval definitions, or starter projects.
