Skip to Content
Replay Insights

Update Insight Status

PATCH
/v0/projects/{idOrSlug}/replay-insights/{insightId}/status

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string
insightId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
Formatuuid

Request Body

application/json
  1. body
status*string
Value in"open""resolved""ignored"

Response Body

Success

application/json
  1. response
viewed*boolean
id*string
title*string
description*string
status*string
Value in"open""resolved""ignored""merged"
kind*string
Value in"bug""friction"
mergedInto*string|null
affectedSessions*number|
identifiedUsers*number|
occurrences*number|
previousAffectedSessions*number|
trendPercent*number||null
firstSeen*string
lastSeen*string
excerpt*string|null
Example Request
curl -X PATCH 'https://api.faststats.dev/v0/projects/string/replay-insights/497f6eca-6276-4993-bfeb-53cbbbba6f08/status' \
  -H 'Content-Type: application/json' \
  -d '{
  "status": "open"
}'
Example Response
{
  "viewed": true,
  "id": "string",
  "title": "string",
  "description": "string",
  "status": "open",
  "kind": "bug",
  "mergedInto": "string",
  "affectedSessions": 0,
  "identifiedUsers": 0,
  "occurrences": 0,
  "previousAffectedSessions": 0,
  "trendPercent": 0,
  "firstSeen": "string",
  "lastSeen": "string",
  "excerpt": "string"
}