Projects
Projects group monitors and hosts, for example per product or environment, and give them shared escalation paths. Every team has a default project that new monitors and hosts join when no project is given.
List projects
Returns the team's projects, the default project first, then by name.
query Parameters
pagePage number, from 1.
per_pageProjects per page, 1 to 100.
List projects › Responses
Paginated set of Project
current_pagefirst_page_urlfromlast_page_urllast_pageGenerated paginator links.
next_page_urlpathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
prev_page_urltoNumber of the last item in the slice.
totalTotal number of items being paginated.
Create a project
Plans limit the number of projects: over the limit the request fails with 403
PLAN_LIMIT_REACHED. Escalation paths must belong to the team (422 otherwise).
Create a project › Request Body
nameProject name
escalation_path_idsEscalation paths for alerts of the project's monitors and hosts. Leave out for none
Create a project › Responses
The new project.
idProject ID
nameProject name
is_defaultWhether this is the team's default project, which new monitors and hosts join when no project is given. It can't be deleted
Escalation paths that alerts of this project's monitors and hosts follow, unless a monitor or host sets its own
created_atWhen the project was created
Get a project
Returns the project with the escalation paths its monitors and hosts use by default.
path Parameters
projectProject ID.
Get a project › Responses
The project.
idProject ID
nameProject name
is_defaultWhether this is the team's default project, which new monitors and hosts join when no project is given. It can't be deleted
Escalation paths that alerts of this project's monitors and hosts follow, unless a monitor or host sets its own
created_atWhen the project was created
Update a project
Changes only the fields you send. escalation_path_ids replaces the project's paths;
send [] to remove them all.
path Parameters
projectProject ID.
Update a project › Request Body
nameProject name
escalation_path_idsEscalation paths for alerts of the project's monitors and hosts; replaces the current list. Send [] for none
Update a project › Responses
The updated project.
idProject ID
nameProject name
is_defaultWhether this is the team's default project, which new monitors and hosts join when no project is given. It can't be deleted
Escalation paths that alerts of this project's monitors and hosts follow, unless a monitor or host sets its own
created_atWhen the project was created