Plugins

Break down how the organization's skills, plugins or connectors are used

Changed on

Uses of one kind of item (kind: skills, plugins or connectors) over the last days UTC calendar days including today (7, 30 or 90; default 30), grouped by any of item, member and day (comma separated in groupBy; default item). item is the skill, plugin or connector id, member the organization member id and day the UTC date; dimensions not grouped by come back null. Filter to one member (memberId), the current members of one team (teamId), or one item (itemId). A team view counts its members' past uses by their current team. Every skill load and connector call counts once. Plugins count their skills' loads plus their Workflows' runs. failures counts failed connector calls and failed Workflow runs; it is null for skills. people counts distinct members in the row. sources splits uses by what started them (agent, workflow, automation, app, artifact); a missing key is zero. Only used items appear; ids are resolved to names by the caller. At most 10000 rows: a larger result answers 422 library_usage_too_many_rows without truncation. Members with the usage_analytics.view permission only (owners and admins by default).

get/v1/library-usage

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

kind, 'skills' | 'plugins' | 'connectors' required
days, '7' | '30' | '90'
groupBy, string
memberId, string
teamId, string
itemId, string

Response

Library usage breakdown

LibraryUsageBreakdown required
kind, 'skills' | 'plugins' | 'connectors' required
days, integer required
from, string date required
to, string date required
timezone, 'UTC' required
groupBy, string[] required
trackingSince, string date-time nullable required
rows, LibraryUsageBreakdownRow[] required

Changes

    • breaking

      the response property rows/items/itemId became nullable for the status

    • breaking

      the response property rows/items/memberId became nullable for the status

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    4 more changes in this revision