Skip to main content
POST
Search activities

Authorizations

Authorization
string
header
required

Use an API key or OAuth access token. Enter only the token in the authorization dialog; requests send it as Authorization: Bearer <TOKEN>.

Create an API key in your workspace's Settings → API keys. Keys start with wm_api_ and only work in the workspace where they were created. Read-only keys can read data; creating, updating, or deleting data requires a read-write key.

OAuth access tokens are issued for connected Windmill applications.

Both token types use the authenticated user's workspace permissions. Each endpoint's permission requirements and the sharing settings of the requested items still apply.

Path Parameters

companyId
string
required

Company ID. A URL slug is also accepted. The caller must have access to this company.

Required string length: 1 - 128
Example:

"company-acme"

Body

application/json
filter
object

Which activities to match. Every supplied field must match, and the values in one list match when any one does, except tags with tagsMatch all and properties, where every condition must match. An omitted or empty list leaves its field unfiltered, except employeeIds.

page
integer
default:1

One-based page number. Defaults to 1.

Required range: x >= 1
pageSize
integer
default:20

Maximum results per page, from 1 to 100. Defaults to 20.

Required range: 1 <= x <= 100
include
object

Response

A page of matching activities.

results
object[]
required
pagination
object
required