Prompts

List Agent Versions

Changed on

list prompt versions with optional filters (label, version).

get/v1/agents/{agent_id}/prompts/versions

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/agents/{agent_id}/prompts/versions
  • Auth
    HTTPBearer (a scheme the document does not define)

Path parameters

agent_idinteger required

Query parameters

labelstring nullable
versioninteger nullable
limitinteger

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

idstring uuid nullable

the id of the prompt

prompt_textstring required

the prompt content

commit_messagestring nullable
labelsstring[] nullable

labels associated with the prompt

metadataobject nullable

arbitrary JSON metadata

versioninteger required

the version number of the prompt

agent_idinteger required

id of the agent that owns this prompt

Changes

    • info

      api operation id list_prompt_versions_v1_agents__agent_id__prompts_versions_get removed and replaced with list_agent_versions_v1_agents__agent_id__prompts_versions_get

    • info

      endpoint deprecated

    • info

      added the new optional header request parameter X-Organization-Id