import * as z from "zod/v3"; import { Message, Message$Outbound } from "./message.js"; /** * Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`""`) for optional fields without values. Omitting required form fields will result in a 500 error. */ export type AgentRunCreate = { /** * The ID of the agent to run. */ agentId: string; /** * The input to the agent. Required when the agent uses an input form trigger. */ input?: { [k: string]: any; } | undefined; /** * The messages to pass an input to the agent. */ messages?: Array | undefined; /** * The metadata to pass to the agent. */ metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export type AgentRunCreate$Outbound = { agent_id: string; input?: { [k: string]: any; } | undefined; messages?: Array | undefined; metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const AgentRunCreate$outboundSchema: z.ZodType; export declare function agentRunCreateToJSON(agentRunCreate: AgentRunCreate): string; //# sourceMappingURL=agentruncreate.d.ts.map