Skip to main content
PATCH
/
admin
/
api
/
v1
/
prompts
/
{prompt_row_id}
Patch Prompt
curl --request PATCH \
  --url https://api.example.com/admin/api/v1/prompts/{prompt_row_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "tags": [
    "<string>"
  ]
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "promptId": "<string>",
    "version": 123,
    "content": "<string>",
    "tags": [
      "<string>"
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "reload": {
    "message": "<string>",
    "error": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

prompt_row_id
string<uuid>
required

Body

application/json

Body for PATCH /admin/api/v1/prompts/{id}.

Only tags is patchable. Sending null on tags is rejected (clearing tags means an empty list, not null). Content changes are not accepted on PATCH — clients POST a new version instead.

tags
string[] | null

Response

Successful Response

data
StandalonePromptRead · object
required

GET response and the data payload of POST/PATCH/DELETE responses.

reload
StandaloneReloadResult · object
required

Reload outcome attached to every admin mutation response.

reloaded means DB committed and runtime now uses the new config. restart_required means DB committed and process restart is needed. reload_failed means DB rolled back and runtime is unchanged.

Last modified on May 22, 2026