Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Search organization audit events, including API, CLI, MCP, and built-in agent activity.
cURL
curl --request GET \ --url https://api.forge.ai/api/headless/v1/organizations/{organizationId}/audit/events \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.forge.ai/api/headless/v1/organizations/{organizationId}/audit/events" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.forge.ai/api/headless/v1/organizations/{organizationId}/audit/events', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.forge.ai/api/headless/v1/organizations/{organizationId}/audit/events" 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)) }
{ "events": [ { "id": "<string>", "organizationId": "<string>", "action": "<string>", "actorType": "<string>", "beforeValues": {}, "afterValues": {}, "metadata": {}, "occurredAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "actorConsoleUserId": "<string>", "actorRole": "<string>", "actorDisplay": "<string>", "targetType": "<string>", "targetId": "<string>", "targetDisplay": "<string>", "requestId": "<string>", "ipAddress": "<string>", "userAgent": "<string>" } ], "totalCount": 123, "nextCursor": "<string>" }
{ "message": "<string>" }
Enter a Forge service-account token or delegated OAuth access token. Mintlify adds the Bearer prefix.
1 <= x <= 200
x >= 0
Organization audit events visible to the current headless actor.
Show child attributes