Skip to main content
POST
Save a prompt

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Body

application/json
prompt
string
required

The text that goes into the chat box

Required string length: 1 - 20000
title
string
required
Required string length: 1 - 255
context
enum<string>
default:global

global (Stella's home) or account (an account's page)

Available options:
global,
account

Response

201 - application/json

Successful Response

categories
string[]
required

Statisfy's categories, or the workspace's tags

context
enum<string>
required

global (Stella's home) or account (an account's page)

Available options:
global,
account
created_by
string | null
required

Who saved it, an id from GET /v1/objects/user/records; null for Statisfy's, or a user who is gone

editable
boolean
required

Whether this key's person saved it, and so may change it

id
string
required
prompt
string
required

The text that goes into the chat box when someone picks it

source
enum<string>
required

statisfy (shipped by Statisfy, read-only), company (saved for the whole workspace) or personal (saved by one person)

Available options:
statisfy,
company,
personal
title
string
required
updated_at
string | null
required

ISO 8601 UTC