Skip to main content
POST
PinInvestigation

Authorizations

X-WorldMonitor-Key
string
header
required

User-issued WorldMonitor API key.

Headers

Idempotency-Key
string

Optional client-generated idempotency key. Retrying a POST with the same key and an identical request body replays the original response (only the status, body, and Content-Type are reproduced) instead of re-executing; reusing the key with a different body is rejected with 422. For mutations this avoids duplicating the side effect, while for batch-read POSTs it replays a cached snapshot that can be up to 24 hours stale. Keys are scoped per authenticated caller (falling back to the source IP for unauthenticated endpoints) and retained for 24 hours.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]{1,255}$

Body

application/json

PinInvestigationRequest pins or unpins an investigation to the caller's synced workspace preferences.

investigationId
string
required
Required string length: 3 - 128
pinned
boolean
variant
string
Maximum string length: 32
clientRequestId
string
Maximum string length: 128

Response

Successful response

PinInvestigationResponse returns the updated pinned investigation list.

investigationId
string
pinned
boolean
pinnedInvestigationIds
string[]
idempotent
boolean