Goals

Generate Goals Endpoint

Changed on

Generate the set of customer jobs an agent should be tested on.

The caller does not choose how many: the set is discovered from the agent's system prompt and the response reports its size.

post/v1/generate-goals

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/generate-goals
  • Auth
    HTTPBearer (a scheme the document does not define)

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Request body

agent_idstring required

ID of the agent to generate goals for

prompt_idstring uuid nullable

Deprecated. Use agent_version_id. Same uuid, still works.

agent_version_idstring uuid nullable

Agent version UUID to generate goals from (defaults to latest)

custom_promptstring nullable

Custom instructions for goal generation

Response

Successful Response

unknown required

Changes