Prompts
Get Agent Version By Label
Changed onretrieve a single prompt by label under /agents/{agent_id}/prompts?label=... .
- if label is missing -> 400
- if label resolves to 0 -> 404; >1 -> 400 ambiguous (except latest which should be unique)
get/v1/agents/{agent_id}/prompts
Request
- Base URLhttps://api.getbluejay.ai
- URLhttps://api.getbluejay.ai/v1/agents/{agent_id}/prompts
- AuthHTTPBearer (a scheme the document does not define)
Path parameters
agent_idinteger required
Query parameters
labelstring nullable
Headers
X-Organization-Idstring
X-API-Keystring required
API key required to authenticate requests.
Response
Successful Response
Changes
- info
api operation id
get_prompt_by_label_agent_scoped_v1_agents__agent_id__prompts_getremoved and replaced withget_agent_version_by_label_v1_agents__agent_id__prompts_get - info
endpoint deprecated
- info
- info
added the new optional
headerrequest parameterX-Organization-Id
- info