ProvisioningList raw events

List raw events

Individual events for this client, newest first — the debugging view for confirming an install or chasing a missing property. For counts and trends use the Data API instead.

exclude_event_type is applied before the limit, so high-volume telemetry such as $replay_summary cannot crowd real events off the page.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/locations/events?location_id=example_string&hours_back=42&limit=42&event_type=example_string&exclude_event_type=example_string&distinct_id=example_string&session_id=example_string&uuid=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": [
    {}
  ],
  "rows": 100
}
GET
/client/v1/locations/events
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) or location secret key (sk_). Writes require an agency key; creating a client requires an agency-wide key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too: locations:read/locations:write for one client's setup, and provisioning:write to create a client. See Using an mcp_ key over HTTP.

Agency key (ak_) or location secret key (sk_). Writes require an agency key; creating a client requires an agency-wide key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too: locations:read/locations:write for one client's setup, and provisioning:write to create a client. See Using an mcp_ key over HTTP.
query
location_idstring

Location to scope to. Required for ak_ keys (or send the X-Location-Id header); ignored for sk_. Not used when creating a client.

query
hours_backinteger

Lookback window in hours. Default 24, maximum 720.

Min: 1 • Max: 720
query
limitinteger

Rows to return. Default 100, maximum 1000.

Min: 1 • Max: 1000
query
event_typestring

Only this event name.

query
exclude_event_typestring

Comma-separated event names to omit, e.g. $replay_summary.

query
distinct_idstring

Only events for this distinct id.

query
session_idstring

Only events in this session.

query
uuidstring

Resolve one event by its event_uuid.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) or location secret key (sk_). Writes require an agency key; creating a client requires an agency-wide key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too: locations:read/locations:write for one client's setup, and provisioning:write to create a client. See Using an mcp_ key over HTTP.

Query Parameters

location_idstring

Location to scope to. Required for ak_ keys (or send the X-Location-Id header); ignored for sk_. Not used when creating a client.

hours_backinteger

Lookback window in hours. Default 24, maximum 720.

limitinteger

Rows to return. Default 100, maximum 1000.

event_typestring

Only this event name.

exclude_event_typestring

Comma-separated event names to omit, e.g. $replay_summary.

distinct_idstring

Only events for this distinct id.

session_idstring

Only events in this session.

uuidstring

Resolve one event by its event_uuid.

Responses

successboolean
dataobject[]
rowsinteger