Skip to main content
GET
Get my agent activity

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 activity attributed to this skill. Lowercase letters, digits, ., _ or -, at most 64 characters, otherwise the request is refused with 400.

Pattern: ^[a-z0-9._-]{1,64}$
outcome
enum<string>

DENIED lists refusals only, and leaves skill loads out. ALLOWED lists everything else, skill loads included. Whether Qovery carried out the action (ALLOWED) or refused it (DENIED). A refusal by policy (401) and a refusal by role permissions (403) are both DENIED.

Available options:
ALLOWED,
DENIED
source
enum<string>

Only count the activity from this source. Where agent activity comes from. SKILL_LOAD: a skill an agent loaded (agent loads only). SKILL_API_ACTION: an audited API call made with the QoverySkill/<skill> user agent. MCP_TOOL_CALL: a tool call through the Qovery MCP server. POLICY_DENIAL: a request refused by a policy token's policy (401), or by role permissions (403) for a call made from a skill or by a policy token. POLICY_TOKEN_API_ACTION: an audited call made by a policy token without a skill user agent, such as a script, a CI job or an agent's own HTTP client.

Available options:
SKILL_LOAD,
SKILL_API_ACTION,
MCP_TOOL_CALL,
POLICY_DENIAL,
POLICY_TOKEN_API_ACTION

Response

Agent activity 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
coverage
object
required

What this view can and cannot see.

totals
object
required
timeline
object[]
required

Activity per hour or per day, oldest first. Buckets are cut in UTC; empty buckets are omitted.

actions_by_type
object[]
required

Agent actions per audit event and target type, most frequent first, at most 200 rows.

by_member
object[]
required

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

by_skill
object[]
required

Activity per skill, most active first, at most 100 rows.

by_policy_token
object[]
required

Activity per policy token, most active first, at most 100 rows. Always empty on getMyAgentActivity.

recent
object[]
required

The 100 most recent agent actions, newest first.