Prompts

Accept suggested prompts

Changed on

Starts tracking up to 100 pending suggestions: each becomes a prompt in its own country and language, optionally put in one tag (tag_ids or tag_names; create_missing creates a missing name when the team member may create tags). Suggestions that are no longer pending come back in skipped. When the new prompts would exceed the plan the call returns ERR_LIMIT_REACHED and accepts nothing. The prompts of a launched pitch project are fixed, so accepting a suggestion returns ERR_INVALID_PARAM with error.meta.reason pitch_prompts_frozen. Requires a read_write scope API key and, for team members, create access to Prompts.

post/suggested_prompts/accept

Request

  • Base URL
    https://api.llmpulse.ai/api/v1
  • URL
    https://api.llmpulse.ai/api/v1/suggested_prompts/accept
  • Auth
    API key in header Authorization

Request body

project_idinteger required
idsinteger[] required

Suggestion ids to accept (max 100)

tag_idsinteger[]

One tag id to put the new prompts in

tag_namesstring[]

One tag name (case-insensitive) to put the new prompts in

create_missingboolean

Create the tag named in tag_names when it does not exist

Response

Accepted and skipped suggestions

project_idinteger required
prompts_availableinteger nullable required

Prompt slots left on the plan; null when unlimited

request_idstring required

Changes