assistant-prompt

Rewrite a saved prompt

patch/assistant/prompts/{prompt_id}/

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/{prompt_id}/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

prompt_idstring uuid required

Request body

bodystring required

The message pressing the card puts in the composer.

titlestring required

What the card is called.

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.