Skip to main content

Get the prompt of an agent

GET 

/agents/:agent_id/prompt

Returns the prompt template and the placeholders of an agent as stored, without substitution, and input_variables: the names of the query placeholders whose values each execution supplies in prompt.

Permissions. Read on the agent.

Agents and prompt templates describes the tools for testing an agent.

Request​

Responses​

The prompt template, the placeholders and the input variables of the agent.