Monitors

Update a monitor

Updates a monitor. Every field is optional, so you may send only the fields you would like to change; a field that is omitted keeps its current value. Platforms sent without a country are validated against the monitor's stored country, and a country sent without platforms must be supported by every platform the monitor already runs on.

PATCH /api/v1/monitors/{monitor}

Path parameters

Name Type Required Description
monitor integer Required

The numeric ID of the monitor.

Body parameters

Name Type Required Description
name string Optional

A human-readable name for the monitor. May be up to 120 characters.

platforms string[] Optional

The AI platforms you would like the monitor to run against. Each platform must support the chosen country.

country string Optional

A two-letter ISO 3166-1 alpha-2 country code. Pineprompt stores the value uppercased.

language string Optional

A two-letter language code, such as en or nl. The field allows up to 10 characters so that regional variants may be expressed when needed.

is_active boolean Optional

When set to true, the monitor will run on its next daily run. When set to false, the monitor is paused.

Allowed values for platforms

Field Type Description
chatgpt string
perplexity string
gemini string
grok string
copilot string
claude string
google_ai_mode string
google_ai_overview string

Response

The monitor object

Field Type Description
id integer

The unique ID of the monitor.

project_id integer

The ID of the project this monitor runs under.

name string

The display name of the monitor.

platforms string[]

The AI platforms the monitor runs against.

country string

The ISO 3166-1 alpha-2 country code.

language string

The language the monitor runs in.

is_active boolean

Whether the monitor will run on its next daily run.

created_at datetime

When the monitor was created.

updated_at datetime

When the monitor was last updated.