Skip to main content
PATCH
Update a queue

Authorizations

Authorization
string
header
required

LithoBlocks API key obtained from your organization dashboard. The LithoBlocks MCP server also presents a Supabase-issued user session token here on the user's behalf; such a token acts as that user with the scopes their organization role allows.

Path Parameters

id
string<uuid>
required

Body

application/json

Fields to change

name
string
Required string length: 1 - 255
description
string | null
Maximum string length: 2000
execution_config
object

Canonical keys per execution_mode: fixed_interval → { interval_minutes }; rolling_window → { window_minutes }; fixed_volume → { event_threshold, max_wait_minutes }

destination
object
aggregation_config
object | null
credit_cost
integer
Required range: 1 <= x <= 100
is_active
boolean

false pauses the queue: events are refused with 409 invalid_state and nothing is sent until it is resumed

Response

Updated

id
string
required
name
string
required
description
string | null
required
template_id
string
required
template_version_id
string | null
required
execution_mode
enum<string>
required
Available options:
fixed_interval,
rolling_window,
fixed_volume
execution_config
object
required

Canonical keys per execution_mode: fixed_interval → { interval_minutes }; rolling_window → { window_minutes }; fixed_volume → { event_threshold, max_wait_minutes }

destination
object
required
aggregation_config
object | null
required
credit_cost
integer
required
is_active
boolean
required
created_at
string
required
updated_at
string
required
pending_event_count
integer

Events waiting in the open batch

active_batch
object | null