Skip to content
New

Client galleries are here.

See Galleries

Audit activity

See which key touched which route, how GearDex answered, and where a failed request came from.

StudioThe Studio API, webhooks, and MCP adapter are included with the Studio plan.Compare plans

Download Markdown

What is recorded

GearDex writes an audit entry for Studio API requests and key management actions. Request entries pair the route and method with the key, required scope, HTTP result, and authentication result.

GearDex API audit entry fields
FieldTypeDescription
event_typestringThe action, such as api_request, key_create, key_revoke, or key_list.
api_key_id / api_keystring / objectThe key ID plus its display name and safe prefix, when a key applies.
route / methodstringThe requested API route and HTTP method.
scopescopeThe permission checked for the request.
status_codenumberThe HTTP result returned to the caller.
auth_codestringThe authentication outcome or error code.
ip_addressstringThe source IP address recorded for the request.
user_agentstringThe client user-agent value, when supplied.
metadataJSONExtra request context, including request IDs where available.
created_attimestampWhen GearDex recorded the event.

Event types

GearDex API audit event types
EventKindRecorded when
api_requestRequestA Studio API route received a request.
key_createKey managementA workspace member created a new Studio key.
key_revokeKey managementA workspace member revoked a Studio key.
key_listKey managementA workspace member opened the API key list.

Read activity

Audit activity belongs to the signed-in GearDex workspace. It is not a bearer-key route in the public Studio API. Sign in, open Settings, and choose API & Agents to inspect activity through the authenticated dashboard.

jsonAudit activity response shape
{
  "logs": [
    {
      "event_type": "api_request",
      "method": "GET",
      "route": "/api/studio-agent/v1/gear",
      "scope": "gear:read",
      "status_code": 200,
      "created_at": "2026-08-02T19:48:22.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "returned": 1
  }
}

Investigation workflow

  1. Start with the time, route, method, and status code reported by the integration.
  2. Match the key name and request ID to the corresponding audit entry.
  3. Check the required scope and authentication code before changing permissions.
  4. Compare the source IP and user agent with the expected service.
  5. Revoke the key if its origin or request pattern is unfamiliar.

Privacy and retention

Audit entries can contain IP addresses, user-agent strings, route names, and request metadata. Limit access to workspace members who need operational or security visibility, and avoid placing secrets or sensitive client data in query strings.

Search documentation

Start here