# Count agents and harnesses referencing each skill capability.

Source: <https://everruns.com/docs/api/operations/list_skills_usage/>

GET

/v1/skills/usage

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/skills/usage';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/skills/usage
```

* Production APIapp.everruns.com/api/v1/skills/usage

## Responses

### 200

Success

Media typeapplication/json

object

***key***

additional properties

Number of agents and harnesses that reference a skill via its `skill:{uuid}` capability id. The `/v1/skills/usage` endpoint returns this keyed by public `SkillId`; skills with no references are omitted from the map and the UI defaults missing entries to zero.

object

**agents**

required

integer format: int64

**harnesses**

required

integer format: int64

##### Examplegenerated

```json
{
  "additionalProperty": {
    "agents": 1,
    "harnesses": 1
  }
}
```