List audit-log events
curl --request GET \
--url https://api.magnific.com/v2/team/audit-logs/events \
--header 'x-magnific-api-key: <api-key>'import requests
url = "https://api.magnific.com/v2/team/audit-logs/events"
headers = {"x-magnific-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-magnific-api-key': '<api-key>'}};
fetch('https://api.magnific.com/v2/team/audit-logs/events', 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.magnific.com/v2/team/audit-logs/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-magnific-api-key: <api-key>"
],
]);
$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.magnific.com/v2/team/audit-logs/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-magnific-api-key", "<api-key>")
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.magnific.com/v2/team/audit-logs/events")
.header("x-magnific-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.magnific.com/v2/team/audit-logs/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-magnific-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"date": "2026-11-19 11:38:11.275000+00:00",
"event_id": "b3d1f0a2-9c4e-4a1b-8f2d-1a2b3c4d5e6f",
"member": {
"member_id": "",
"auth": {
"type": "api_key",
"api_key_id": "api_key_id",
"api_key_name": "api_key_name"
},
"type": "user",
"email": "admin@example.com"
},
"action": {
"data": {
"key": ""
},
"verb": "updated",
"folder_name": "folder_name",
"project_name": "project_name",
"duration_ms": 0,
"event_type": "creation.executed",
"old_state": {
"key": ""
},
"context": "",
"resource_id": "resource_id",
"correlation_id": "correlation_id",
"new_state": {
"key": ""
},
"request_id": "request_id",
"status": "success"
},
"source": {
"ip": "ip",
"platform": "platform",
"user_agent": "user_agent"
},
"category": "member"
},
{
"date": "2026-11-19 11:38:11.275000+00:00",
"event_id": "b3d1f0a2-9c4e-4a1b-8f2d-1a2b3c4d5e6f",
"member": {
"member_id": "",
"auth": {
"type": "api_key",
"api_key_id": "api_key_id",
"api_key_name": "api_key_name"
},
"type": "user",
"email": "admin@example.com"
},
"action": {
"data": {
"key": ""
},
"verb": "updated",
"folder_name": "folder_name",
"project_name": "project_name",
"duration_ms": 0,
"event_type": "creation.executed",
"old_state": {
"key": ""
},
"context": "",
"resource_id": "resource_id",
"correlation_id": "correlation_id",
"new_state": {
"key": ""
},
"request_id": "request_id",
"status": "success"
},
"source": {
"ip": "ip",
"platform": "platform",
"user_agent": "user_agent"
},
"category": "member"
}
],
"meta": {
"pagination": {
"next_cursor": "bzo1MA",
"has_more": true
},
"available_from": "available_from"
}
}
Audit Logs API
List audit-log events
Audit-log events of your team, newest first, a page at a time.
GET
/
v2
/
team
/
audit-logs
/
events
List audit-log events
curl --request GET \
--url https://api.magnific.com/v2/team/audit-logs/events \
--header 'x-magnific-api-key: <api-key>'import requests
url = "https://api.magnific.com/v2/team/audit-logs/events"
headers = {"x-magnific-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-magnific-api-key': '<api-key>'}};
fetch('https://api.magnific.com/v2/team/audit-logs/events', 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.magnific.com/v2/team/audit-logs/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-magnific-api-key: <api-key>"
],
]);
$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.magnific.com/v2/team/audit-logs/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-magnific-api-key", "<api-key>")
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.magnific.com/v2/team/audit-logs/events")
.header("x-magnific-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.magnific.com/v2/team/audit-logs/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-magnific-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"date": "2026-11-19 11:38:11.275000+00:00",
"event_id": "b3d1f0a2-9c4e-4a1b-8f2d-1a2b3c4d5e6f",
"member": {
"member_id": "",
"auth": {
"type": "api_key",
"api_key_id": "api_key_id",
"api_key_name": "api_key_name"
},
"type": "user",
"email": "admin@example.com"
},
"action": {
"data": {
"key": ""
},
"verb": "updated",
"folder_name": "folder_name",
"project_name": "project_name",
"duration_ms": 0,
"event_type": "creation.executed",
"old_state": {
"key": ""
},
"context": "",
"resource_id": "resource_id",
"correlation_id": "correlation_id",
"new_state": {
"key": ""
},
"request_id": "request_id",
"status": "success"
},
"source": {
"ip": "ip",
"platform": "platform",
"user_agent": "user_agent"
},
"category": "member"
},
{
"date": "2026-11-19 11:38:11.275000+00:00",
"event_id": "b3d1f0a2-9c4e-4a1b-8f2d-1a2b3c4d5e6f",
"member": {
"member_id": "",
"auth": {
"type": "api_key",
"api_key_id": "api_key_id",
"api_key_name": "api_key_name"
},
"type": "user",
"email": "admin@example.com"
},
"action": {
"data": {
"key": ""
},
"verb": "updated",
"folder_name": "folder_name",
"project_name": "project_name",
"duration_ms": 0,
"event_type": "creation.executed",
"old_state": {
"key": ""
},
"context": "",
"resource_id": "resource_id",
"correlation_id": "correlation_id",
"new_state": {
"key": ""
},
"request_id": "request_id",
"status": "success"
},
"source": {
"ip": "ip",
"platform": "platform",
"user_agent": "user_agent"
},
"category": "member"
}
],
"meta": {
"pagination": {
"next_cursor": "bzo1MA",
"has_more": true
},
"available_from": "available_from"
}
}
Authorizations
magnificApiKeybearerAuth
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Headers
Query Parameters
Was this page helpful?