Skip to main content
POST
Create an insight

Authorizations

X-API-Key
string
header
required

Your Phrase Platform API token in the X-API-Key header. A missing, invalid or expired token is answered with 401. 403 means the token is valid but the action is not allowed for it.

Body

application/json

A new insight.

name
string
required

Name, unique in your organization.

Required string length: 1 - 256
description
string

What the insight is for.

active
boolean

Whether the insight can be applied to projects.

Response

An insight created

A set of prompts that extracts structured information from a recording.

id
string<uuid>

Insight ID.

name
string

Insight name.

description
string

What the insight extracts.

active
boolean

Whether the insight can be applied to projects.

default
boolean

True for items that Studio provides to every account. They cannot be edited.

shared
boolean

True for items that belong to another account of your organization; false for items you own and for Studio's defaults.

items
object[]

The prompts of the insight.

createdAt
string<date-time>

Creation time.

updatedAt
string<date-time>

Last update time.