List organization events

List events for an organization.

Events are records of actions taken across Socket products, such as firewall decisions and CLI/SDK actions.

The maximum date range per request is 365 days. When more results are available, the response body's "endCursor" property contains the cursor to pass as the "startAfterCursor" query parameter to retrieve the next page.

This endpoint consumes 10 units of your quota.

This endpoint requires the following org token scopes:

  • telemetry-events:list
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The slug of the organization

Query Params
integer
1 to 5000
Defaults to 1000

Specify the maximum number of results to return per page (intermediate pages may have fewer than this limit and callers should always check "endCursor" in response body to know if there are more pages)

string

The ISO 8601 date in YYYY-MM-DD format (e.g. "2025-01-01"). If not specified, defaults to the current date.

string

The date range in format like "7d" or "-7d" where "d" is days. A positive value means the range extends forward from the date, and a negative value means the range extends backward. Defaults to "-7d" (past week). Maximum range is 365 days. NOTE: "latest" is not supported for events.

string

The pagination cursor that was returned as the "endCursor" property in previous request

string
Defaults to eventCreatedAt

Sort type (eventCreatedAt, eventSource, eventCategory, eventType, eventLevel, clientProductName, clientAction)

Search keywords to filter events

string

Comma-separated list of alert actions (one of "error", "warn", "monitor", "ignore"). Filters on the policy-decided alert_action column.

string

Comma-separated list of alert actions (one of "error", "warn", "monitor", "ignore"). Filters on the policy-decided alert_action column.

string

Name of artifact

string

Name of artifact

string

Filter by artifact namespace

string

Filter by artifact namespace

string

Filter by artifact purl (matches on purl without version)

string

Filter by artifact purl (matches on purl without version)

string

Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be included

string

Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be excluded

string

Filter by artifact version

string

Filter by artifact version

string

Comma-separated list of client actions (e.g., "install", "scan", "block")

string

Comma-separated list of client actions (e.g., "install", "scan", "block")

string

Comma-separated list of client machine IDs for exact matching

string

Comma-separated list of client machine IDs for exact matching

string

Comma-separated list of client product names (e.g., "socket-cli", "socket-firewall")

string

Comma-separated list of client product names (e.g., "socket-cli", "socket-firewall")

string

Comma-separated list of HTTP request user-agent header values for exact matching

string

Comma-separated list of HTTP request user-agent header values for exact matching

string

Comma-separated list of event categories (e.g., "audit", "analytics", "debug")

string

Comma-separated list of event categories (e.g., "audit", "analytics", "debug")

string

Event created at (YYYY-MM-DD HH:MM:SS in UTC time zone)

string

Event created at (YYYY-MM-DD HH:MM:SS in UTC time zone)

string

Event created at (YYYY-MM-DD HH:MM:SS in UTC time zone)

string

Event created at (YYYY-MM-DD HH:MM:SS in UTC time zone)

string

Event created at (YYYY-MM-DD HH:MM:SS in UTC time zone)

string

Comma-separated list of event levels ("trace", "debug", "info", "warn", "error", "fatal")

string

Comma-separated list of event levels ("trace", "debug", "info", "warn", "error", "fatal")

string

Comma-separated list of event sources (e.g., "api-v0", "socket-cli", "socket-firewall")

string

Comma-separated list of event sources (e.g., "api-v0", "socket-cli", "socket-firewall")

string

Comma-separated list of event types (e.g., "show_ide_text_decoration", "firewall_package_download")

string

Comma-separated list of event types (e.g., "show_ide_text_decoration", "firewall_package_download")

string

Comma-separated list of client IP addresses (HTTP request remote IPs) for exact matching

string

Comma-separated list of client IP addresses (HTTP request remote IPs) for exact matching

string

Comma-separated list of repo full names that should be included

string

Comma-separated list of repo full names that should be excluded

string

Comma-separated list of repo slugs that should be included

string

Comma-separated list of repo slugs that should be excluded

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json