Monday Query

Monday Query

Certified

Query Monday workspaces with paging and filters

Query Monday workspaces with paging and filters. Uses the Monday.com GraphQL API.

yaml
type: io.kestra.plugin.monday.workspaces.Query

List the first 50 workspaces

yaml
id: monday_query_workspaces
namespace: company.team

tasks:
  - id: list
    type: io.kestra.plugin.monday.workspaces.Query
    apiToken: "{{ secret('MONDAY_API_TOKEN') }}"
    limit: 50
    fetchType: FETCH
Properties

Monday API token

Personal API v2 token. Generate it in Monday under Profile, Developers, My Access Tokens. Treat the token as a secret and prefer Kestra secrets, e.g. {{ secret('MONDAY_API_TOKEN') }}.

Defaulthttps://api.monday.com/v2

Monday GraphQL endpoint

Override only for proxies or test fixtures (WireMock).

Default2024-10

Monday API version header

Sent as the API-Version header. See the Monday API versioning docs.

DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Output fetch type

Controls how results are returned: FETCH_ONE returns the first row as a map, FETCH returns all rows as an in-memory list, STORE serialises all rows to Kestra internal storage in Ion format and returns a URI, NONE discards results and returns only the count.

SubTypestring

Workspace ids filter

Possible Values
OPENCLOSED

Workspace kind

One of open, closed.

Default50

Page size

Default3

Maximum retry attempts

Number of attempts before giving up on transient Monday API errors (HTTP 429, COMPLEXITY_BUDGET_EXHAUSTED).

Reference (ref) of the pluginDefaults to apply to this task.

DefaultPT5S

Initial retry interval

Base wait between retry attempts. Doubles each attempt up to maxRetryInterval.

DefaultPT30S

Maximum retry interval

Cap on the exponentially-growing retry delay.

Possible Values
ACTIVEARCHIVEDDELETEDALL

Workspace state

One of active, archived, deleted, all.

Total workspaces fetched.