Create an agent
POST/v1/canvases/agent
Create an agent in an existing or new canvas. Once created, agents will continue their work autonomously.
Request Body
application/json
context * object — The context to create the agent in. This context determines which data sources the agent has access to. You must have an analyst role in this context.
type * "canvas" | "project" — The type of context
context_key * string — The unique identifier for the context.
query * string — An initial instruction for the agent
Responses
Successful response
success * boolean
request_id * string
result * object
url * string — A link to the new agent
canvas_key * string — The unique identifier for the canvas
agent_key * string — The unique identifier for an agent within a canvas