PUT
/
api
/
v1
/
prompts

Authorizations

Syllable-API-Key
string
header
required

Body

application/json
name
string
required

The prompt name

type
string
required

The type of the prompt

llm_config
object
required

The configuration for the LLM that the prompt uses

id
integer
required

The prompt ID

description
string | null

The description of the prompt

context
string | null

The prompt text

tools
string[]

Names of tools to which the prompt has access

edit_comments
string | null

The comments for the most recent edit to the prompt

Response

200
application/json

A prompt defines the behavior of an agent by delivering instructions to the LLM about how the agent should behave. A prompt can be linked to one or more agents. A prompt can also be linked to tools to allow an agent using it to use those tools.

name
string
required

The prompt name

type
string
required

The type of the prompt

llm_config
object
required

The configuration for the LLM that the prompt uses

id
integer
required

The prompt ID

last_updated
string | null
required

The last updated date of the prompt

description
string | null

The description of the prompt

context
string | null

The prompt text

tools
string[]

Names of the tools to which the prompt has access

edit_comments
string | null

The comments for the most recent edit to the prompt

last_updated_by
string | null

Email address of the user who most recently updated the prompt

agent_count
integer | null

The number of agents using the prompt