Count agents/harnesses referencing each skill
GET
/v1/skills/usage
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);}curl --request GET \ --url https://app.everruns.com/api/v1/skills/usageResponses
Section titled “ Responses ”Usage map keyed by skill id
Media type application/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
Example generated
{ "additionalProperty": { "agents": 1, "harnesses": 1 }}