URL parameters
The ID of the Linear integration, the number in the URL of its Configure page.
Headers
Bearer $TOKEN
application/json
Body parameters
The applications whose errors the integration handles, replacing the whole list. Each is an object with the application_id of an error tracking application in the integration's team and optionally its environments, a list of environment names where empty or left out means every environment. Send [] for any application.
The Automatic issue creation toggles to change, as booleans. Toggles you leave out keep their value. The keys are spikes, new_errors, automatically_reopened, occurrence_milestones, occurrence_threshold, affected_users_threshold.
How many occurrences within occurrence_threshold_interval trigger notifications.occurrence_threshold. A positive whole number.
The interval of the occurrence threshold: minute, hour, day, or week.
How many affected users in total trigger notifications.affected_users_threshold. A positive whole number.
Only create issues for errors where at least one exception has every tag listed, with one of its values, replacing the whole list. Each row is an object with a tag and its values, a list of strings. Use a tag once, at most 10 rows, 50 values per tag and 200 characters per tag or value. Send [] for every error.
The name that identifies the integration in Better Stack.
The ID of the Linear team issues are created in. To find Linear IDs, pick the team, assignee, statuses, project and labels on the Configure page once and read them back with a GET. A new team clears linear_status_id, linear_resolved_status_id, linear_project_id and linear_label_ids, unless the same request sets them.
The ID of the Linear user new issues are assigned to. Send an empty string for none.
The ID of the Linear status new issues get. Send an empty string to use Linear's default.
The ID of the Linear project new issues are added to. Send an empty string for none.
The IDs of the Linear labels new issues get, replacing the whole list.
The priority of new issues: no_priority, urgent, high, medium, or low.
Keep Linear and error resolutions in sync, so resolving either side resolves the other. Needs linear_resolved_status_id.
The ID of the Linear status issues move to when their error is resolved.
Reopen the Linear issue when its error is automatically re-opened, moving it back to linear_status_id. Needs linear_status_id and linear_resolved_status_id.
Sync comments between errors and their Linear issues.