staqlydocs
REST APIAPI referenceEvents

Workspace activity log, newest first

Workspace activity log, newest first (events:read)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/events

Credential and session audit events (api_key., session., recovery_key., device., device_link., sign_in_method.) are only listed for admin principals (dashboard sessions, the Community Edition's access token, keys with the admin scope).

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Query Parameters

post_id?string
collection_id?string
channel_id?string
schedule_id?string
type?string
actor_type?string
Value in"local""session""api_key""system"
actor_id?string

One actor, e.g. an API key id (key_...) or a session id

agent?array<string>

Agent name as listed by /v1/agents (e.g. claude-code, n8n); repeat for any of several

type_prefix?string

Literal type prefix, e.g. post. or webhook.

from?string

created_at >= (RFC3339 or YYYY-MM-DD)

to?string

created_at < (RFC3339 or YYYY-MM-DD)

since?string

Alias of from

until?string

Alias of to

limit?integer

Page size (default 50, at most 200)

Range1 <= value <= 200
Default50
cursor?string

The previous page's next_cursor (an event seq)

Match^[0-9]+$

Response Body

OK

application/json
  1. response
data*array<>
next_cursor?string
curl -X GET 'https://staqly.example.com/v1/events'
{  "data": [    {      "id": "string",      "seq": 0,      "type": "post.created",      "collection_id": "string",      "post_id": "string",      "channel_id": "string",      "schedule_id": "string",      "actor": {        "type": "local",        "id": "string",        "name": "string",        "agent": "string"      },      "data": {},      "created_at": "string"    }  ],  "next_cursor": "string"}