Projects

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).

post/projects

Request

  • Base URL
    https://api.spectate.net/v1
  • Auth
    HTTP bearer

Request body

namestring required

Project name

escalation_path_idsstring[]

Escalation paths for alerts of the project's monitors and hosts. Leave out for none

Example request

{
  "name": "Production"
}

Response

The new project.

idstring uuid required

Project ID

namestring required

Project name

is_defaultboolean required

Whether this is the team's default project, which new monitors and hosts join when no project is given. It can't be deleted

created_atstring date-time required

When the project was created

Example response

{
  "name": "Production",
  "escalation_paths": [
    {
      "name": "On-call engineers"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.