Trigger an agent to perform processing. For workflow agents, pass input fields. For knowledge agents, pass a prompt (and optionally a run_id to resume a conversation).
Bearer token from your account (https://agent.ai/user/integrations#api)
The agent ID or human-readable slug.
"deepseek-r1"
The prompt or input text for the agent. For workflow agents this maps to the primary input field. For knowledge agents this is the chat message.
"who created you?"
Optional. For knowledge agents only: pass a run_id from a previous invocation to resume that conversation. Omit to start a new conversation.
"a1b2c3d4e5f67890"