EvoHub DocsEvoHub Docs Sign in

List the organization's support audit log

Use with AI
View as MarkdownThis page as plain text, for pasting into an AI tool Open in ClaudeAsk Claude questions about this page Open in ChatGPTAsk ChatGPT questions about this page
Connect to Cursor / VS Code / ClaudeSearch and read these docs from your AI tool (MCP server)

MCP server URL

https://docs.evohub.io/mcp

Claude Code

claude mcp add --transport http evohub-docs https://docs.evohub.io/mcp

Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector, and paste the URL above.

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "evohub-docs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://docs.evohub.io/mcp"
      ]
    }
  }
}

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "evohub-docs": {
      "url": "https://docs.evohub.io/mcp"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "evohub-docs": {
      "type": "http",
      "url": "https://docs.evohub.io/mcp"
    }
  }
}
GET/api/v1/support/audit-logs

Support activity across the whole organization — every member's tickets, not just the caller's — newest first, at most 200 entries. The entries have the same shape and actions as a ticket's audit log.

data is [] when there are no entries.

Requires the support:audit:read scope.

Authorization

Any one of:

Responses

200

The organization's support audit entries.

Content type: application/json

Type: AuditLogList

  • success boolean
    Value: true
  • data array of AuditLog
    Show AuditLog properties
    • id string
      Example: aud_1a2b3c4d5e6f7a8b
    • org_id string
    • user_id string
      Who acted; admin for EvoHub support.
    • resource_type string
      Value: ticket
    • resource_id string
      The ticket's ID.
    • action string
      One of: ticket.created message.added status.changed priority.changed
    • actor_type string
      One of: user admin
    • details object
      What changed: subject, type and priority for ticket.created; message_id for message.added; status or priority for the changes. Left out when empty.
      Other keys: any
    • created_at string (date-time)

401

No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

403

The key lacks the scope this endpoint needs (FORBIDDEN).

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

429

Too many requests (RATE_LIMITED). Wait for Retry-After seconds.

Headers

  • Retry-After integer
    Seconds to wait before retrying.

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

500

Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

Example request

curl -X GET 'https://evohub.io/api/v1/support/audit-logs' \
  -H 'Authorization: Bearer <TOKEN>'