v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Goals

Generate Goals Endpoint

Generate high-level goals for a given agent based on its description and knowledge base.

post/v1/generate-goals

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

agent_idstring required

ID of the agent to generate goals for

countinteger

Number of goals to generate

prompt_idstring uuid nullable

ID of the prompt to use for goal generation

knowledge_base_idstring uuid nullable

ID of the knowledge base to use for goal generation

custom_promptstring nullable

Custom instructions for goal generation

Response

Successful Response

{"stackTrail":"paths:/v1/generate-goals:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}