Skip to main content
POST
Create a new broadcast prompt

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Name of the prompt

prompt
string
required

The prompt content

agent_id
string<uuid>

Associated agent ID

is_global
boolean

Whether the prompt is global

goal
string

Goal of the prompt

flow
string

Flow description

tool_use_rules
string

Rules for tool usage

background
string

Background information

persona
string

Persona description

outcomes_json
object

JSON structured outcomes

example_conversation
string

Example conversation

outcomes
string

Expected outcomes

Response

Prompt created successfully

prompt
object