curl --request GET \
--url https://api.qovery.com/organization/{organizationId}/agentActivity/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qovery.com/organization/{organizationId}/agentActivity/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qovery.com/organization/{organizationId}/agentActivity/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qovery.com/organization/{organizationId}/agentActivity/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qovery.com/organization/{organizationId}/agentActivity/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qovery.com/organization/{organizationId}/agentActivity/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qovery.com/organization/{organizationId}/agentActivity/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"bucket": "HOUR",
"coverage": {
"sources": [
"SKILL_LOAD"
],
"note": "Only actions taken through Qovery (its API, CLI, skills and MCP server) are visible. What an agent does elsewhere, such as in a shell, in git or in a cloud console, is not."
},
"totals": {
"skill_loads": 123,
"actions": 123,
"denials": 123,
"members": 123,
"policy_tokens": 123
},
"timeline": [
{
"start": "2023-11-07T05:31:56Z",
"skill_loads": 123,
"actions": 123,
"denials": 123
}
],
"actions_by_type": [
{
"event": "DEPLOY_QUEUED",
"target_type": "APPLICATION",
"count": 123,
"denied": 123
}
],
"by_member": [
{
"actor_kind": "MEMBER",
"user_name": "<string>",
"skill_loads": 123,
"actions": 123,
"denials": 123,
"top_skills": [
"<string>"
],
"last_activity_at": "2023-11-07T05:31:56Z",
"policy_token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_sub": "<string>"
}
],
"by_skill": [
{
"loads": 123,
"actions": 123,
"denials": 123,
"members": 123,
"skill_name": "<string>"
}
],
"by_policy_token": [
{
"deleted": true,
"skill_loads": 123,
"actions": 123,
"denials": 123,
"last_activity_at": "2023-11-07T05:31:56Z",
"top_actions": [
{
"event": "DEPLOY_QUEUED",
"target_type": "APPLICATION",
"count": 123,
"denied": 123
}
],
"top_skills": [
"<string>"
],
"timeline": [
{
"start": "2023-11-07T05:31:56Z",
"actions": 123,
"denials": 123
}
],
"policy_token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"token_name": "<string>",
"role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role_name": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
],
"recent": [
{
"actor_kind": "MEMBER",
"at": "2023-11-07T05:31:56Z",
"user_name": "<string>",
"source": "SKILL_LOAD",
"event": "<string>",
"target_type": "<string>",
"target_name": "<string>",
"outcome": "ALLOWED",
"policy_token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_sub": "<string>",
"skill_name": "<string>",
"project_name": "<string>",
"environment_name": "<string>"
}
]
}Get my agent activity
Return the caller’s own agent activity: exactly what admins see about them through getAgentActivity, and nothing about other members. Any organization member can call it (READ_ORGANIZATION_DATA). Policy tokens belong to the organization, so this view takes no actorKind or policyTokenId and its by_policy_token is always empty. A refusal by policy (401) or by role permissions (403) counts as DENIED. API and policy tokens cannot call it (400): they are not members.
Coverage: only actions taken through Qovery (its API, CLI, skills and MCP server) are visible. What an agent does elsewhere, such as in a shell, in git or in a cloud console, is not. The response repeats this in coverage.
Attribution is indicative, not proof. A member is matched on the username the audit log records, and an action is attributed to a skill from the QoverySkill/<skill> user agent the client sends: a client can claim a skill it does not run, or leave the user agent out. What an agent may actually do is enforced by its token’s policy, and every refusal is recorded.
No request content is returned: only what the audit log shows (event, target, project and environment names, time, source), never prompt text or request bodies.
The range defaults to the 30 days ending now and spans at most 90 days. by_member holds at most 500 rows, by_skill 100, by_policy_token 100, actions_by_type 200 and recent the 100 most recent agent actions. Buckets are cut in UTC; empty buckets are omitted.
curl --request GET \
--url https://api.qovery.com/organization/{organizationId}/agentActivity/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qovery.com/organization/{organizationId}/agentActivity/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qovery.com/organization/{organizationId}/agentActivity/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qovery.com/organization/{organizationId}/agentActivity/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qovery.com/organization/{organizationId}/agentActivity/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qovery.com/organization/{organizationId}/agentActivity/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qovery.com/organization/{organizationId}/agentActivity/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"bucket": "HOUR",
"coverage": {
"sources": [
"SKILL_LOAD"
],
"note": "Only actions taken through Qovery (its API, CLI, skills and MCP server) are visible. What an agent does elsewhere, such as in a shell, in git or in a cloud console, is not."
},
"totals": {
"skill_loads": 123,
"actions": 123,
"denials": 123,
"members": 123,
"policy_tokens": 123
},
"timeline": [
{
"start": "2023-11-07T05:31:56Z",
"skill_loads": 123,
"actions": 123,
"denials": 123
}
],
"actions_by_type": [
{
"event": "DEPLOY_QUEUED",
"target_type": "APPLICATION",
"count": 123,
"denied": 123
}
],
"by_member": [
{
"actor_kind": "MEMBER",
"user_name": "<string>",
"skill_loads": 123,
"actions": 123,
"denials": 123,
"top_skills": [
"<string>"
],
"last_activity_at": "2023-11-07T05:31:56Z",
"policy_token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_sub": "<string>"
}
],
"by_skill": [
{
"loads": 123,
"actions": 123,
"denials": 123,
"members": 123,
"skill_name": "<string>"
}
],
"by_policy_token": [
{
"deleted": true,
"skill_loads": 123,
"actions": 123,
"denials": 123,
"last_activity_at": "2023-11-07T05:31:56Z",
"top_actions": [
{
"event": "DEPLOY_QUEUED",
"target_type": "APPLICATION",
"count": 123,
"denied": 123
}
],
"top_skills": [
"<string>"
],
"timeline": [
{
"start": "2023-11-07T05:31:56Z",
"actions": 123,
"denials": 123
}
],
"policy_token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"token_name": "<string>",
"role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role_name": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
],
"recent": [
{
"actor_kind": "MEMBER",
"at": "2023-11-07T05:31:56Z",
"user_name": "<string>",
"source": "SKILL_LOAD",
"event": "<string>",
"target_type": "<string>",
"target_name": "<string>",
"outcome": "ALLOWED",
"policy_token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_sub": "<string>",
"skill_name": "<string>",
"project_name": "<string>",
"environment_name": "<string>"
}
]
}Authorizations
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" '
Query Parameters
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.
ALLOWED, DENIED 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.
SKILL_LOAD, SKILL_API_ACTION, MCP_TOOL_CALL, POLICY_DENIAL, POLICY_TOKEN_API_ACTION Response
Agent activity over the range
Was this page helpful?