Prompts

Get prompt by commit

Changed on

Get prompt by commit

get/v1/private/prompts/by-commit/{commit}

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/prompts/by-commit/{commit}
  • Auth
    none declared

Path parameters

commitstring required

Response

OK

idstring uuid
namestring required
project_idstring uuid

Project ID. Takes precedence over project_name when both are provided.

descriptionstring
template_structure'text' | 'chat'

Template structure type: 'text' or 'chat'. Immutable after creation.

tagsstring[]
created_atstring date-time
created_bystring
last_updated_atstring date-time
last_updated_bystring
version_countinteger

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status