Get Prompt By Id
Get a prompt by ID
Authorizations
Path Parameters
Response
Successful Response
Response model for prompt operations. 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. For more information, see Console docs.
The prompt name
"Weather Agent Prompt"
The type of the prompt
"prompt_v1"
The configuration for the LLM that the prompt uses
The internal ID of the prompt
1
The last updated date of the prompt
"2024-01-01T12:00:00Z"
The description of the prompt
"Prompt for a weather agent."
The prompt text that will be sent to the LLM at the beginning of the conversation
"You are a weather agent. Answer the user's questions about weather and nothing else."
Names of the tools to which the prompt has access (DEPRECATED - use information from full tools field instead)
"hangup"
"summary"
The comments for the most recent edit to the prompt
"Updated prompt text to include requirement to not answer questions that aren't about weather."
Email address of the user who most recently updated the prompt
"user@email.com"
The number of agents using the prompt
5
Full definitions of tools to which the prompt has access