Skip to content

Install templates into this tenant as prompts/skills (drafts by default).

POST
/v1/admin/templates/install
curl --request POST \
--url https://example.com/v1/admin/templates/install \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ids": [ "example" ], "overwrite": true, "status": "active" }'
Media typeapplication/json
object
ids
required

Template ids, e.g. [“prompts/core-assistant”, “skills/order-status”]

Array<string>
overwrite

Replace the content of an existing prompt/skill with the same name (new revision).

boolean
status

Status for newly created documents (default: the template status, usually draft).

string
Allowed values: active draft