Prompts

Renames a prompt topic and returns the updated topic.

patch/v1/prompts/topics/{topic_id}

Request

  • Base URL
    https://api.lightsage.com
  • Auth
    API key in header X-Lightsage-Api-Key

Path parameters

topic_idstring required

Topic ID from GET /v1/prompts/config.

Request body

namestring required

Response

Successful Response

idstring required
namestring required
created_atstring nullable
updated_atstring nullable

Changes