Skip to main content
GET
Get skill usage

Authorizations

Authorization
string
header
required

JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '

Path Parameters

organizationId
string<uuid>
required

Organization ID

Query Parameters

from
string<date-time>

Start of the range, inclusive. Defaults to 30 days before to.

to
string<date-time>

End of the range, exclusive. Defaults to now. Must be after from, and the range must not exceed 90 days, otherwise the request is refused with 400.

bucket
enum<string>
default:DAY

Width of each point of the timeline. Defaults to DAY. Width of each timeline point, an hour or a day, cut in UTC.

Available options:
HOUR,
DAY
skillName
string

Only count the loads of this skill.

userSub
string

Only count the loads of this member, by the id returned by "List organization members".

skillPresetId
string<uuid>

Only count the loads made under this preset.

Response

Skill usage over the range

from
string<date-time>
required

Start of the range actually used, after defaults.

to
string<date-time>
required

End of the range actually used, after defaults.

bucket
enum<string>
required

Width of each timeline point, an hour or a day, cut in UTC.

Available options:
HOUR,
DAY
totals
object
required
timeline
object[]
required

Loads per hour or per day, oldest first. Buckets are cut in UTC, and buckets with no load are left out rather than returned as zero.

by_skill
object[]
required

Loads per skill, most loaded first, at most 100 rows.

by_member
object[]
required

Loads per member, most active first, at most 500 rows.

by_preset
object[]
required

Loads per preset, most loaded first. A row with a null preset groups the loads made with no preset.