Prompts

Edit a prompt's categorization

Changed on

Manual categorization, exactly like editing the intent and brand badges on the prompt page: send prompt_type, brand_kind or both. The prompt is marked as manually categorized (categorization_source becomes manual), so automatic categorization no longer changes it; the prompt page can revert it to automatic. Any other field returns ERR_INVALID_PARAM. Not available from a white-label portal (ERR_INTEGRATION_UNAVAILABLE), where the page hides the editor. Requires a read_write scope API key and, for team members, update permission on Prompts.

patch/prompts/{id}

Request

  • Base URL
    https://api.llmpulse.ai/api/v1
  • URL
    https://api.llmpulse.ai/api/v1/prompts/{id}
  • Auth
    API key in header Authorization

Path parameters

idinteger required

Request body

project_idinteger required
prompt_type'informational' | 'navigational' | 'commercial' | 'transactional'

Search intent

brand_kind'brand' | 'brand_other' | 'non_brand'

Brand focus: brand (your own brand or products), brand_other (competing brands), non_brand (generic)

Response

The prompt with its new categorization

project_idinteger required
request_idstring required

Changes