assistant-prompt

Save a prompt

post/assistant/prompts/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/assistant/prompts/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

bodystring required

The message the card will put in the composer.

titlestring nullable

What to call the card. Left out, a name is taken from the prompt's own first sentence, which is what saving a message you already sent does.

Response

Successful Response

bodystring required

The message pressing the card puts in the composer.

built_inboolean required

Whether we wrote it. A built-in cannot be edited or deleted.

created_atstring date-time nullable
idstring uuid nullable

Null for a built-in prompt, which is defined in our code rather than saved.

keystring required

Stable identifier for this card across both kinds: the built-in's key, or the saved prompt's id.

titlestring required

What the card is called.

updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.