# List skills

```http
GET /projects/{project_reference}/skills
```

List the skills defined in the source of a project, a branch or an environment to find one to assign or edit; returns every skill with the source files that could not be read as skills. Requires project.agents.read.

## Parameters

| Name                    | In    | Required | Description                                                                                                                        |
| ----------------------- | ----- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`     | path  | Yes      | Project slug, UUID, or domain that identifies the project.                                                                         |
| `runtime_target_kind`   | query |          | Runtime target: main\_branch, environment or preview\_branch. Used as the source target kind when source\_target\_kind is omitted. |
| `target_environment_id` | query |          | Environment UUID, for an environment target.                                                                                       |
| `target_branch_id`      | query |          | Preview branch UUID, for a preview\_branch target.                                                                                 |
| `source_target_kind`    | query |          | Source target: project, main\_branch, environment or preview\_branch. Must match runtime\_target\_kind when both are sent.         |

## Responses

| Status | Description               |
| ------ | ------------------------- |
| 200    | Discovered project skills |
| 401    | Unauthorized              |
| 403    | Forbidden                 |
| 404    | Not found                 |
