Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Add an incident insight

Adds an assessment from a person or an agent, such as the result of a diagnosis script. It notifies nobody and never reaches a status page or the client portal.

POST https://app.upfour.io/v1/incidents/{incidentID}/insights
POST https://app.upfour.io/v1/incidents/{incidentID}/insights

A real request. Sending it changes data in your upfour account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs incident.insight.write.
Path
Body
More fields1

2 more fields are only available in JSON.

Headers

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope incident.insight.write stable Idempotency-Key supported returns 201

Parameters

FieldTypeDescription
incidentID required uuid path parameter

Body

application/json optional 4 fields

headlinestringrequired

The core statement, at most 200 characters.

originInsightOriginrequired

Who produced the assessment: kind person or agent; name (required for an agent); host (optional). The upfour diagnosis is part of the AI summary, not an insight.

Nested fields 3 fields
FieldTypeDescription
host optional string
kind optional string one ofpersonagent
name optional string
All other fields2 fields
basisstring

What was read or run to reach the assessment, at most 1000 characters, for example "read-only, changes nothing".

pointsstring[]

Supporting points, at most 10, each at most 400 characters. Empty entries are dropped.

Returns

A successful request returns 201 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data Insight
Insight · 12 fields
FieldTypeDescription
actor_label string
actor_user_id uuid · nullable The user the entry is written under: the signed-in person or the owner of the API key. Only this user or a Company admin can delete the insight.
basis string
created_at string
headline string
id uuid
incident_id uuid
origin InsightOriginResponse
InsightOriginResponse · 3 fields
FieldTypeDescription
kind string one ofpersonagent
host string
name string
points string[] · nullable

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
404 not_found The requested resource does not exist or is outside the caller's scope.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.