Monitors

Creates a monitor with one rule. The slug is derived from name.

post/v1/projects/{projectSlug}/monitors

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

Request body

OR
OR

Response

Monitor created

idstring required

Stable monitor identifier.

organizationIdstring required

Organization that owns this monitor.

projectIdstring required

Project this monitor belongs to.

slugstring required

URL-safe slug derived from name. Unique within the project.

namestring required

Human-readable name.

descriptionstring required

Free-form description. Empty string when not set.

systemboolean required

true for auto-provisioned system monitors, which cannot be deleted or edited; false otherwise.

mutedAtstring nullable required

ISO-8601 timestamp at which the monitor was muted, or null when active.

deletedAtstring nullable required

ISO-8601 timestamp at which the monitor was deleted, or null.

createdAtstring required

ISO-8601 timestamp of creation.

updatedAtstring required

ISO-8601 timestamp of the last update.

Changes

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the request body oneOf list

    • warning

      added the new urgent enum value to the / response property for the response status

    • info

      added subschema #1 subschema #2 subschema #3 to the request body oneOf list

    • breaking

      removed subschema #1 subschema #2 subschema #3 from the request body oneOf list

    • breaking

      added subschema #3 to the /////// response property oneOf list for the response status

    • breaking

      added subschema #3 to the /////// response property oneOf list for the response status

    • breaking

      added subschema #3 to the ////// response property oneOf list for the response status

    • breaking

      added subschema #3 to the ///// response property oneOf list for the response status

    • info

      added subschema #1 subschema #2 subschema #3 to the request body oneOf list