type AuthToken = string | undefined;
interface Auth {
    /**
     * Which part of the request do we use to send the auth?
     *
     * @default 'header'
     */
    in?: 'header' | 'query' | 'cookie';
    /**
     * Header or query parameter name.
     *
     * @default 'Authorization'
     */
    name?: string;
    scheme?: 'basic' | 'bearer';
    type: 'apiKey' | 'http';
}

interface SerializerOptions<T> {
    /**
     * @default true
     */
    explode: boolean;
    style: T;
}
type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
type ObjectStyle = 'form' | 'deepObject';

type QuerySerializer = (query: Record<string, unknown>) => string;
type BodySerializer = (body: any) => any;
type QuerySerializerOptionsObject = {
    allowReserved?: boolean;
    array?: Partial<SerializerOptions<ArrayStyle>>;
    object?: Partial<SerializerOptions<ObjectStyle>>;
};
type QuerySerializerOptions = QuerySerializerOptionsObject & {
    /**
     * Per-parameter serialization overrides. When provided, these settings
     * override the global array/object settings for specific parameter names.
     */
    parameters?: Record<string, QuerySerializerOptionsObject>;
};

type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
    /**
     * Returns the final request URL.
     */
    buildUrl: BuildUrlFn;
    getConfig: () => Config;
    request: RequestFn;
    setConfig: (config: Config) => Config;
} & {
    [K in HttpMethod]: MethodFn;
} & ([SseFn] extends [never] ? {
    sse?: never;
} : {
    sse: {
        [K in HttpMethod]: SseFn;
    };
});
interface Config$1 {
    /**
     * Auth token or a function returning auth token. The resolved value will be
     * added to the request payload as defined by its `security` array.
     */
    auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
    /**
     * A function for serializing request body parameter. By default,
     * {@link JSON.stringify()} will be used.
     */
    bodySerializer?: BodySerializer | null;
    /**
     * An object containing any HTTP headers that you want to pre-populate your
     * `Headers` object with.
     *
     * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
     */
    headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
    /**
     * The request method.
     *
     * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
     */
    method?: Uppercase<HttpMethod>;
    /**
     * A function for serializing request query parameters. By default, arrays
     * will be exploded in form style, objects will be exploded in deepObject
     * style, and reserved characters are percent-encoded.
     *
     * This method will have no effect if the native `paramsSerializer()` Axios
     * API function is used.
     *
     * {@link https://swagger.io/docs/specification/serialization/#query View examples}
     */
    querySerializer?: QuerySerializer | QuerySerializerOptions;
    /**
     * A function validating request data. This is useful if you want to ensure
     * the request conforms to the desired shape, so it can be safely sent to
     * the server.
     */
    requestValidator?: (data: unknown) => Promise<unknown>;
    /**
     * A function transforming response data before it's returned. This is useful
     * for post-processing data, e.g. converting ISO strings into Date objects.
     */
    responseTransformer?: (data: unknown) => Promise<unknown>;
    /**
     * A function validating response data. This is useful if you want to ensure
     * the response conforms to the desired shape, so it can be safely passed to
     * the transformers and returned to the user.
     */
    responseValidator?: (data: unknown) => Promise<unknown>;
}

type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
    /**
     * Fetch API implementation. You can use this option to provide a custom
     * fetch instance.
     *
     * @default globalThis.fetch
     */
    fetch?: typeof fetch;
    /**
     * Implementing clients can call request interceptors inside this hook.
     */
    onRequest?: (url: string, init: RequestInit) => Promise<Request>;
    /**
     * Callback invoked when a network or parsing error occurs during streaming.
     *
     * This option applies only if the endpoint returns a stream of events.
     *
     * @param error The error that occurred.
     */
    onSseError?: (error: unknown) => void;
    /**
     * Callback invoked when an event is streamed from the server.
     *
     * This option applies only if the endpoint returns a stream of events.
     *
     * @param event Event streamed from the server.
     * @returns Nothing (void).
     */
    onSseEvent?: (event: StreamEvent<TData>) => void;
    serializedBody?: RequestInit['body'];
    /**
     * Default retry delay in milliseconds.
     *
     * This option applies only if the endpoint returns a stream of events.
     *
     * @default 3000
     */
    sseDefaultRetryDelay?: number;
    /**
     * Maximum number of retry attempts before giving up.
     */
    sseMaxRetryAttempts?: number;
    /**
     * Maximum retry delay in milliseconds.
     *
     * Applies only when exponential backoff is used.
     *
     * This option applies only if the endpoint returns a stream of events.
     *
     * @default 30000
     */
    sseMaxRetryDelay?: number;
    /**
     * Optional sleep function for retry backoff.
     *
     * Defaults to using `setTimeout`.
     */
    sseSleepFn?: (ms: number) => Promise<void>;
    url: string;
};
interface StreamEvent<TData = unknown> {
    data: TData;
    event?: string;
    id?: string;
    retry?: number;
}
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
    stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
};

type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
declare class Interceptors<Interceptor> {
    fns: Array<Interceptor | null>;
    clear(): void;
    eject(id: number | Interceptor): void;
    exists(id: number | Interceptor): boolean;
    getInterceptorIndex(id: number | Interceptor): number;
    update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
    use(fn: Interceptor): number;
}
interface Middleware<Req, Res, Err, Options> {
    error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
    request: Interceptors<ReqInterceptor<Req, Options>>;
    response: Interceptors<ResInterceptor<Res, Req, Options>>;
}

type ResponseStyle = 'data' | 'fields';
interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
    /**
     * Base URL for all requests made by this client.
     */
    baseUrl?: T['baseUrl'];
    /**
     * Fetch API implementation. You can use this option to provide a custom
     * fetch instance.
     *
     * @default globalThis.fetch
     */
    fetch?: typeof fetch;
    /**
     * Please don't use the Fetch client for Next.js applications. The `next`
     * options won't have any effect.
     *
     * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
     */
    next?: never;
    /**
     * Return the response data parsed in a specified format. By default, `auto`
     * will infer the appropriate method from the `Content-Type` response header.
     * You can override this behavior with any of the {@link Body} methods.
     * Select `stream` if you don't want to parse response data at all.
     *
     * @default 'auto'
     */
    parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
    /**
     * Should we return only data or multiple fields (data, error, response, etc.)?
     *
     * @default 'fields'
     */
    responseStyle?: ResponseStyle;
    /**
     * Throw an error instead of returning it in the response?
     *
     * @default false
     */
    throwOnError?: T['throwOnError'];
}
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
    responseStyle: TResponseStyle;
    throwOnError: ThrowOnError;
}>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
    /**
     * Any body that you want to add to your request.
     *
     * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
     */
    body?: unknown;
    path?: Record<string, unknown>;
    query?: Record<string, unknown>;
    /**
     * Security mechanism(s) to use for the request.
     */
    security?: ReadonlyArray<Auth>;
    url: Url;
}
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
    serializedBody?: string;
}
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
    data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
    request: Request;
    response: Response;
}> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
    data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
    error: undefined;
} | {
    data: undefined;
    error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
}) & {
    request: Request;
    response: Response;
}>;
interface ClientOptions$1 {
    baseUrl?: string;
    responseStyle?: ResponseStyle;
    throwOnError?: boolean;
}
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
type BuildUrlFn = <TData extends {
    body?: unknown;
    path?: Record<string, unknown>;
    query?: Record<string, unknown>;
    url: string;
}>(options: TData & Options$1<TData>) => string;
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
    interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
};
interface TDataShape {
    body?: unknown;
    headers?: unknown;
    path?: unknown;
    query?: unknown;
    url: string;
}
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);

type ClientOptions = {
    baseUrl: 'https://odyssey.asteroid.ai/agents/v2' | (string & {});
};
type AgentsAgentAvailableTool = {
    name: string;
    description: string;
    capability: string;
    isRequired: boolean;
};
type AgentsAgentAvailableToolsResponse = {
    tools: Array<AgentsAgentAvailableTool>;
};
type AgentsAgentBase = {
    id: CommonUuid;
    name: string;
    createdAt: string;
    organizationId?: CommonUuid;
    userId: CommonUuid;
};
type AgentsAgentExecuteAgentRequest = {
    /**
     * The ID of the agent profile to use for this execution. Mutually exclusive with agentProfilePoolId.
     */
    agentProfileId?: CommonUuid;
    /**
     * The ID of the agent profile pool to select a profile from. Mutually exclusive with agentProfileId.
     */
    agentProfilePoolId?: CommonUuid;
    /**
     * Inputs to be merged into the placeholders defined in prompts
     */
    inputs?: {
        [key: string]: unknown;
    };
    /**
     * Deprecated: Use 'inputs' instead. Inputs to be merged into the placeholders defined in prompts
     *
     * @deprecated
     */
    dynamicData?: {
        [key: string]: unknown;
    };
    /**
     * Array of temporary files to attach to the execution. Must have been pre-uploaded using the stage file endpoint
     */
    tempFiles?: Array<AgentsFilesTempFile>;
    /**
     * Optional metadata key-value pairs (string keys and string values) for organizing and filtering executions
     */
    metadata?: {
        [key: string]: unknown;
    };
    /**
     * The version of the agent to execute. If not provided, the latest version will be used.
     */
    version?: number;
    /**
     * Per-execution runtime options that override or extend the agent's default settings.
     */
    executionOptions?: AgentsAgentExecutionOptions;
};
type AgentsAgentExecuteAgentResponse = {
    /**
     * The ID of the newly created execution
     */
    executionId: CommonUuid;
};
/**
 * Per-execution runtime options.
 */
type AgentsAgentExecutionOptions = {
    /**
     * Scopes shared-file storage to a per-entity subdirectory under each node's shared folder. The value is normalised to a filesystem-safe slug by the server.
     */
    sharedStorageKey?: string;
    /**
     * Soft timeout in minutes. When the execution has been running longer than this value, a message is injected on every subsequent step urging the agent to wrap up and produce output. Must be greater than 0 and less than the agent's hard timeout (max_timeout_mins).
     */
    softTimeoutMins?: number;
};
type AgentsAgentSortField = 'name' | 'created_at';
type AgentsContextUserContextResponse = {
    userId: CommonUuid;
    email: string;
    organizations: Array<AgentsContextUserOrganization>;
};
type AgentsContextUserOrganization = {
    id: CommonUuid;
    name: string;
};
/**
 * Request to search Asteroid documentation
 */
type AgentsDocsSearchDocsRequest = {
    /**
     * Search query to find relevant documentation
     */
    query: string;
};
/**
 * Response containing documentation search results
 */
type AgentsDocsSearchDocsResponse = {
    /**
     * Search results matching the query
     */
    results: Array<AgentsDocsSearchResult>;
};
/**
 * A single documentation search result
 */
type AgentsDocsSearchResult = {
    /**
     * Result title
     */
    title: string;
    /**
     * Result content/snippet
     */
    content: string;
    /**
     * Source URL
     */
    url?: string;
};
/**
 * API key reference used for authentication
 */
type AgentsExecutionApiKeyRef = {
    /**
     * API key ID
     */
    id: CommonUuid;
    /**
     * API key name
     */
    name: string;
};
/**
 * API-triggered execution context
 */
type AgentsExecutionApiTriggerContext = {
    /**
     * Trigger source discriminator
     */
    source: 'api';
    /**
     * Runner information
     */
    runner: AgentsExecutionTriggerRunner;
    /**
     * API key used for authentication (may be hidden for privacy when admin-triggered)
     */
    apiKey?: AgentsExecutionApiKeyRef;
};
type AgentsExecutionActionName = 'element_click' | 'element_type' | 'element_select' | 'element_hover' | 'element_drag' | 'element_wait' | 'element_fill_form' | 'element_get_text' | 'element_file_upload' | 'coord_move' | 'coord_click' | 'coord_double_click' | 'coord_triple_click' | 'coord_drag' | 'coord_scroll' | 'nav_to' | 'nav_back' | 'nav_refresh' | 'nav_tabs' | 'nav_close_browser' | 'nav_resize_browser' | 'nav_install_browser' | 'nav_zoom_in' | 'nav_zoom_out' | 'obs_snapshot' | 'obs_snapshot_with_selectors' | 'obs_screenshot' | 'obs_console_messages' | 'obs_network_requests' | 'obs_extract_html' | 'script_eval' | 'script_playwright' | 'script_playwright_llm_vars' | 'script_hybrid_playwright' | 'browser_run_code' | 'browser_press_key' | 'browser_handle_dialog' | 'browser_read_clipboard' | 'browser_solve_captcha' | 'file_list' | 'file_read' | 'file_stage' | 'file_download' | 'file_pdf_save' | 'scratchpad_read' | 'scratchpad_write' | 'scriptpad_run_function' | 'scriptpad_search_replace' | 'scriptpad_read' | 'scriptpad_write' | 'ext_google_sheets_get_data' | 'ext_google_sheets_set_value' | 'ext_get_mail' | 'ext_send_mail' | 'ext_api_call' | 'util_wait_time' | 'util_get_datetime' | 'util_generate_totp_secret' | 'util_send_user_message' | 'agent_query_context' | 'agent_compile_workflow' | 'llm_call' | 'sdk_bash' | 'sdk_read' | 'sdk_write' | 'sdk_edit' | 'sdk_glob' | 'sdk_grep' | 'handoff_prepare' | 'read_file';
type AgentsExecutionActivity = {
    id: CommonUuid;
    payload: AgentsExecutionActivityPayloadUnion;
    executionId: CommonUuid;
    timestamp: string;
};
type AgentsExecutionActivityActionCompletedInfo = ({
    actionName: 'ext_api_call';
} & AgentsExecutionExtApiCallCompletedDetails) | ({
    actionName: 'scratchpad_read';
} & AgentsExecutionScratchpadReadCompletedDetails) | ({
    actionName: 'scratchpad_write';
} & AgentsExecutionScratchpadWriteCompletedDetails) | ({
    actionName: 'script_playwright';
} & AgentsExecutionScriptPlaywrightCompletedDetails) | ({
    actionName: 'script_hybrid_playwright';
} & AgentsExecutionScriptHybridPlaywrightCompletedDetails) | ({
    actionName: 'browser_run_code';
} & AgentsExecutionBrowserRunCodeCompletedDetails) | ({
    actionName: 'script_eval';
} & AgentsExecutionScriptEvalCompletedDetails) | ({
    actionName: 'file_read';
} & AgentsExecutionFileReadCompletedDetails) | ({
    actionName: 'file_list';
} & AgentsExecutionFileListCompletedDetails) | ({
    actionName: 'file_stage';
} & AgentsExecutionFileStageCompletedDetails) | ({
    actionName: 'element_file_upload';
} & AgentsExecutionElementFileUploadCompletedDetails) | ({
    actionName: 'ext_get_mail';
} & AgentsExecutionExtGetMailCompletedDetails) | ({
    actionName: 'scriptpad_run_function';
} & AgentsExecutionScriptPadRunFunctionCompletedDetails) | ({
    actionName: 'scriptpad_read';
} & AgentsExecutionScriptpadReadCompletedDetails) | ({
    actionName: 'scriptpad_write';
} & AgentsExecutionScriptpadWriteCompletedDetails) | ({
    actionName: 'scriptpad_search_replace';
} & AgentsExecutionScriptpadSearchReplaceCompletedDetails) | ({
    actionName: 'obs_snapshot_with_selectors';
} & AgentsExecutionObsSnapshotWithSelectorsCompletedDetails) | ({
    actionName: 'util_get_datetime';
} & AgentsExecutionUtilGetDatetimeCompletedDetails) | ({
    actionName: 'nav_to';
} & AgentsExecutionNavToCompletedDetails) | ({
    actionName: 'agent_query_context';
} & AgentsExecutionAgentQueryContextCompletedDetails) | ({
    actionName: 'sdk_bash';
} & AgentsExecutionSdkBashCompletedDetails) | ({
    actionName: 'sdk_read';
} & AgentsExecutionSdkReadCompletedDetails) | ({
    actionName: 'sdk_write';
} & AgentsExecutionSdkWriteCompletedDetails) | ({
    actionName: 'sdk_edit';
} & AgentsExecutionSdkEditCompletedDetails) | ({
    actionName: 'sdk_glob';
} & AgentsExecutionSdkGlobCompletedDetails) | ({
    actionName: 'sdk_grep';
} & AgentsExecutionSdkGrepCompletedDetails) | ({
    actionName: 'read_file';
} & AgentsExecutionReadFileCompletedDetails) | ({
    actionName: 'handoff_prepare';
} & AgentsExecutionHandoffPrepareCompletedDetails) | ({
    actionName: 'ext_send_mail';
} & AgentsExecutionExtSendMailCompletedDetails);
type AgentsExecutionActivityActionCompletedPayload = {
    activityType: 'action_completed';
    message: string;
    actionId: string;
    actionName: AgentsExecutionActionName;
    duration?: number;
    info?: AgentsExecutionActivityActionCompletedInfo;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityActionFailedPayload = {
    activityType: 'action_failed';
    message: string;
    actionName: AgentsExecutionActionName;
    actionId: string;
    duration?: number;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityActionStartedInfo = ({
    actionName: 'nav_to';
} & AgentsExecutionNavToStartedDetails) | ({
    actionName: 'scratchpad_read';
} & AgentsExecutionScratchpadReadStartedDetails) | ({
    actionName: 'scratchpad_write';
} & AgentsExecutionScratchpadWriteStartedDetails) | ({
    actionName: 'scriptpad_run_function';
} & AgentsExecutionScriptpadRunFunctionStartedDetails) | ({
    actionName: 'script_playwright';
} & AgentsExecutionScriptPlaywrightStartedDetails) | ({
    actionName: 'script_hybrid_playwright';
} & AgentsExecutionScriptHybridPlaywrightStartedDetails) | ({
    actionName: 'browser_run_code';
} & AgentsExecutionBrowserRunCodeStartedDetails) | ({
    actionName: 'script_eval';
} & AgentsExecutionScriptEvalStartedDetails) | ({
    actionName: 'scriptpad_search_replace';
} & AgentsExecutionScriptpadSearchReplaceStartedDetails) | ({
    actionName: 'util_get_datetime';
} & AgentsExecutionUtilGetDatetimeStartedDetails) | ({
    actionName: 'scriptpad_read';
} & AgentsExecutionScriptpadReadStartedDetails) | ({
    actionName: 'llm_call';
} & AgentsExecutionLlmCallStartedDetails) | ({
    actionName: 'agent_query_context';
} & AgentsExecutionAgentQueryContextStartedDetails) | ({
    actionName: 'sdk_bash';
} & AgentsExecutionSdkBashStartedDetails) | ({
    actionName: 'sdk_read';
} & AgentsExecutionSdkReadStartedDetails) | ({
    actionName: 'sdk_write';
} & AgentsExecutionSdkWriteStartedDetails) | ({
    actionName: 'sdk_edit';
} & AgentsExecutionSdkEditStartedDetails) | ({
    actionName: 'sdk_glob';
} & AgentsExecutionSdkGlobStartedDetails) | ({
    actionName: 'sdk_grep';
} & AgentsExecutionSdkGrepStartedDetails) | ({
    actionName: 'read_file';
} & AgentsExecutionReadFileStartedDetails) | ({
    actionName: 'handoff_prepare';
} & AgentsExecutionHandoffPrepareStartedDetails) | ({
    actionName: 'ext_send_mail';
} & AgentsExecutionExtSendMailStartedDetails);
type AgentsExecutionActivityActionStartedPayload = {
    activityType: 'action_started';
    message: string;
    actionName: AgentsExecutionActionName;
    actionId: string;
    info?: AgentsExecutionActivityActionStartedInfo;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityCompactionPerformedPayload = {
    activityType: 'compaction_performed';
    summaryTokens: number;
    durationMs: number;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityCompactionStartedPayload = {
    activityType: 'compaction_started';
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityDisplay = {
    turnId?: string;
    groupId?: string;
    summaryText?: string;
    presentationLevel?: AgentsExecutionActivityPresentationLevel;
};
type AgentsExecutionActivityFileAddedPayload = {
    activityType: 'file_added';
    fileId: CommonUuid;
    fileName: string;
    mimeType: string;
    fileSize: number;
    source: 'upload' | 'download' | 'agent';
    presignedUrl: string;
};
type AgentsExecutionActivityGenericPayload = {
    activityType: 'generic';
    message: string;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityPayloadUnion = ({
    activityType: 'terminal';
} & AgentsExecutionTerminalPayload) | ({
    activityType: 'generic';
} & AgentsExecutionActivityGenericPayload) | ({
    activityType: 'reasoning';
} & AgentsExecutionActivityReasoningPayload) | ({
    activityType: 'compaction_started';
} & AgentsExecutionActivityCompactionStartedPayload) | ({
    activityType: 'compaction_performed';
} & AgentsExecutionActivityCompactionPerformedPayload) | ({
    activityType: 'step_started';
} & AgentsExecutionActivityStepStartedPayload) | ({
    activityType: 'step_completed';
} & AgentsExecutionActivityStepCompletedPayload) | ({
    activityType: 'transitioned_node';
} & AgentsExecutionActivityTransitionedNodePayload) | ({
    activityType: 'status_changed';
} & AgentsExecutionActivityStatusChangedPayload) | ({
    activityType: 'action_started';
} & AgentsExecutionActivityActionStartedPayload) | ({
    activityType: 'action_completed';
} & AgentsExecutionActivityActionCompletedPayload) | ({
    activityType: 'action_failed';
} & AgentsExecutionActivityActionFailedPayload) | ({
    activityType: 'user_message_received';
} & AgentsExecutionActivityUserMessageReceivedPayload) | ({
    activityType: 'file_added';
} & AgentsExecutionActivityFileAddedPayload) | ({
    activityType: 'workflow_updated';
} & AgentsExecutionActivityWorkflowUpdatedPayload) | ({
    activityType: 'playwright_script_generated';
} & AgentsExecutionActivityPlaywrightScriptGeneratedPayload) | ({
    activityType: 'script_variables_substituted';
} & AgentsExecutionActivityScriptVariablesSubstitutedPayload) | ({
    activityType: 'todos_updated';
} & AgentsExecutionActivityTodosUpdatedPayload);
type AgentsExecutionActivityPlaywrightScriptGeneratedPayload = {
    activityType: 'playwright_script_generated';
    nodeId: CommonUuid;
    nodeName: string;
    script: string;
    llmVars?: Array<AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar>;
    context: string;
    oldScript?: string;
};
type AgentsExecutionActivityPresentationLevel = 'primary' | 'secondary' | 'system';
type AgentsExecutionActivityReasoningPayload = {
    activityType: 'reasoning';
    reasoning: string;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityScriptVariablesSubstitutedPayload = {
    activityType: 'script_variables_substituted';
    nodeId: CommonUuid;
    nodeName: string;
    scriptFileName: string;
    placeholders: Array<string>;
    variables: {
        [key: string]: unknown;
    };
    substituted: boolean;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityStatusChangedPayload = {
    activityType: 'status_changed';
    status: AgentsExecutionStatus;
    completedPayload?: AgentsExecutionCompletedPayload;
    failedPayload?: AgentsExecutionFailedPayload;
    pausedPayload?: AgentsExecutionPausedPayload;
    awaitingConfirmationPayload?: AgentsExecutionAwaitingConfirmationPayload;
    cancelledPayload?: AgentsExecutionCancelledPayload;
};
type AgentsExecutionActivityStepCompletedPayload = {
    activityType: 'step_completed';
    stepNumber: number;
};
type AgentsExecutionActivityStepStartedPayload = {
    activityType: 'step_started';
    stepNumber: number;
};
type AgentsExecutionActivityTodosUpdatedPayload = {
    activityType: 'todos_updated';
    todos: Array<AgentsExecutionTodo>;
    display?: AgentsExecutionActivityDisplay;
};
type AgentsExecutionActivityTransitionedNodePayload = {
    activityType: 'transitioned_node';
    newNodeUUID: CommonUuid;
    newNodeName: string;
    newNodeType: string;
    fromNodeDuration?: number;
    transitionType?: AgentsGraphModelsTransitionsTransitionType;
    /**
     * Output variables provided by the from node
     */
    fromNodeOutput?: Array<AgentsExecutionNodeOutputItem>;
    /**
     * A summary of the work done in the previous node
     */
    fromNodeSummary?: string;
};
type AgentsExecutionActivityUserMessageReceivedPayload = {
    activityType: 'user_message_received';
    message: string;
    userUUID: CommonUuid;
};
type AgentsExecutionActivityWorkflowUpdatedPayload = {
    activityType: 'workflow_updated';
    workflowUpdate: Array<AgentsExecutionWorkflowUpdate>;
};
type AgentsExecutionAgentQueryContextCompletedDetails = {
    actionName: 'agent_query_context';
    query: string;
    answer: string;
};
type AgentsExecutionAgentQueryContextStartedDetails = {
    actionName: 'agent_query_context';
    query: string;
};
type AgentsExecutionAskUserQuestion = {
    questions: Array<AgentsExecutionQuestionItem>;
};
type AgentsExecutionAwaitingConfirmationPayload = {
    reason: string;
};
type AgentsExecutionBrowserRunCodeCompletedDetails = {
    actionName: 'browser_run_code';
    success: boolean;
    result: string;
    consoleLogs: Array<string>;
    failedLine?: number;
};
type AgentsExecutionBrowserRunCodeStartedDetails = {
    actionName: 'browser_run_code';
    code: string;
};
type AgentsExecutionCancelReason = 'timeout' | 'max_steps' | 'user_requested' | 'script_failed';
type AgentsExecutionCancelledPayload = {
    reason: AgentsExecutionCancelReason;
};
/**
 * User comment on an execution
 */
type AgentsExecutionComment = {
    /**
     * Unique identifier for the comment
     */
    id: CommonUuid;
    /**
     * Execution this comment belongs to
     */
    executionId: CommonUuid;
    /**
     * User who created the comment
     */
    userId: CommonUuid;
    /**
     * Comment content
     */
    content: string;
    /**
     * Whether the comment is public
     */
    public: boolean;
    /**
     * When the comment was created
     */
    createdAt: string;
    /**
     * When the comment was last updated
     */
    updatedAt?: string;
};
type AgentsExecutionCompletedPayload = {
    outcome: string;
    reasoning: string;
    result: unknown;
    lessons_learned?: string;
};
type AgentsExecutionElementFileUploadCompletedDetails = {
    actionName: 'element_file_upload';
    fileNames: Array<string>;
};
/**
 * Execution result containing outcome, reasoning, and result data
 */
type AgentsExecutionExecutionResult = {
    /**
     * Unique identifier for the result
     */
    id: CommonUuid;
    /**
     * Execution this result belongs to
     */
    executionId: CommonUuid;
    /**
     * Outcome of the execution (success or failure)
     */
    outcome: string;
    /**
     * AI reasoning for the outcome
     */
    reasoning: string;
    /**
     * Result data as JSON
     */
    result: unknown;
    /**
     * When the result was created
     */
    createdAt: string;
};
type AgentsExecutionExtApiCallCompletedDetails = {
    actionName: 'ext_api_call';
    statusCode: string;
    responseBody: string;
    requestMethod?: string;
    requestUrl?: string;
};
type AgentsExecutionExtGetMailCompletedDetails = {
    actionName: 'ext_get_mail';
    emailCount: number;
    emails: Array<unknown>;
};
type AgentsExecutionExtSendMailCompletedDetails = {
    actionName: 'ext_send_mail';
    success: boolean;
    emailId?: string;
};
type AgentsExecutionExtSendMailStartedDetails = {
    actionName: 'ext_send_mail';
    to: Array<string>;
    subject: string;
    cc?: Array<string>;
    bcc?: Array<string>;
    bodyPreview?: string;
};
type AgentsExecutionFailedPayload = {
    reason: string;
    os_error?: CommonOsError;
};
type AgentsExecutionFileListCompletedDetails = {
    actionName: 'file_list';
    fileNames: Array<string>;
};
type AgentsExecutionFileReadCompletedDetails = {
    actionName: 'file_read';
    fileNames: Array<string>;
    errorCount?: number;
    totalSizeBytes?: number;
};
type AgentsExecutionFileStageCompletedDetails = {
    actionName: 'file_stage';
    fileNames: Array<string>;
};
type AgentsExecutionHandoffPrepareCompletedDetails = {
    actionName: 'handoff_prepare';
    success: boolean;
};
type AgentsExecutionHandoffPrepareStartedDetails = {
    actionName: 'handoff_prepare';
    target?: string;
    summary?: string;
    variables?: Array<AgentsExecutionHandoffPrepareVariable>;
};
type AgentsExecutionHandoffPrepareVariable = {
    name: string;
    value: string;
};
/**
 * Human-applied label for categorizing executions
 */
type AgentsExecutionHumanLabel = {
    /**
     * Unique identifier for the label
     */
    id: CommonUuid;
    /**
     * Organization this label belongs to
     */
    organizationId: CommonUuid;
    /**
     * Display name of the label
     */
    name: string;
    /**
     * Hex color code for the label (e.g., #FF5733)
     */
    color: string;
    /**
     * When the label was created
     */
    createdAt: string;
};
type AgentsExecutionLlmCallPurpose = 'iris_pick_next_action' | 'transition_pick_next_node' | 'output_populate_result' | 'generate_hybrid_playwright_code' | 'generate_playwright_variables';
type AgentsExecutionLlmCallStartedDetails = {
    actionName: 'llm_call';
    purpose: AgentsExecutionLlmCallPurpose;
};
/**
 * Represents a single execution in a list view
 */
type AgentsExecutionListItem = {
    /**
     * The unique identifier of the execution
     */
    id: CommonUuid;
    /**
     * The ID of the agent that was executed
     */
    agentId: CommonUuid;
    /**
     * The ID of the workflow that was executed
     */
    workflowId: CommonUuid;
    /**
     * The current status of the execution
     */
    status: AgentsExecutionStatus;
    /**
     * When the execution was created
     */
    createdAt: string;
    /**
     * When the execution reached a terminal state (if applicable)
     */
    terminalAt?: string;
    /**
     * The organization this execution belongs to
     */
    organizationId: CommonUuid;
    /**
     * The agent display name
     */
    agentName: string;
    /**
     * The name of the agent profile used for this execution (if any)
     */
    agentProfileName?: string;
    /**
     * The ID of the agent profile used for this execution (if any)
     */
    agentProfileId?: CommonUuid;
    /**
     * Input variables used for this execution
     */
    inputs?: {
        [key: string]: unknown;
    };
    /**
     * Execution result with outcome, reasoning, and result data
     */
    executionResult?: AgentsExecutionExecutionResult;
    /**
     * Execution duration in seconds (only present for terminal executions)
     */
    duration?: number;
    /**
     * Human-applied labels for this execution
     */
    humanLabels: Array<AgentsExecutionHumanLabel>;
    /**
     * Comments on this execution
     */
    comments: Array<AgentsExecutionComment>;
    /**
     * Optional metadata key-value pairs attached to this execution
     */
    metadata?: {
        [key: string]: unknown;
    };
    /**
     * Recording URL for playback (if an environment was used and execution is terminal)
     */
    recordingUrl?: string;
    /**
     * Live view URL for debugging (if an environment is active and execution is running)
     */
    liveViewUrl?: string;
    /**
     * Deprecated: Use 'recordingUrl' instead.
     *
     * @deprecated
     */
    browserRecordingUrl?: string;
    /**
     * Deprecated: Use 'liveViewUrl' instead.
     *
     * @deprecated
     */
    browserLiveViewUrl?: string;
    /**
     * Context about how and by whom this execution was triggered (discriminated by source)
     */
    triggerContext?: AgentsExecutionTriggerContext;
    /**
     * Per-execution runtime options (e.g. shared storage key)
     */
    executionOptions?: AgentsAgentExecutionOptions;
    /**
     * Whether this execution has been rerun at least once
     */
    hasBeenRerun: boolean;
    /**
     * ID of the execution this was rerun from, if applicable
     */
    parentExecutionId?: CommonUuid;
    /**
     * Whether this execution is a live environment (astro-driven live session) — the UI hides activity-feed chrome for these runs. Optional because the Electric-synced shape does not yet carry this column.
     */
    isLiveEnvironment?: boolean;
};
type AgentsExecutionNavToCompletedDetails = {
    actionName: 'nav_to';
    pageTitle?: string;
};
type AgentsExecutionNavToStartedDetails = {
    actionName: 'nav_to';
    url: string;
};
type AgentsExecutionNodeDetails = {
    nodeID: CommonUuid;
    nodeName: string;
    nodeType: string;
};
/**
 * A single output variable with a name and value
 */
type AgentsExecutionNodeOutputItem = {
    /**
     * The name of the output variable
     */
    name: string;
    /**
     * The value of the output variable
     */
    value: string;
};
type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails = {
    actionName: 'obs_snapshot_with_selectors';
    url: string;
    title: string;
};
type AgentsExecutionPausedPayload = {
    reason: string;
    question?: AgentsExecutionAskUserQuestion;
};
type AgentsExecutionQuestionItem = {
    question: string;
    header: string;
    options: Array<AgentsExecutionQuestionOption>;
    multiSelect?: boolean;
};
type AgentsExecutionQuestionOption = {
    label: string;
    description: string;
};
type AgentsExecutionReadFileCompletedDetails = {
    actionName: 'read_file';
    contentType: 'image' | 'document' | 'text' | 'unknown';
    mimeType?: string;
    content?: string;
};
type AgentsExecutionReadFileStartedDetails = {
    actionName: 'read_file';
    filePath: string;
};
type AgentsExecutionRulesDetails = {
    rules: string;
};
/**
 * Schedule reference for schedule-triggered executions
 */
type AgentsExecutionScheduleRef = {
    /**
     * Schedule ID
     */
    id: CommonUuid;
    /**
     * Cron expression of the schedule
     */
    cronExpression: string;
};
/**
 * Schedule-triggered execution context
 */
type AgentsExecutionScheduleTriggerContext = {
    /**
     * Trigger source discriminator
     */
    source: 'schedule';
    /**
     * Schedule that triggered the execution
     */
    schedule: AgentsExecutionScheduleRef;
};
type AgentsExecutionScratchpadReadCompletedDetails = {
    actionName: 'scratchpad_read';
    content?: string;
    contentTruncated?: boolean;
};
type AgentsExecutionScratchpadReadStartedDetails = {
    actionName: 'scratchpad_read';
    operation: 'read';
};
type AgentsExecutionScratchpadWriteCompletedDetails = {
    actionName: 'scratchpad_write';
    linesChanged: number;
    totalLines: number;
    patchesApplied: number;
    content?: string;
    contentTruncated?: boolean;
};
type AgentsExecutionScratchpadWriteStartedDetails = {
    actionName: 'scratchpad_write';
    operation: 'write';
};
type AgentsExecutionScriptEvalCompletedDetails = {
    actionName: 'script_eval';
    result: unknown;
};
type AgentsExecutionScriptEvalStartedDetails = {
    actionName: 'script_eval';
    element?: string;
    ref?: string;
    function: string;
};
type AgentsExecutionScriptHybridPlaywrightCompletedDetails = {
    actionName: 'script_hybrid_playwright';
    success: boolean;
    result: string;
    consoleLogs: Array<string>;
    failedLine?: number;
};
type AgentsExecutionScriptHybridPlaywrightStartedDetails = {
    actionName: 'script_hybrid_playwright';
    llmVars?: Array<string>;
};
type AgentsExecutionScriptPadRunFunctionCompletedDetails = {
    actionName: 'scriptpad_run_function';
    success: boolean;
    result: string;
    consoleLogs: Array<string>;
    failedLine?: number;
};
type AgentsExecutionScriptPlaywrightCompletedDetails = {
    actionName: 'script_playwright';
    success: boolean;
    result: string;
    consoleLogs: Array<string>;
    failedLine?: number;
};
type AgentsExecutionScriptPlaywrightStartedDetails = {
    actionName: 'script_playwright';
    llmVars?: Array<string>;
};
type AgentsExecutionScriptpadReadCompletedDetails = {
    actionName: 'scriptpad_read';
    content: string;
};
type AgentsExecutionScriptpadReadStartedDetails = {
    actionName: 'scriptpad_read';
    offset: number;
    limit: number;
};
type AgentsExecutionScriptpadRunFunctionStartedDetails = {
    actionName: 'scriptpad_run_function';
    functionName: string;
    arguments: unknown;
};
type AgentsExecutionScriptpadSearchReplaceCompletedDetails = {
    actionName: 'scriptpad_search_replace';
    linesReplaced: number;
    linesReplacedWith: number;
    oldTotalLines: number;
    newTotalLines: number;
    oldScriptpad?: string;
    newScriptpad?: string;
};
type AgentsExecutionScriptpadSearchReplaceStartedDetails = {
    actionName: 'scriptpad_search_replace';
    search: string;
    replace: string;
    replaceAll: boolean;
};
type AgentsExecutionScriptpadWriteCompletedDetails = {
    actionName: 'scriptpad_write';
    linesChanged: number;
    totalLines: number;
    patchesApplied: number;
    scriptpad?: string;
};
type AgentsExecutionSdkBashCompletedDetails = {
    actionName: 'sdk_bash';
    output: string;
    exitCode?: number;
};
type AgentsExecutionSdkBashStartedDetails = {
    actionName: 'sdk_bash';
    command: string;
    description?: string;
};
type AgentsExecutionSdkEditCompletedDetails = {
    actionName: 'sdk_edit';
    success: boolean;
};
type AgentsExecutionSdkEditStartedDetails = {
    actionName: 'sdk_edit';
    filePath: string;
    oldString: string;
    newString: string;
    replaceAll?: boolean;
};
type AgentsExecutionSdkGlobCompletedDetails = {
    actionName: 'sdk_glob';
    files: Array<string>;
};
type AgentsExecutionSdkGlobStartedDetails = {
    actionName: 'sdk_glob';
    pattern: string;
    path?: string;
};
type AgentsExecutionSdkGrepCompletedDetails = {
    actionName: 'sdk_grep';
    output: string;
    outputMode?: string;
};
type AgentsExecutionSdkGrepStartedDetails = {
    actionName: 'sdk_grep';
    pattern: string;
    path?: string;
    glob?: string;
    outputMode?: string;
};
type AgentsExecutionSdkReadCompletedDetails = {
    actionName: 'sdk_read';
    content: string;
};
type AgentsExecutionSdkReadStartedDetails = {
    actionName: 'sdk_read';
    filePath: string;
    offset?: number;
    limit?: number;
};
type AgentsExecutionSdkWriteCompletedDetails = {
    actionName: 'sdk_write';
    success: boolean;
};
type AgentsExecutionSdkWriteStartedDetails = {
    actionName: 'sdk_write';
    filePath: string;
};
/**
 * Fields that can be used for sorting executions
 */
type AgentsExecutionSortField = 'created_at' | 'status';
type AgentsExecutionStatus = 'starting' | 'running' | 'paused' | 'awaiting_confirmation' | 'completed' | 'cancelled' | 'failed' | 'paused_by_agent';
type AgentsExecutionTerminalPayload = {
    activityType: 'terminal';
    reason: 'unsubscribe' | 'complete' | 'error';
    message?: string;
};
type AgentsExecutionTodo = {
    content: string;
    activeForm?: string;
    status: AgentsExecutionTodoStatus;
};
type AgentsExecutionTodoStatus = 'pending' | 'in_progress' | 'completed';
type AgentsExecutionTransitionDetails = {
    transitionID: CommonUuid;
    transitionType: string;
};
/**
 * Discriminated union of trigger contexts (discriminated by source)
 */
type AgentsExecutionTriggerContext = ({
    source: 'api';
} & AgentsExecutionApiTriggerContext) | ({
    source: 'ui';
} & AgentsExecutionUiTriggerContext) | ({
    source: 'schedule';
} & AgentsExecutionScheduleTriggerContext);
/**
 * Runner information - who triggered the execution
 */
type AgentsExecutionTriggerRunner = {
    /**
     * User ID of the runner
     */
    userId: CommonUuid;
    /**
     * Email of the runner
     */
    email: string;
    /**
     * Whether the user is an admin (may be hidden for privacy)
     */
    isAdmin?: boolean;
};
/**
 * UI-triggered execution context
 */
type AgentsExecutionUiTriggerContext = {
    /**
     * Trigger source discriminator
     */
    source: 'ui';
    /**
     * Runner information
     */
    runner: AgentsExecutionTriggerRunner;
};
type AgentsExecutionUpdateExecutionStatusRequest = {
    /**
     * The new status to set for the execution
     */
    status: AgentsExecutionUpdateableStatus;
};
type AgentsExecutionUpdateType = 'add' | 'edit' | 'delete';
/**
 * Status values that can be set via the update endpoint
 */
type AgentsExecutionUpdateableStatus = 'running' | 'paused' | 'cancelled';
type AgentsExecutionUserMessagesAddTextBody = {
    message: string;
};
type AgentsExecutionUtilGetDatetimeCompletedDetails = {
    actionName: 'util_get_datetime';
    usedBrowserTimezone: boolean;
    datetime: string;
    tzTimezoneIdentifier: string;
};
type AgentsExecutionUtilGetDatetimeStartedDetails = {
    actionName: 'util_get_datetime';
    tzTimezoneIdentifier: string;
};
type AgentsExecutionWorkflowUpdate = {
    updateType: AgentsExecutionUpdateType;
    rulesDetails?: AgentsExecutionRulesDetails;
    nodeDetails?: AgentsExecutionNodeDetails;
    transitionDetails?: AgentsExecutionTransitionDetails;
};
/**
 * A file tracked in the agent filesystem
 */
type AgentsFilesAgentFile = {
    id: CommonUuid;
    agentId: CommonUuid;
    filePath: string;
    fileName: string;
    fileSize: number;
    mimeType?: string;
    createdAt: string;
    updatedAt: string;
    executionId: CommonUuid;
    directory: AgentsFilesAgentFileDirectory;
    createdBy: AgentsFilesAgentFileCreatedBy;
    downloadUrl: string;
};
/**
 * Creator of the file
 */
type AgentsFilesAgentFileCreatedBy = 'user' | 'agent' | 'environment' | 'system';
/**
 * Directory types within the agent filesystem
 */
type AgentsFilesAgentFileDirectory = 'uploads' | 'downloads' | 'workspace' | 'shared' | 'debug';
/**
 * Files grouped by their agent directory
 */
type AgentsFilesAgentFilesDirectoryListing = {
    uploads?: Array<AgentsFilesAgentFile>;
    downloads?: Array<AgentsFilesAgentFile>;
    workspace?: Array<AgentsFilesAgentFile>;
    shared?: Array<AgentsFilesAgentFile>;
    debug?: Array<AgentsFilesAgentFile>;
};
/**
 * Response containing all agent files for an execution, grouped by directory
 */
type AgentsFilesAgentFilesResponse = {
    directories: AgentsFilesAgentFilesDirectoryListing;
    lastUpdated?: string;
};
type AgentsFilesFile = {
    id: CommonUuid;
    executionId: CommonUuid;
    agentId: CommonUuid;
    filePath: string;
    fileName: string;
    fileExt: string;
    fileSize: number;
    fileType: string;
    mimeType: string;
    createdAt: string;
    downloadUrl: string;
    /**
     * @deprecated
     */
    signedUrl: string;
};
type AgentsFilesFilePart = Blob | File;
/**
 * Request to set the frozen status of a shared file
 */
type AgentsFilesSetFrozenRequest = {
    isFrozen: boolean;
};
/**
 * A file in the agent's persistent shared storage
 */
type AgentsFilesSharedFile = {
    id: CommonUuid;
    agentId: CommonUuid;
    filePath: string;
    fileName: string;
    fileSize: number;
    mimeType?: string;
    createdAt: string;
    updatedAt: string;
    version: number;
    isFrozen: boolean;
    lastModifiedByExecutionId?: CommonUuid;
    downloadUrl: string;
};
/**
 * Response after uploading shared files
 */
type AgentsFilesSharedFileUploadResponse = {
    files: Array<AgentsFilesSharedFile>;
};
/**
 * Response containing all shared files for an agent
 */
type AgentsFilesSharedFilesResponse = {
    files: Array<AgentsFilesSharedFile>;
    totalSize: number;
};
type AgentsFilesTempFile = {
    id: CommonUuid;
    name: string;
};
type AgentsFilesTempFilesResponse = {
    tempFiles: Array<AgentsFilesTempFile>;
};
type AgentsGraphModelsAgentGraph = {
    nodes: Array<AgentsGraphModelsNodesNode>;
    transitions: Array<AgentsGraphModelsTransitionsTransition>;
    sticky_notes: Array<AgentsGraphModelsStickyNote>;
};
/**
 * LLM provider for the new agent loop
 */
type AgentsGraphModelsLlmProvider = 'bedrock' | 'anthropic' | 'bifrost';
type AgentsGraphModelsNodesNode = {
    id: CommonUuid;
    name: string;
    type: AgentsGraphModelsNodesNodeType;
    description: string;
    properties: AgentsGraphModelsNodesNodePropertiesUnion;
    is_start_node: boolean;
    task?: string;
    position?: AgentsGraphModelsNodesPosition;
};
type AgentsGraphModelsNodesNodePropertiesUnion = ({
    type: 'iris';
} & AgentsGraphModelsNodesPropertiesIrisProperties) | ({
    type: 'playwright_script';
} & AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties) | ({
    type: 'api';
} & AgentsGraphModelsNodesPropertiesApiProperties) | ({
    type: 'url';
} & AgentsGraphModelsNodesPropertiesUrlProperties) | ({
    type: 'output';
} & AgentsGraphModelsNodesPropertiesOutputProperties);
type AgentsGraphModelsNodesNodeType = 'iris' | 'playwright_script' | 'api' | 'url' | 'output';
type AgentsGraphModelsNodesPosition = {
    x: number;
    y: number;
};
type AgentsGraphModelsNodesPropertiesApiMethod = 'GET' | 'POST' | 'PUT' | 'DELETE';
type AgentsGraphModelsNodesPropertiesApiProperties = {
    type: 'api';
    method: AgentsGraphModelsNodesPropertiesApiMethod;
    url: string;
    body: {
        [key: string]: unknown;
    };
    headers: {
        [key: string]: unknown;
    };
};
type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties = {
    script: string;
    llm_vars: Array<AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar>;
    freeze_script: boolean;
};
type AgentsGraphModelsNodesPropertiesIrisProperties = {
    type: 'iris';
    instructions: string;
    tools: Array<string>;
    snapshot_compression: boolean;
    compression_strategies?: Array<string>;
    temperature: number;
    batch_actions: boolean;
    playwright_script_properties?: AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties;
    learn_and_compile?: boolean;
    /**
     * Relative path (within the node's own shared directory) of the
     * Playwright script that the runtime should execute before the LLM.
     * Setting this turns the node into a fast-path scripted node — combine
     * with `freeze: true` to skip the LLM entirely on success.
     *
     * The path is resolved at runtime against the node's shared
     * directory — i.e. `shared/<node-key>/<script_filepath>` on disk in
     * the sandbox. `<node-key>` is owned by the runtime (currently the
     * node's slug, may move to its UUID), so authors do not have to
     * encode it and renaming a node does not break the path.
     *
     * Examples (typical):
     * - `scripts/main.js`
     * - `scripts/login.js`
     *
     * Constraints:
     * - Must be relative (no leading `/`).
     * - Must NOT start with `shared/` — it is already relative to the
     * node's shared directory; the runtime adds the `shared/<node-key>/`
     * prefix.
     * - Must end in `.js`.
     * - Must not contain `..` segments or duplicate slashes.
     * - May contain a single `{{shared_storage_key}}` placeholder, which
     * the runtime substitutes with the execution's `shared_storage_key`
     * so a single workflow can target per-tenant script trees (e.g.
     * `{{shared_storage_key}}/scripts/main.js` →
     * `shared/<node-key>/<storage-key>/scripts/main.js`).
     */
    script_filepath?: string;
    freeze?: boolean;
    thinking_mode?: 'adaptive' | 'enabled' | 'disabled';
    thinking_budget_tokens?: number;
    thinking_effort?: 'low' | 'medium' | 'high' | 'max';
    max_playwright_result_size_chars?: number;
    model: string;
};
type AgentsGraphModelsNodesPropertiesOutcomeString = string;
type AgentsGraphModelsNodesPropertiesOutputProperties = {
    type: 'output';
    instructionsEnabled?: boolean;
    instructions?: string;
    schema?: {
        [key: string]: unknown;
    };
    outcomes: Array<AgentsGraphModelsNodesPropertiesOutcomeString>;
};
type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar = {
    name: string;
    type: AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType;
    description: string;
};
type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType = 'string' | 'number' | 'boolean';
type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties = {
    type: 'playwright_script';
    script: string;
    llm_vars: Array<AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar>;
};
type AgentsGraphModelsNodesPropertiesUrlProperties = {
    type: 'url';
    url: string;
};
/**
 * Configuration settings for workflow execution
 */
type AgentsGraphModelsSettings = {
    /**
     * Maximum number of iterations
     */
    max_iterations: number;
    /**
     * Browser viewport width in pixels
     */
    viewport_width: number;
    /**
     * Browser viewport height in pixels
     */
    viewport_height: number;
    /**
     * Whether to trim screenshots
     */
    trim_screenshots: boolean;
    /**
     * Maximum timeout in minutes
     */
    max_timeout_mins: number;
    /**
     * Text input method for browser automation
     */
    type_input_method: AgentsGraphModelsTypeInputMethod;
    /**
     * Whether to summarize execution results
     */
    summarise?: boolean;
    /**
     * Whether to use the new agent loop for execution (beta)
     */
    new_agent_loop?: boolean;
    /**
     * Exact Daytona snapshot name for agent-loop (admin-only)
     */
    agent_loop_snapshot?: string;
    /**
     * LLM provider override for the new agent loop (admin-only in UI; defaults to server config)
     */
    llm_provider?: AgentsGraphModelsLlmProvider;
    /**
     * Extension IDs (provider-issued UUIDs returned when an extension is registered with the browser provider — not Chrome's 32-char extension IDs) to load into the session at boot time
     */
    extension_ids?: Array<string>;
};
type AgentsGraphModelsStickyNote = {
    id: CommonUuid;
    content: string;
    color?: string;
    position?: AgentsGraphModelsNodesPosition;
};
type AgentsGraphModelsTransitionsPropertiesIrisProperties = {
    type: 'iris';
};
type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties = {
    type: 'outcome_success';
};
type AgentsGraphModelsTransitionsPropertiesSelectorProperties = {
    type: 'selector';
    name: string;
    selector: string;
};
type AgentsGraphModelsTransitionsTransition = {
    id: CommonUuid;
    from: CommonUuid;
    to: CommonUuid;
    type: AgentsGraphModelsTransitionsTransitionType;
    require_confirmation: boolean;
    properties: AgentsGraphModelsTransitionsTransitionPropertiesUnion;
};
type AgentsGraphModelsTransitionsTransitionPropertiesUnion = ({
    type: 'iris';
} & AgentsGraphModelsTransitionsPropertiesIrisProperties) | ({
    type: 'selector';
} & AgentsGraphModelsTransitionsPropertiesSelectorProperties) | ({
    type: 'outcome_success';
} & AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties);
type AgentsGraphModelsTransitionsTransitionType = 'iris' | 'selector' | 'outcome_success';
/**
 * Text input method for browser automation
 */
type AgentsGraphModelsTypeInputMethod = 'type' | 'paste' | 'auto';
/**
 * Request to add profiles to a pool
 */
type AgentsProfileAddProfilesToPoolRequest = {
    /**
     * Profile IDs to add to the pool
     */
    profileIds: Array<CommonUuid>;
};
/**
 * An agent profile containing browser configuration and credentials
 */
type AgentsProfileAgentProfile = {
    /**
     * Unique identifier for the agent profile
     */
    id: CommonUuid;
    /**
     * Name of the agent profile (unique within organization)
     */
    name: string;
    /**
     * Description of the agent profile
     */
    description: string;
    /**
     * The ID of the organization that owns this profile
     */
    organizationId: CommonUuid;
    /**
     * Proxy configuration mode
     */
    proxyMode: AgentsProfileProxyMode;
    /**
     * Country code for proxy location (for managed proxy mode)
     */
    proxyCC?: AgentsProfileCountryCode;
    /**
     * Type of managed proxy to use (for managed proxy mode)
     */
    proxyType?: AgentsProfileProxyType;
    /**
     * Custom proxy configuration (for custom proxy mode, password excluded)
     */
    customProxy?: AgentsProfileCustomProxyConfigOutput;
    /**
     * Proxy gateway preset ID (for gateway proxy mode)
     */
    proxyGatewayPresetId?: CommonUuid;
    /**
     * Whether the captcha solver is active for this profile (managed proxy only)
     */
    captchaSolverActive: boolean;
    /**
     * Whether to use the same IP address for all executions (managed proxy only)
     */
    stickyIP: boolean;
    /**
     * Operating system to emulate
     */
    operatingSystem?: AgentsProfileOperatingSystem;
    /**
     * Whether extra stealth mode is enabled
     */
    extraStealth: boolean;
    /**
     * Whether to persist browser cache between sessions
     */
    cachePersistence: boolean;
    /**
     * Whether to enable ad blocking
     */
    adblockActive: boolean;
    /**
     * Whether to enable popup blocking (requires adblock to be active)
     */
    popupBlockerActive: boolean;
    /**
     * Whether to force popups to open as tabs
     */
    forcePopupsAsTabsActive: boolean;
    /**
     * Whether to enable media blocking (images, videos, etc.)
     */
    mediaBlockerActive: boolean;
    /**
     * Whether to enable the built-in PDF viewer (if disabled, PDFs are downloaded)
     */
    pdfViewerActive: boolean;
    /**
     * Whether browser tracing is enabled (admin only)
     */
    tracingEnabled: boolean;
    /**
     * Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai. If not set, defaults to the first 8 characters of the profile ID.
     */
    inboxEmailPrefix?: string;
    /**
     * The resolved inbox email address for this profile
     */
    inboxEmail: string;
    /**
     * List of credentials associated with this profile
     */
    credentials: Array<AgentsProfileCredential>;
    /**
     * List of cookies associated with this profile
     */
    cookies: Array<AgentsProfileCookie>;
    /**
     * When the profile was created
     */
    createdAt: string;
    /**
     * When the profile was last updated
     */
    updatedAt: string;
};
/**
 * Response for listing the emails in an agent profile's inbox
 */
type AgentsProfileAgentProfileInboxEmailsResponse = {
    /**
     * Emails addressed to this profile's inbox
     */
    emails: Array<AgentsProfileProfileInboxEmail>;
    /**
     * Number of emails returned
     */
    emailCount: number;
    /**
     * Whether Resend has more emails beyond this page
     */
    hasMore: boolean;
};
/**
 * A pool of agent profiles that can be used for credential rotation
 */
type AgentsProfileAgentProfilePool = {
    /**
     * Unique identifier for the agent profile pool
     */
    id: CommonUuid;
    /**
     * Name of the agent profile pool (unique within organization)
     */
    name: string;
    /**
     * The ID of the organization that owns this pool
     */
    organizationId: CommonUuid;
    /**
     * Strategy for selecting an available profile from the pool
     */
    selectionStrategy: AgentsProfileSelectionStrategy;
    /**
     * Whether multiple executions can use the same profile concurrently
     */
    allowConcurrentUse: boolean;
    /**
     * When the pool was created
     */
    createdAt: string;
    /**
     * When the pool was last updated
     */
    updatedAt: string;
};
/**
 * An agent profile that is a member of a pool
 */
type AgentsProfileAgentProfilePoolMember = {
    /**
     * Unique identifier for the agent profile
     */
    id: CommonUuid;
    /**
     * Name of the agent profile
     */
    name: string;
    /**
     * The ID of the organization that owns this profile
     */
    organizationId: CommonUuid;
    /**
     * When the profile was created
     */
    createdAt: string;
    /**
     * When the profile was last updated
     */
    updatedAt: string;
};
/**
 * A browser cookie stored for an agent profile
 */
type AgentsProfileCookie = {
    /**
     * Unique identifier for the cookie
     */
    id?: CommonUuid;
    /**
     * Display name for the cookie
     */
    name: string;
    /**
     * The cookie key/name as sent in HTTP headers
     */
    key: string;
    /**
     * The cookie value
     */
    value: string;
    /**
     * When the cookie expires (optional)
     */
    expiry?: string;
    /**
     * The domain for which the cookie is valid
     */
    domain: string;
    /**
     * Whether the cookie should only be sent over HTTPS
     */
    secure: boolean;
    /**
     * SameSite attribute for the cookie
     */
    sameSite: AgentsProfileSameSite;
    /**
     * Whether the cookie should be accessible only via HTTP(S)
     */
    httpOnly: boolean;
    /**
     * When the cookie was created
     */
    createdAt?: string;
};
/**
 * Two-letter country code for proxy location
 */
type AgentsProfileCountryCode = 'us' | 'uk' | 'fr' | 'it' | 'jp' | 'au' | 'de' | 'fi' | 'ca';
/**
 * Request to create a new agent profile pool
 */
type AgentsProfileCreateAgentProfilePoolRequest = {
    /**
     * Name of the agent profile pool (must be unique within organization)
     */
    name: string;
    /**
     * The ID of the organization that the pool belongs to
     */
    organizationId: CommonUuid;
    /**
     * Strategy for selecting an available profile from the pool
     */
    selectionStrategy?: AgentsProfileSelectionStrategy;
    /**
     * Whether multiple executions can use the same profile concurrently
     */
    allowConcurrentUse?: boolean;
};
/**
 * Request to create a new agent profile
 */
type AgentsProfileCreateAgentProfileRequest = {
    /**
     * Name of the agent profile (must be unique within organization)
     */
    name: string;
    /**
     * Description of the agent profile
     */
    description: string;
    /**
     * The ID of the organization that the profile belongs to
     */
    organizationId: CommonUuid;
    /**
     * Proxy configuration mode
     */
    proxyMode?: AgentsProfileProxyMode;
    /**
     * Country code for proxy location (for managed proxy mode)
     */
    proxyCC?: AgentsProfileCountryCode;
    /**
     * Type of managed proxy to use (required for managed proxy mode)
     */
    proxyType?: AgentsProfileProxyType;
    /**
     * Custom proxy configuration (required for custom proxy mode)
     */
    customProxy?: AgentsProfileCustomProxyConfigInput;
    /**
     * Tailscale auth key for VPN access (required for tailscale proxy mode)
     */
    tailscaleAuthKey?: string;
    /**
     * Proxy gateway preset ID (required for gateway proxy mode)
     */
    proxyGatewayPresetId?: CommonUuid;
    /**
     * Whether the captcha solver should be active (managed proxy only)
     */
    captchaSolverActive?: boolean;
    /**
     * Whether to use the same IP address for all executions (managed proxy only)
     */
    stickyIP?: boolean;
    /**
     * Operating system to emulate
     */
    operatingSystem?: AgentsProfileOperatingSystem;
    /**
     * Whether to enable extra stealth mode
     */
    extraStealth?: boolean;
    /**
     * Whether to persist browser cache between sessions
     */
    cachePersistence?: boolean;
    /**
     * Whether to enable ad blocking
     */
    adblockActive?: boolean;
    /**
     * Whether to enable popup blocking (requires adblock to be active)
     */
    popupBlockerActive?: boolean;
    /**
     * Whether to force popups to open as tabs
     */
    forcePopupsAsTabsActive?: boolean;
    /**
     * Whether to enable media blocking (images, videos, etc.)
     */
    mediaBlockerActive?: boolean;
    /**
     * Whether to enable the built-in PDF viewer (if disabled, PDFs are downloaded)
     */
    pdfViewerActive?: boolean;
    /**
     * Whether browser tracing is enabled (admin only, defaults to true)
     */
    tracingEnabled?: boolean;
    /**
     * Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.
     */
    inboxEmailPrefix?: string;
    /**
     * Initial credentials to create with the profile
     */
    credentials?: Array<AgentsProfileCredential>;
    /**
     * Initial cookies to create with the profile
     */
    cookies?: Array<AgentsProfileCookie>;
};
/**
 * A credential stored for an agent profile
 */
type AgentsProfileCredential = {
    /**
     * Unique identifier for the credential
     */
    id?: CommonUuid;
    /**
     * Display name for the credential (will be uppercased)
     */
    name: string;
    /**
     * The credential value (plaintext - will be encrypted server-side)
     */
    data: string;
    /**
     * When the credential was created
     */
    createdAt?: string;
};
/**
 * Request to update an existing credential by name
 */
type AgentsProfileCredentialUpdate = {
    /**
     * Name of the credential to update (case-insensitive, will be matched as uppercase)
     */
    name: string;
    /**
     * New credential value (plaintext - will be encrypted server-side)
     */
    data: string;
};
/**
 * Custom proxy server configuration for input (includes password)
 */
type AgentsProfileCustomProxyConfigInput = {
    /**
     * Proxy server address including protocol and port (e.g., 'socks5://proxy.example.com:1080' or 'http://proxy.example.com:8080')
     */
    server: string;
    /**
     * Proxy authentication username
     */
    username: string;
    /**
     * Proxy authentication password
     */
    password: string;
};
/**
 * Custom proxy server configuration for output (excludes password)
 */
type AgentsProfileCustomProxyConfigOutput = {
    /**
     * Proxy server address
     */
    server: string;
    /**
     * Proxy authentication username
     */
    username: string;
};
/**
 * Request to duplicate an agent profile
 */
type AgentsProfileDuplicateAgentProfileRequest = {
    /**
     * Target organization ID. Defaults to the source profile's organization if omitted.
     */
    organizationId?: CommonUuid;
};
/**
 * Operating system to emulate in the browser
 */
type AgentsProfileOperatingSystem = 'macos' | 'windows';
/**
 * Available fields for sorting agent profile pools
 */
type AgentsProfilePoolSortField = 'name' | 'created_at' | 'updated_at';
/**
 * A single email in the agent profile's inbox (summary only — use the detail endpoint to fetch the body)
 */
type AgentsProfileProfileInboxEmail = {
    /**
     * Unique email ID from Resend
     */
    id: string;
    /**
     * Sender address
     */
    from: string;
    /**
     * Recipient addresses
     */
    to: Array<string>;
    /**
     * Email subject
     */
    subject: string;
    /**
     * When the email was received
     */
    createdAt: string;
};
/**
 * Full content of a single email in the agent profile's inbox
 */
type AgentsProfileProfileInboxEmailDetail = {
    /**
     * Unique email ID from Resend
     */
    id: string;
    /**
     * Sender address
     */
    from: string;
    /**
     * Recipient addresses
     */
    to: Array<string>;
    /**
     * Email subject
     */
    subject: string;
    /**
     * When the email was received
     */
    createdAt: string;
    /**
     * Plain-text body, if available
     */
    text?: string;
    /**
     * HTML body, if available
     */
    html?: string;
    /**
     * CC recipients, if any
     */
    cc?: Array<string>;
    /**
     * BCC recipients, if any
     */
    bcc?: Array<string>;
    /**
     * Reply-to addresses, if any
     */
    replyTo?: Array<string>;
};
/**
 * Proxy configuration mode
 */
type AgentsProfileProxyMode = 'none' | 'managed' | 'custom' | 'tailscale' | 'gateway';
/**
 * Type of managed proxy to use for browser sessions
 */
type AgentsProfileProxyType = 'basic' | 'residential' | 'mobile';
/**
 * Request to remove profiles from a pool
 */
type AgentsProfileRemoveProfilesFromPoolRequest = {
    /**
     * Profile IDs to remove from the pool
     */
    profileIds: Array<CommonUuid>;
};
/**
 * SameSite attribute for cookies
 */
type AgentsProfileSameSite = 'Strict' | 'Lax' | 'None';
/**
 * Strategy for selecting an available profile from a pool
 */
type AgentsProfileSelectionStrategy = 'least_recently_used' | 'most_recently_used';
/**
 * Available fields for sorting agent profiles
 */
type AgentsProfileSortField = 'name' | 'created_at' | 'updated_at';
/**
 * Request to update an existing agent profile pool
 */
type AgentsProfileUpdateAgentProfilePoolRequest = {
    /**
     * New name for the pool
     */
    name?: string;
    /**
     * New selection strategy for the pool
     */
    selectionStrategy?: AgentsProfileSelectionStrategy;
    /**
     * Whether multiple executions can use the same profile concurrently
     */
    allowConcurrentUse?: boolean;
};
/**
 * Request to update an existing agent profile
 */
type AgentsProfileUpdateAgentProfileRequest = {
    /**
     * New name for the profile
     */
    name?: string;
    /**
     * New description for the profile
     */
    description?: string;
    /**
     * Proxy configuration mode
     */
    proxyMode?: AgentsProfileProxyMode;
    /**
     * Country code for proxy location (for managed proxy mode)
     */
    proxyCC?: AgentsProfileCountryCode;
    /**
     * Type of managed proxy to use (for managed proxy mode)
     */
    proxyType?: AgentsProfileProxyType;
    /**
     * Custom proxy configuration (for custom proxy mode)
     */
    customProxy?: AgentsProfileCustomProxyConfigInput;
    /**
     * Tailscale auth key for VPN access (for tailscale proxy mode)
     */
    tailscaleAuthKey?: string;
    /**
     * Proxy gateway preset ID (for gateway proxy mode)
     */
    proxyGatewayPresetId?: CommonUuid;
    /**
     * Whether the captcha solver should be active (managed proxy only)
     */
    captchaSolverActive?: boolean;
    /**
     * Operating system to emulate
     */
    operatingSystem?: AgentsProfileOperatingSystem;
    /**
     * Whether to enable extra stealth mode
     */
    extraStealth?: boolean;
    /**
     * Whether to persist browser cache between sessions
     */
    cachePersistence?: boolean;
    /**
     * Whether to enable ad blocking
     */
    adblockActive?: boolean;
    /**
     * Whether to enable popup blocking (requires adblock to be active)
     */
    popupBlockerActive?: boolean;
    /**
     * Whether to force popups to open as tabs
     */
    forcePopupsAsTabsActive?: boolean;
    /**
     * Whether to enable media blocking (images, videos, etc.)
     */
    mediaBlockerActive?: boolean;
    /**
     * Whether to enable the built-in PDF viewer (if disabled, PDFs are downloaded)
     */
    pdfViewerActive?: boolean;
    /**
     * Whether browser tracing is enabled (admin only)
     */
    tracingEnabled?: boolean;
    /**
     * Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.
     */
    inboxEmailPrefix?: string;
    /**
     * Credentials to add to the profile
     */
    credentialsToAdd?: Array<AgentsProfileCredential>;
    /**
     * Credentials to update by name (matched case-insensitively)
     */
    credentialsToUpdate?: Array<AgentsProfileCredentialUpdate>;
    /**
     * IDs of credentials to remove from the profile
     */
    credentialsToDelete?: Array<CommonUuid>;
    /**
     * Cookies to add to the profile
     */
    cookiesToAdd?: Array<AgentsProfileCookie>;
    /**
     * IDs of cookies to remove from the profile
     */
    cookiesToDelete?: Array<CommonUuid>;
};
/**
 * Request to validate a JSON schema against OpenAI structured output requirements
 */
type AgentsSchemaValidateSchemaRequest = {
    /**
     * The JSON schema to validate
     */
    schema: {
        [key: string]: unknown;
    };
};
/**
 * Response from schema validation
 */
type AgentsSchemaValidateSchemaResponse = {
    /**
     * Whether the schema is valid
     */
    valid: boolean;
    /**
     * List of validation error messages (empty if valid)
     */
    errors: Array<string>;
};
/**
 * Browser provider type
 */
type AgentsWorkflowBrowserProvider = 'anchor' | 'steel';
/**
 * Browser environment template configuration
 */
type AgentsWorkflowBrowserTemplateConfig = {
    /**
     * Browser provider type
     */
    provider: AgentsWorkflowBrowserProvider;
};
/**
 * Request to create a new unpublished workflow
 */
type AgentsWorkflowCreateWorkflowRequest = {
    /**
     * Optional parent workflow ID to derive from
     */
    parentId?: CommonUuid;
    /**
     * The rules/instructions for this workflow
     */
    rules: string;
    /**
     * The settings for this workflow
     */
    settings: AgentsGraphModelsSettings;
    /**
     * The workflow graph
     */
    graph: AgentsGraphModelsAgentGraph;
    /**
     * Optional environment template. Defaults to browser/anchor if not provided.
     */
    environmentTemplate?: AgentsWorkflowEnvironmentTemplate;
};
/**
 * Response after creating a workflow
 */
type AgentsWorkflowCreateWorkflowResponse = {
    /**
     * The ID of the newly created workflow
     */
    workflowId: CommonUuid;
};
/**
 * Environment template for workflow execution
 */
type AgentsWorkflowEnvironmentTemplate = {
    /**
     * Type of environment (browser or os)
     */
    type: AgentsWorkflowEnvironmentType;
    /**
     * Environment-specific configuration
     */
    config: AgentsWorkflowBrowserTemplateConfig | AgentsWorkflowOsTemplateConfig;
};
/**
 * Type of execution environment
 */
type AgentsWorkflowEnvironmentType = 'browser' | 'os';
/**
 * Request to execute a workflow by ID
 */
type AgentsWorkflowExecuteWorkflowRequest = {
    /**
     * Input variables to be merged into the placeholders defined in prompts
     */
    inputVariables?: {
        [key: string]: unknown;
    };
    /**
     * Optional metadata key-value pairs for organizing and filtering executions
     */
    metadata?: {
        [key: string]: unknown;
    };
    /**
     * The ID of the agent profile to use. Note this is not the agent ID
     */
    agentProfileId?: CommonUuid;
    /**
     * The ID of the agent profile pool to select a profile from. Mutually exclusive with agentProfileId.
     */
    agentProfilePoolId?: CommonUuid;
    /**
     * Array of temporary files to attach to the execution. Must have been pre-uploaded using the stage file endpoint
     */
    tempFiles?: Array<AgentsFilesTempFile>;
    /**
     * Per-execution runtime options that override or extend the agent's default settings.
     */
    executionOptions?: AgentsAgentExecutionOptions;
    /**
     * ID of the execution this is a rerun of. Sets parent_execution_id on the new execution and has_been_rerun on the parent.
     */
    parentExecutionId?: CommonUuid;
};
/**
 * Response after starting workflow execution
 */
type AgentsWorkflowExecuteWorkflowResponse = {
    /**
     * The ID of the newly created execution
     */
    executionId: CommonUuid;
};
/**
 * OS provider type
 */
type AgentsWorkflowOsProvider = 'daytona' | 'local';
/**
 * OS environment template configuration
 */
type AgentsWorkflowOsTemplateConfig = {
    /**
     * OS provider type
     */
    provider: AgentsWorkflowOsProvider;
    /**
     * Name of the snapshot to use. If omitted or empty, the server uses the configured default snapshot for the selected osType.
     */
    snapshotName?: string;
    /**
     * Whether the snapshot is public
     */
    public: boolean;
    /**
     * Operating system the sandbox runs. Defaults to linux. Setting to windows is admin-only and routes the environment sandbox to the Windows Daytona instance.
     */
    osType?: AgentsWorkflowOsType;
};
/**
 * Operating system the environment sandbox runs
 */
type AgentsWorkflowOsType = 'linux' | 'windows';
/**
 * Response after publishing a workflow
 */
type AgentsWorkflowPublishWorkflowResponse = {
    /**
     * The ID of the published workflow
     */
    workflowId: CommonUuid;
    /**
     * The assigned version number
     */
    version: number;
};
/**
 * Request to sync an execution to a workflow
 */
type AgentsWorkflowSyncExecutionRequest = {
    /**
     * The ID of the execution to sync
     */
    executionId: CommonUuid;
};
/**
 * Response after syncing execution to workflow
 */
type AgentsWorkflowSyncExecutionResponse = {
    /**
     * The ID of the execution that was synced
     */
    executionId: CommonUuid;
    /**
     * The ID of the workflow the execution is now synced to
     */
    workflowId: CommonUuid;
};
/**
 * Lightweight workflow reference for listing workflows without full data
 */
type AgentsWorkflowWorkflowRef = {
    /**
     * The unique ID of this workflow
     */
    id: CommonUuid;
    /**
     * The ID of the parent workflow this was derived from (for lineage tracking)
     */
    parentId?: CommonUuid;
    /**
     * The published version number. Null if unpublished.
     */
    version?: number;
    /**
     * When this workflow was created
     */
    createdAt: string;
    /**
     * The email of the user who created this workflow.
     */
    author?: string;
    /**
     * Whether this workflow can be deleted (unpublished with no executions)
     */
    isDeletable: boolean;
};
/**
 * A workflow (commit) representing an immutable snapshot of agent configuration
 */
type AgentsWorkflowWorkflowSnapshot = {
    /**
     * The unique ID of this workflow
     */
    id: CommonUuid;
    /**
     * The agent ID this workflow belongs to
     */
    agentId: CommonUuid;
    /**
     * The ID of the parent workflow this was derived from (for lineage tracking)
     */
    parentId?: CommonUuid;
    /**
     * The published version number. Null if unpublished.
     */
    version?: number;
    /**
     * The rules/instructions for this workflow
     */
    rules: string;
    /**
     * The settings for this workflow
     */
    settings: AgentsGraphModelsSettings;
    /**
     * The task description
     */
    task?: string;
    /**
     * Input placeholders for workflow execution
     */
    inputs: Array<string>;
    /**
     * The workflow graph
     */
    graph: AgentsGraphModelsAgentGraph;
    /**
     * When this workflow was created
     */
    createdAt: string;
    /**
     * The email of the user who created this workflow.
     */
    author?: string;
    /**
     * Optional environment template. Defaults to browser/anchor if not provided.
     */
    environmentTemplate?: AgentsWorkflowEnvironmentTemplate;
};
type CommonBadRequestErrorBody = {
    code: 400;
    message: string;
};
type CommonError = {
    code: number;
    message: string;
};
type CommonForbiddenErrorBody = {
    code: 403;
    message: string;
};
type CommonInternalServerErrorBody = {
    code: 500;
    message: string;
};
type CommonNotFoundErrorBody = {
    code: 404;
    message: string;
};
type CommonOsError = {
    message: string;
};
type CommonPaymentRequiredErrorBody = {
    code: 402;
    message: string;
};
type CommonSortDirection = 'asc' | 'desc';
type CommonUnauthorizedErrorBody = {
    code: 401;
    message: string;
};
type CommonUuid = string;
type Version = 'v1';
type AgentsAgentSearch = string;
/**
 * Filter by agent ID
 */
type AgentsExecutionSearchAgentId = CommonUuid;
/**
 * Filter executions created after this timestamp
 */
type AgentsExecutionSearchCreatedAfter = string;
/**
 * Filter executions created before this timestamp
 */
type AgentsExecutionSearchCreatedBefore = string;
/**
 * Search by execution ID (partial, case-insensitive match)
 */
type AgentsExecutionSearchExecutionId = string;
/**
 * Filter by human labels (can specify multiple label IDs, there is an 'OR' condition applied to these)
 */
type AgentsExecutionSearchHumanLabels = Array<CommonUuid>;
/**
 * Filter by input variable key - must be used together with inputsValue
 */
type AgentsExecutionSearchInputsKey = string;
/**
 * Filter by input variable value (partial, case-insensitive match) - must be used together with inputsKey
 */
type AgentsExecutionSearchInputsValue = string;
/**
 * Filter by metadata key - must be used together with metadataValue
 */
type AgentsExecutionSearchMetadataKey = string;
/**
 * Filter by metadata value - must be used together with metadataKey
 */
type AgentsExecutionSearchMetadataValue = string;
/**
 * Filter by execution result outcome (partial, case-insensitive match)
 */
type AgentsExecutionSearchOutcomeLabel = string;
/**
 * Filter by execution status (can specify multiple, there is an 'OR' condition applied to these)
 */
type AgentsExecutionSearchStatus = Array<AgentsExecutionStatus>;
/**
 * Filter by workflow version number
 */
type AgentsExecutionSearchWorkflowVersion = number;
/**
 * Search pools by name (partial match)
 */
type AgentsProfilePoolSearch = string;
/**
 * Search profiles by name (partial match)
 */
type AgentsProfileSearch = string;
type CommonPaginationPage = number;
type CommonPaginationPageSize = number;
type AgentProfilePoolsListData = {
    body?: never;
    path?: never;
    query?: {
        /**
         * Filter by organization ID
         */
        organizationId?: CommonUuid;
        pageSize?: number;
        page?: number;
        /**
         * Search pools by name (partial match)
         */
        searchName?: string;
        sortField?: AgentsProfilePoolSortField;
        sortDirection?: CommonSortDirection;
    };
    url: '/agent-profile-pools';
};
type AgentProfilePoolsListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolsListError = AgentProfilePoolsListErrors[keyof AgentProfilePoolsListErrors];
type AgentProfilePoolsListResponses = {
    /**
     * The request has succeeded.
     */
    200: {
        items: Array<AgentsProfileAgentProfilePool>;
        page: number;
        pageSize: number;
        total: number;
    };
};
type AgentProfilePoolsListResponse = AgentProfilePoolsListResponses[keyof AgentProfilePoolsListResponses];
type AgentProfilePoolsCreateData = {
    /**
     * Agent profile pool to create
     */
    body: AgentsProfileCreateAgentProfilePoolRequest;
    path?: never;
    query?: never;
    url: '/agent-profile-pools';
};
type AgentProfilePoolsCreateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolsCreateError = AgentProfilePoolsCreateErrors[keyof AgentProfilePoolsCreateErrors];
type AgentProfilePoolsCreateResponses = {
    /**
     * The request has succeeded and a new resource has been created as a result.
     */
    201: AgentsProfileAgentProfilePool;
};
type AgentProfilePoolsCreateResponse = AgentProfilePoolsCreateResponses[keyof AgentProfilePoolsCreateResponses];
type AgentProfilePoolDeleteData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile pool
         */
        poolId: CommonUuid;
    };
    query?: never;
    url: '/agent-profile-pools/{poolId}';
};
type AgentProfilePoolDeleteErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolDeleteError = AgentProfilePoolDeleteErrors[keyof AgentProfilePoolDeleteErrors];
type AgentProfilePoolDeleteResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentProfilePoolDeleteResponse = AgentProfilePoolDeleteResponses[keyof AgentProfilePoolDeleteResponses];
type AgentProfilePoolGetData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile pool
         */
        poolId: CommonUuid;
    };
    query?: never;
    url: '/agent-profile-pools/{poolId}';
};
type AgentProfilePoolGetErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolGetError = AgentProfilePoolGetErrors[keyof AgentProfilePoolGetErrors];
type AgentProfilePoolGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsProfileAgentProfilePool;
};
type AgentProfilePoolGetResponse = AgentProfilePoolGetResponses[keyof AgentProfilePoolGetResponses];
type AgentProfilePoolUpdateData = {
    /**
     * Fields to update
     */
    body: AgentsProfileUpdateAgentProfilePoolRequest;
    path: {
        /**
         * The ID of the agent profile pool
         */
        poolId: CommonUuid;
    };
    query?: never;
    url: '/agent-profile-pools/{poolId}';
};
type AgentProfilePoolUpdateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolUpdateError = AgentProfilePoolUpdateErrors[keyof AgentProfilePoolUpdateErrors];
type AgentProfilePoolUpdateResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsProfileAgentProfilePool;
};
type AgentProfilePoolUpdateResponse = AgentProfilePoolUpdateResponses[keyof AgentProfilePoolUpdateResponses];
type AgentProfilePoolMembersRemoveData = {
    /**
     * Profile IDs to remove
     */
    body: AgentsProfileRemoveProfilesFromPoolRequest;
    path: {
        /**
         * The ID of the agent profile pool
         */
        poolId: CommonUuid;
    };
    query?: never;
    url: '/agent-profile-pools/{poolId}/members';
};
type AgentProfilePoolMembersRemoveErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolMembersRemoveError = AgentProfilePoolMembersRemoveErrors[keyof AgentProfilePoolMembersRemoveErrors];
type AgentProfilePoolMembersRemoveResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentProfilePoolMembersRemoveResponse = AgentProfilePoolMembersRemoveResponses[keyof AgentProfilePoolMembersRemoveResponses];
type AgentProfilePoolMembersListData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile pool
         */
        poolId: CommonUuid;
    };
    query?: {
        pageSize?: number;
        page?: number;
    };
    url: '/agent-profile-pools/{poolId}/members';
};
type AgentProfilePoolMembersListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolMembersListError = AgentProfilePoolMembersListErrors[keyof AgentProfilePoolMembersListErrors];
type AgentProfilePoolMembersListResponses = {
    /**
     * The request has succeeded.
     */
    200: {
        items: Array<AgentsProfileAgentProfilePoolMember>;
        page: number;
        pageSize: number;
        total: number;
    };
};
type AgentProfilePoolMembersListResponse = AgentProfilePoolMembersListResponses[keyof AgentProfilePoolMembersListResponses];
type AgentProfilePoolMembersAddData = {
    /**
     * Profile IDs to add
     */
    body: AgentsProfileAddProfilesToPoolRequest;
    path: {
        /**
         * The ID of the agent profile pool
         */
        poolId: CommonUuid;
    };
    query?: never;
    url: '/agent-profile-pools/{poolId}/members';
};
type AgentProfilePoolMembersAddErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilePoolMembersAddError = AgentProfilePoolMembersAddErrors[keyof AgentProfilePoolMembersAddErrors];
type AgentProfilePoolMembersAddResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentProfilePoolMembersAddResponse = AgentProfilePoolMembersAddResponses[keyof AgentProfilePoolMembersAddResponses];
type AgentProfilesListData = {
    body?: never;
    path?: never;
    query?: {
        /**
         * Filter by organization ID
         */
        organizationId?: CommonUuid;
        pageSize?: number;
        page?: number;
        /**
         * Search profiles by name (partial match)
         */
        searchName?: string;
        sortField?: AgentsProfileSortField;
        sortDirection?: CommonSortDirection;
    };
    url: '/agent-profiles';
};
type AgentProfilesListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilesListError = AgentProfilesListErrors[keyof AgentProfilesListErrors];
type AgentProfilesListResponses = {
    /**
     * The request has succeeded.
     */
    200: {
        items: Array<AgentsProfileAgentProfile>;
        page: number;
        pageSize: number;
        total: number;
    };
};
type AgentProfilesListResponse = AgentProfilesListResponses[keyof AgentProfilesListResponses];
type AgentProfilesCreateData = {
    /**
     * Agent profile to create
     */
    body: AgentsProfileCreateAgentProfileRequest;
    path?: never;
    query?: never;
    url: '/agent-profiles';
};
type AgentProfilesCreateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfilesCreateError = AgentProfilesCreateErrors[keyof AgentProfilesCreateErrors];
type AgentProfilesCreateResponses = {
    /**
     * The request has succeeded and a new resource has been created as a result.
     */
    201: AgentsProfileAgentProfile;
};
type AgentProfilesCreateResponse = AgentProfilesCreateResponses[keyof AgentProfilesCreateResponses];
type AgentProfileDeleteData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile
         */
        profileId: CommonUuid;
    };
    query?: never;
    url: '/agent-profiles/{profileId}';
};
type AgentProfileDeleteErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileDeleteError = AgentProfileDeleteErrors[keyof AgentProfileDeleteErrors];
type AgentProfileDeleteResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentProfileDeleteResponse = AgentProfileDeleteResponses[keyof AgentProfileDeleteResponses];
type AgentProfileGetData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile
         */
        profileId: CommonUuid;
    };
    query?: never;
    url: '/agent-profiles/{profileId}';
};
type AgentProfileGetErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileGetError = AgentProfileGetErrors[keyof AgentProfileGetErrors];
type AgentProfileGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsProfileAgentProfile;
};
type AgentProfileGetResponse = AgentProfileGetResponses[keyof AgentProfileGetResponses];
type AgentProfileUpdateData = {
    /**
     * Fields to update
     */
    body: AgentsProfileUpdateAgentProfileRequest;
    path: {
        /**
         * The ID of the agent profile
         */
        profileId: CommonUuid;
    };
    query?: never;
    url: '/agent-profiles/{profileId}';
};
type AgentProfileUpdateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileUpdateError = AgentProfileUpdateErrors[keyof AgentProfileUpdateErrors];
type AgentProfileUpdateResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsProfileAgentProfile;
};
type AgentProfileUpdateResponse = AgentProfileUpdateResponses[keyof AgentProfileUpdateResponses];
type AgentProfileClearBrowserCacheData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile
         */
        profileId: CommonUuid;
    };
    query?: never;
    url: '/agent-profiles/{profileId}/clear-browser-cache';
};
type AgentProfileClearBrowserCacheErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileClearBrowserCacheError = AgentProfileClearBrowserCacheErrors[keyof AgentProfileClearBrowserCacheErrors];
type AgentProfileClearBrowserCacheResponses = {
    /**
     * The request has succeeded.
     */
    200: {
        message: string;
    };
};
type AgentProfileClearBrowserCacheResponse = AgentProfileClearBrowserCacheResponses[keyof AgentProfileClearBrowserCacheResponses];
type AgentProfileDuplicateData = {
    /**
     * Optional request body for cross-org duplication
     */
    body?: AgentsProfileDuplicateAgentProfileRequest;
    path: {
        /**
         * The ID of the agent profile to duplicate
         */
        profileId: CommonUuid;
    };
    query?: never;
    url: '/agent-profiles/{profileId}/duplicate';
};
type AgentProfileDuplicateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileDuplicateError = AgentProfileDuplicateErrors[keyof AgentProfileDuplicateErrors];
type AgentProfileDuplicateResponses = {
    /**
     * The request has succeeded and a new resource has been created as a result.
     */
    201: AgentsProfileAgentProfile;
};
type AgentProfileDuplicateResponse = AgentProfileDuplicateResponses[keyof AgentProfileDuplicateResponses];
type AgentProfileGetInboxEmailsData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile
         */
        profileId: CommonUuid;
    };
    query?: {
        /**
         * Maximum number of emails to return
         */
        limit?: number;
    };
    url: '/agent-profiles/{profileId}/inbox-emails';
};
type AgentProfileGetInboxEmailsErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileGetInboxEmailsError = AgentProfileGetInboxEmailsErrors[keyof AgentProfileGetInboxEmailsErrors];
type AgentProfileGetInboxEmailsResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsProfileAgentProfileInboxEmailsResponse;
};
type AgentProfileGetInboxEmailsResponse = AgentProfileGetInboxEmailsResponses[keyof AgentProfileGetInboxEmailsResponses];
type AgentProfileGetInboxEmailData = {
    body?: never;
    path: {
        /**
         * The ID of the agent profile
         */
        profileId: CommonUuid;
        /**
         * The Resend email ID
         */
        emailId: string;
    };
    query?: never;
    url: '/agent-profiles/{profileId}/inbox-emails/{emailId}';
};
type AgentProfileGetInboxEmailErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentProfileGetInboxEmailError = AgentProfileGetInboxEmailErrors[keyof AgentProfileGetInboxEmailErrors];
type AgentProfileGetInboxEmailResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsProfileProfileInboxEmailDetail;
};
type AgentProfileGetInboxEmailResponse = AgentProfileGetInboxEmailResponses[keyof AgentProfileGetInboxEmailResponses];
type AgentListData = {
    body?: never;
    path?: never;
    query?: {
        organizationId?: CommonUuid;
        pageSize?: number;
        page?: number;
        searchName?: string;
        sortField?: AgentsAgentSortField;
        sortDirection?: CommonSortDirection;
    };
    url: '/agents';
};
type AgentListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: 'Invalid request parameters.';
    /**
     * The server cannot find the requested resource.
     */
    404: 'Organization not found.';
    /**
     * An unexpected error response.
     */
    default: CommonError;
};
type AgentListError = AgentListErrors[keyof AgentListErrors];
type AgentListResponses = {
    /**
     * The request has succeeded.
     */
    200: {
        items: Array<AgentsAgentBase>;
        page: number;
        pageSize: number;
        total: number;
    };
};
type AgentListResponse = AgentListResponses[keyof AgentListResponses];
type AvailableToolsListData = {
    body?: never;
    path?: never;
    query?: never;
    url: '/agents/available-tools';
};
type AvailableToolsListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AvailableToolsListError = AvailableToolsListErrors[keyof AvailableToolsListErrors];
type AvailableToolsListResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsAgentAvailableToolsResponse;
};
type AvailableToolsListResponse = AvailableToolsListResponses[keyof AvailableToolsListResponses];
type AgentExecutePostData = {
    /**
     * Execution request parameters
     */
    body: AgentsAgentExecuteAgentRequest;
    path: {
        /**
         * The ID of the agent to execute
         */
        agentId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/execute';
};
type AgentExecutePostErrors = {
    /**
     * An unexpected error response.
     */
    default: CommonError;
};
type AgentExecutePostError = AgentExecutePostErrors[keyof AgentExecutePostErrors];
type AgentExecutePostResponses = {
    /**
     * The request has been accepted for processing, but processing has not yet completed.
     */
    202: AgentsAgentExecuteAgentResponse;
};
type AgentExecutePostResponse = AgentExecutePostResponses[keyof AgentExecutePostResponses];
type AgentSharedFilesGetData = {
    body?: never;
    path: {
        agentId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files';
};
type AgentSharedFilesGetErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'Agent not found.';
};
type AgentSharedFilesGetError = AgentSharedFilesGetErrors[keyof AgentSharedFilesGetErrors];
type AgentSharedFilesGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesSharedFilesResponse;
};
type AgentSharedFilesGetResponse = AgentSharedFilesGetResponses[keyof AgentSharedFilesGetResponses];
type AgentSharedFilesUploadData = {
    body: {
        files: Array<AgentsFilesFilePart>;
    };
    path: {
        agentId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files';
};
type AgentSharedFilesUploadErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: 'Invalid file upload request.';
    /**
     * The server cannot find the requested resource.
     */
    404: 'Agent not found.';
};
type AgentSharedFilesUploadError = AgentSharedFilesUploadErrors[keyof AgentSharedFilesUploadErrors];
type AgentSharedFilesUploadResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesSharedFileUploadResponse;
};
type AgentSharedFilesUploadResponse = AgentSharedFilesUploadResponses[keyof AgentSharedFilesUploadResponses];
type AgentSharedFilesDeleteAllData = {
    body?: never;
    path: {
        agentId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files/delete-all';
};
type AgentSharedFilesDeleteAllErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'Agent not found.';
};
type AgentSharedFilesDeleteAllError = AgentSharedFilesDeleteAllErrors[keyof AgentSharedFilesDeleteAllErrors];
type AgentSharedFilesDeleteAllResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentSharedFilesDeleteAllResponse = AgentSharedFilesDeleteAllResponses[keyof AgentSharedFilesDeleteAllResponses];
type AgentSharedFilesDeleteData = {
    body?: never;
    path: {
        agentId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files/{fileId}';
};
type AgentSharedFilesDeleteErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type AgentSharedFilesDeleteError = AgentSharedFilesDeleteErrors[keyof AgentSharedFilesDeleteErrors];
type AgentSharedFilesDeleteResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentSharedFilesDeleteResponse = AgentSharedFilesDeleteResponses[keyof AgentSharedFilesDeleteResponses];
type AgentSharedFilesUpdateData = {
    body: {
        files: Array<AgentsFilesFilePart>;
    };
    path: {
        agentId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files/{fileId}';
};
type AgentSharedFilesUpdateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: 'Invalid file upload request.';
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type AgentSharedFilesUpdateError = AgentSharedFilesUpdateErrors[keyof AgentSharedFilesUpdateErrors];
type AgentSharedFilesUpdateResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesSharedFile;
};
type AgentSharedFilesUpdateResponse = AgentSharedFilesUpdateResponses[keyof AgentSharedFilesUpdateResponses];
type AgentSharedFileDownloadRedirectData = {
    body?: never;
    path: {
        agentId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files/{fileId}/download';
};
type AgentSharedFileDownloadRedirectErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type AgentSharedFileDownloadRedirectError = AgentSharedFileDownloadRedirectErrors[keyof AgentSharedFileDownloadRedirectErrors];
type AgentSharedFilesFreezeData = {
    body: AgentsFilesSetFrozenRequest;
    path: {
        agentId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/shared-files/{fileId}/freeze';
};
type AgentSharedFilesFreezeErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type AgentSharedFilesFreezeError = AgentSharedFilesFreezeErrors[keyof AgentSharedFilesFreezeErrors];
type AgentSharedFilesFreezeResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesSharedFile;
};
type AgentSharedFilesFreezeResponse = AgentSharedFilesFreezeResponses[keyof AgentSharedFilesFreezeResponses];
type AgentWorkflowsListData = {
    body?: never;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows';
};
type AgentWorkflowsListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsListError = AgentWorkflowsListErrors[keyof AgentWorkflowsListErrors];
type AgentWorkflowsListResponses = {
    /**
     * The request has succeeded.
     */
    200: Array<AgentsWorkflowWorkflowRef>;
};
type AgentWorkflowsListResponse = AgentWorkflowsListResponses[keyof AgentWorkflowsListResponses];
type AgentWorkflowsCreateData = {
    /**
     * Workflow creation request
     */
    body: AgentsWorkflowCreateWorkflowRequest;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows';
};
type AgentWorkflowsCreateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsCreateError = AgentWorkflowsCreateErrors[keyof AgentWorkflowsCreateErrors];
type AgentWorkflowsCreateResponses = {
    /**
     * The request has succeeded and a new resource has been created as a result.
     */
    201: AgentsWorkflowCreateWorkflowResponse;
};
type AgentWorkflowsCreateResponse = AgentWorkflowsCreateResponses[keyof AgentWorkflowsCreateResponses];
type AgentWorkflowsDeleteWorkflowData = {
    body?: never;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
        /**
         * The ID of the workflow to delete
         */
        workflowId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows/{workflowId}';
};
type AgentWorkflowsDeleteWorkflowErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsDeleteWorkflowError = AgentWorkflowsDeleteWorkflowErrors[keyof AgentWorkflowsDeleteWorkflowErrors];
type AgentWorkflowsDeleteWorkflowResponses = {
    /**
     * There is no content to send for this request, but the headers may be useful.
     */
    204: void;
};
type AgentWorkflowsDeleteWorkflowResponse = AgentWorkflowsDeleteWorkflowResponses[keyof AgentWorkflowsDeleteWorkflowResponses];
type AgentWorkflowsGetData = {
    body?: never;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
        /**
         * The ID of the workflow
         */
        workflowId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows/{workflowId}';
};
type AgentWorkflowsGetErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsGetError = AgentWorkflowsGetErrors[keyof AgentWorkflowsGetErrors];
type AgentWorkflowsGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsWorkflowWorkflowSnapshot;
};
type AgentWorkflowsGetResponse = AgentWorkflowsGetResponses[keyof AgentWorkflowsGetResponses];
type AgentWorkflowsExecuteData = {
    /**
     * Execution request parameters
     */
    body: AgentsWorkflowExecuteWorkflowRequest;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
        /**
         * The ID of the workflow to execute
         */
        workflowId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows/{workflowId}/execute';
};
type AgentWorkflowsExecuteErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Client error
     */
    402: CommonPaymentRequiredErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsExecuteError = AgentWorkflowsExecuteErrors[keyof AgentWorkflowsExecuteErrors];
type AgentWorkflowsExecuteResponses = {
    /**
     * The request has been accepted for processing, but processing has not yet completed.
     */
    202: AgentsWorkflowExecuteWorkflowResponse;
};
type AgentWorkflowsExecuteResponse = AgentWorkflowsExecuteResponses[keyof AgentWorkflowsExecuteResponses];
type AgentWorkflowsPublishData = {
    body?: never;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
        /**
         * The ID of the workflow to publish
         */
        workflowId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows/{workflowId}/publish';
};
type AgentWorkflowsPublishErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsPublishError = AgentWorkflowsPublishErrors[keyof AgentWorkflowsPublishErrors];
type AgentWorkflowsPublishResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsWorkflowPublishWorkflowResponse;
};
type AgentWorkflowsPublishResponse = AgentWorkflowsPublishResponses[keyof AgentWorkflowsPublishResponses];
type AgentWorkflowsSyncExecutionData = {
    /**
     * Sync request parameters
     */
    body: AgentsWorkflowSyncExecutionRequest;
    path: {
        /**
         * The ID of the agent
         */
        agentId: CommonUuid;
        /**
         * The ID of the workflow
         */
        workflowId: CommonUuid;
    };
    query?: never;
    url: '/agents/{agentId}/workflows/{workflowId}/sync-execution';
};
type AgentWorkflowsSyncExecutionErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type AgentWorkflowsSyncExecutionError = AgentWorkflowsSyncExecutionErrors[keyof AgentWorkflowsSyncExecutionErrors];
type AgentWorkflowsSyncExecutionResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsWorkflowSyncExecutionResponse;
};
type AgentWorkflowsSyncExecutionResponse = AgentWorkflowsSyncExecutionResponses[keyof AgentWorkflowsSyncExecutionResponses];
type ContextGetData = {
    body?: never;
    path?: never;
    query?: never;
    url: '/context';
};
type ContextGetErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ContextGetError = ContextGetErrors[keyof ContextGetErrors];
type ContextGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsContextUserContextResponse;
};
type ContextGetResponse = ContextGetResponses[keyof ContextGetResponses];
type DocsSearchSearchData = {
    /**
     * The search request
     */
    body: AgentsDocsSearchDocsRequest;
    path?: never;
    query?: never;
    url: '/docs/search';
};
type DocsSearchSearchErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type DocsSearchSearchError = DocsSearchSearchErrors[keyof DocsSearchSearchErrors];
type DocsSearchSearchResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsDocsSearchDocsResponse;
};
type DocsSearchSearchResponse = DocsSearchSearchResponses[keyof DocsSearchSearchResponses];
type ExecutionsListData = {
    body?: never;
    path?: never;
    query?: {
        /**
         * Optional organization ID filter (required for customer queries)
         */
        organizationId?: CommonUuid;
        pageSize?: number;
        page?: number;
        /**
         * Search by execution ID (partial, case-insensitive match)
         */
        executionId?: string;
        /**
         * Filter by agent ID
         */
        agentId?: CommonUuid;
        /**
         * Filter by execution status (can specify multiple, there is an 'OR' condition applied to these)
         */
        status?: Array<AgentsExecutionStatus>;
        /**
         * Filter executions created after this timestamp
         */
        createdAfter?: string;
        /**
         * Filter executions created before this timestamp
         */
        createdBefore?: string;
        /**
         * Filter by human labels (can specify multiple label IDs, there is an 'OR' condition applied to these)
         */
        humanLabels?: Array<CommonUuid>;
        /**
         * Filter by execution result outcome (partial, case-insensitive match)
         */
        outcomeLabel?: string;
        /**
         * Filter by metadata key - must be used together with metadataValue
         */
        metadataKey?: string;
        /**
         * Filter by metadata value - must be used together with metadataKey
         */
        metadataValue?: string;
        /**
         * Filter by input variable key - must be used together with inputsValue
         */
        inputsKey?: string;
        /**
         * Filter by input variable value (partial, case-insensitive match) - must be used together with inputsKey
         */
        inputsValue?: string;
        /**
         * Filter by workflow version number
         */
        workflowVersion?: number;
        sortField?: AgentsExecutionSortField;
        sortDirection?: CommonSortDirection;
    };
    url: '/executions';
};
type ExecutionsListErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ExecutionsListError = ExecutionsListErrors[keyof ExecutionsListErrors];
type ExecutionsListResponses = {
    /**
     * The request has succeeded.
     */
    200: {
        items: Array<AgentsExecutionListItem>;
        page: number;
        pageSize: number;
        total: number;
    };
};
type ExecutionsListResponse = ExecutionsListResponses[keyof ExecutionsListResponses];
type ExecutionGetData = {
    body?: never;
    path: {
        /**
         * The unique identifier of the execution
         */
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}';
};
type ExecutionGetErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ExecutionGetError = ExecutionGetErrors[keyof ExecutionGetErrors];
type ExecutionGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsExecutionListItem;
};
type ExecutionGetResponse = ExecutionGetResponses[keyof ExecutionGetResponses];
type ExecutionActivitiesGetData = {
    body?: never;
    path: {
        /**
         * The unique identifier of the execution
         */
        executionId: CommonUuid;
    };
    query?: {
        /**
         * Sort order for activities by timestamp
         */
        order?: 'asc' | 'desc';
        /**
         * Maximum number of activities to return
         */
        limit?: number;
    };
    url: '/executions/{executionId}/activities';
};
type ExecutionActivitiesGetErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ExecutionActivitiesGetError = ExecutionActivitiesGetErrors[keyof ExecutionActivitiesGetErrors];
type ExecutionActivitiesGetResponses = {
    /**
     * The request has succeeded.
     */
    200: Array<AgentsExecutionActivity>;
};
type ExecutionActivitiesGetResponse = ExecutionActivitiesGetResponses[keyof ExecutionActivitiesGetResponses];
type ExecutionAgentFilesGetData = {
    body?: never;
    path: {
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/agent-files';
};
type ExecutionAgentFilesGetErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'Execution not found.';
};
type ExecutionAgentFilesGetError = ExecutionAgentFilesGetErrors[keyof ExecutionAgentFilesGetErrors];
type ExecutionAgentFilesGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesAgentFilesResponse;
};
type ExecutionAgentFilesGetResponse = ExecutionAgentFilesGetResponses[keyof ExecutionAgentFilesGetResponses];
type ExecutionAgentFileDownloadRedirectData = {
    body?: never;
    path: {
        executionId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/agent-files/{fileId}/download';
};
type ExecutionAgentFileDownloadRedirectErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type ExecutionAgentFileDownloadRedirectError = ExecutionAgentFileDownloadRedirectErrors[keyof ExecutionAgentFileDownloadRedirectErrors];
type ExecutionContextFilesGetData = {
    body?: never;
    path: {
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/context-files';
};
type ExecutionContextFilesGetErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'Execution files not found.';
};
type ExecutionContextFilesGetError = ExecutionContextFilesGetErrors[keyof ExecutionContextFilesGetErrors];
type ExecutionContextFilesGetResponses = {
    /**
     * The request has succeeded.
     */
    200: Array<AgentsFilesFile>;
};
type ExecutionContextFilesGetResponse = ExecutionContextFilesGetResponses[keyof ExecutionContextFilesGetResponses];
type ExecutionContextFilesUploadData = {
    body: {
        files: Array<AgentsFilesFilePart>;
    };
    path: {
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/context-files';
};
type ExecutionContextFilesUploadErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: 'Invalid file upload request.';
    /**
     * The server cannot find the requested resource.
     */
    404: 'Execution not found.';
};
type ExecutionContextFilesUploadError = ExecutionContextFilesUploadErrors[keyof ExecutionContextFilesUploadErrors];
type ExecutionContextFilesUploadResponses = {
    /**
     * The request has succeeded.
     */
    200: 'Files uploaded.';
};
type ExecutionContextFilesUploadResponse = ExecutionContextFilesUploadResponses[keyof ExecutionContextFilesUploadResponses];
type ExecutionContextFileDownloadRedirectData = {
    body?: never;
    path: {
        executionId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/context-files/{fileId}/download';
};
type ExecutionContextFileDownloadRedirectErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type ExecutionContextFileDownloadRedirectError = ExecutionContextFileDownloadRedirectErrors[keyof ExecutionContextFileDownloadRedirectErrors];
type ExecutionDebugFileDownloadRedirectData = {
    body?: never;
    path: {
        executionId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/debug-files/{fileId}/download';
};
type ExecutionDebugFileDownloadRedirectErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type ExecutionDebugFileDownloadRedirectError = ExecutionDebugFileDownloadRedirectErrors[keyof ExecutionDebugFileDownloadRedirectErrors];
type ExecutionFilesGetData = {
    body?: never;
    path: {
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/files';
};
type ExecutionFilesGetErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'Execution not found.';
};
type ExecutionFilesGetError = ExecutionFilesGetErrors[keyof ExecutionFilesGetErrors];
type ExecutionFilesGetResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesAgentFilesResponse;
};
type ExecutionFilesGetResponse = ExecutionFilesGetResponses[keyof ExecutionFilesGetResponses];
type ExecutionFileDownloadRedirectData = {
    body?: never;
    path: {
        executionId: CommonUuid;
        fileId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/files/{fileId}/download';
};
type ExecutionFileDownloadRedirectErrors = {
    /**
     * The server cannot find the requested resource.
     */
    404: 'File not found.';
};
type ExecutionFileDownloadRedirectError = ExecutionFileDownloadRedirectErrors[keyof ExecutionFileDownloadRedirectErrors];
type ExecutionRecordingRedirectData = {
    body?: never;
    path: {
        /**
         * The unique identifier of the execution
         */
        executionId: CommonUuid;
    };
    query?: {
        /**
         * Optional token for authentication. Use this when the client cannot set Authorization headers (e.g., native video elements).
         */
        token?: string;
    };
    url: '/executions/{executionId}/recording';
};
type ExecutionRecordingRedirectErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ExecutionRecordingRedirectError = ExecutionRecordingRedirectErrors[keyof ExecutionRecordingRedirectErrors];
type ExecutionStatusUpdateData = {
    /**
     * The status update request
     */
    body: AgentsExecutionUpdateExecutionStatusRequest;
    path: {
        /**
         * The unique identifier of the execution
         */
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/status';
};
type ExecutionStatusUpdateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ExecutionStatusUpdateError = ExecutionStatusUpdateErrors[keyof ExecutionStatusUpdateErrors];
type ExecutionStatusUpdateResponses = {
    /**
     * The request has succeeded.
     */
    200: 'Execution status updated.';
};
type ExecutionStatusUpdateResponse = ExecutionStatusUpdateResponses[keyof ExecutionStatusUpdateResponses];
type ExecutionUserMessagesAddData = {
    /**
     * The message content to send
     */
    body: AgentsExecutionUserMessagesAddTextBody;
    path: {
        /**
         * The unique identifier of the execution
         */
        executionId: CommonUuid;
    };
    query?: never;
    url: '/executions/{executionId}/user-messages';
};
type ExecutionUserMessagesAddErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type ExecutionUserMessagesAddError = ExecutionUserMessagesAddErrors[keyof ExecutionUserMessagesAddErrors];
type ExecutionUserMessagesAddResponses = {
    /**
     * The request has succeeded and a new resource has been created as a result.
     */
    201: 'User message added.';
};
type ExecutionUserMessagesAddResponse = ExecutionUserMessagesAddResponses[keyof ExecutionUserMessagesAddResponses];
type SchemaValidationValidateData = {
    /**
     * The schema to validate
     */
    body: AgentsSchemaValidateSchemaRequest;
    path?: never;
    query?: never;
    url: '/schema/validate';
};
type SchemaValidationValidateErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: CommonBadRequestErrorBody;
    /**
     * Access is unauthorized.
     */
    401: CommonUnauthorizedErrorBody;
    /**
     * Access is forbidden.
     */
    403: CommonForbiddenErrorBody;
    /**
     * The server cannot find the requested resource.
     */
    404: CommonNotFoundErrorBody;
    /**
     * Server error
     */
    500: CommonInternalServerErrorBody;
};
type SchemaValidationValidateError = SchemaValidationValidateErrors[keyof SchemaValidationValidateErrors];
type SchemaValidationValidateResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsSchemaValidateSchemaResponse;
};
type SchemaValidationValidateResponse = SchemaValidationValidateResponses[keyof SchemaValidationValidateResponses];
type TempFilesStageData = {
    body: {
        files: Array<AgentsFilesFilePart>;
    };
    path: {
        organizationId: CommonUuid;
    };
    query?: never;
    url: '/temp-files/{organizationId}';
};
type TempFilesStageErrors = {
    /**
     * The server could not understand the request due to invalid syntax.
     */
    400: 'Invalid file upload request.';
    /**
     * Access is forbidden.
     */
    403: 'User is not a member of the organization.';
    /**
     * Server error
     */
    500: 'Internal server error.';
};
type TempFilesStageError = TempFilesStageErrors[keyof TempFilesStageErrors];
type TempFilesStageResponses = {
    /**
     * The request has succeeded.
     */
    200: AgentsFilesTempFilesResponse;
};
type TempFilesStageResponse = TempFilesStageResponses[keyof TempFilesStageResponses];

/**
 * The `createClientConfig()` function will be called on client initialization
 * and the returned object will become the client's initial configuration.
 *
 * You may want to initialize your client this way instead of calling
 * `setConfig()`. This is useful for example if you're using Next.js
 * to ensure your client always has the correct values.
 */
type CreateClientConfig<T extends ClientOptions$1 = ClientOptions> = (override?: Config<ClientOptions$1 & T>) => Config<Required<ClientOptions$1> & T>;
declare const client: Client;

type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
    /**
     * You can provide a client instance returned by `createClient()` instead of
     * individual options. This might be also useful if you want to implement a
     * custom client.
     */
    client?: Client;
    /**
     * You can pass arbitrary values through the `meta` object. This can be
     * used to access values that aren't defined as part of the SDK function.
     */
    meta?: Record<string, unknown>;
};
/**
 * List Agent Profile Pools
 *
 * List all agent profile pools for an organization
 */
declare const agentProfilePoolsList: <ThrowOnError extends boolean = false>(options?: Options<AgentProfilePoolsListData, ThrowOnError>) => RequestResult<AgentProfilePoolsListResponses, AgentProfilePoolsListErrors, ThrowOnError, "fields">;
/**
 * Create Agent Profile Pool
 *
 * Create a new agent profile pool
 */
declare const agentProfilePoolsCreate: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolsCreateData, ThrowOnError>) => RequestResult<AgentProfilePoolsCreateResponses, AgentProfilePoolsCreateErrors, ThrowOnError, "fields">;
/**
 * Delete Agent Profile Pool
 *
 * Delete an agent profile pool
 */
declare const agentProfilePoolDelete: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolDeleteData, ThrowOnError>) => RequestResult<AgentProfilePoolDeleteResponses, AgentProfilePoolDeleteErrors, ThrowOnError, "fields">;
/**
 * Get Agent Profile Pool
 *
 * Get an agent profile pool by ID
 */
declare const agentProfilePoolGet: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolGetData, ThrowOnError>) => RequestResult<AgentProfilePoolGetResponses, AgentProfilePoolGetErrors, ThrowOnError, "fields">;
/**
 * Update Agent Profile Pool
 *
 * Update an existing agent profile pool
 */
declare const agentProfilePoolUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolUpdateData, ThrowOnError>) => RequestResult<AgentProfilePoolUpdateResponses, AgentProfilePoolUpdateErrors, ThrowOnError, "fields">;
/**
 * Remove Profiles from Pool
 *
 * Remove profiles from a pool
 */
declare const agentProfilePoolMembersRemove: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolMembersRemoveData, ThrowOnError>) => RequestResult<AgentProfilePoolMembersRemoveResponses, AgentProfilePoolMembersRemoveErrors, ThrowOnError, "fields">;
/**
 * List Pool Members
 *
 * List all profiles in a pool
 */
declare const agentProfilePoolMembersList: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolMembersListData, ThrowOnError>) => RequestResult<AgentProfilePoolMembersListResponses, AgentProfilePoolMembersListErrors, ThrowOnError, "fields">;
/**
 * Add Profiles to Pool
 *
 * Add profiles to a pool
 */
declare const agentProfilePoolMembersAdd: <ThrowOnError extends boolean = false>(options: Options<AgentProfilePoolMembersAddData, ThrowOnError>) => RequestResult<AgentProfilePoolMembersAddResponses, AgentProfilePoolMembersAddErrors, ThrowOnError, "fields">;
/**
 * List Agent Profiles
 *
 * List all agent profiles for an organization
 */
declare const agentProfilesList: <ThrowOnError extends boolean = false>(options?: Options<AgentProfilesListData, ThrowOnError>) => RequestResult<AgentProfilesListResponses, AgentProfilesListErrors, ThrowOnError, "fields">;
/**
 * Create Agent Profile
 *
 * Create a new agent profile
 */
declare const agentProfilesCreate: <ThrowOnError extends boolean = false>(options: Options<AgentProfilesCreateData, ThrowOnError>) => RequestResult<AgentProfilesCreateResponses, AgentProfilesCreateErrors, ThrowOnError, "fields">;
/**
 * Delete Agent Profile
 *
 * Delete an agent profile
 */
declare const agentProfileDelete: <ThrowOnError extends boolean = false>(options: Options<AgentProfileDeleteData, ThrowOnError>) => RequestResult<AgentProfileDeleteResponses, AgentProfileDeleteErrors, ThrowOnError, "fields">;
/**
 * Get Agent Profile
 *
 * Get an agent profile by ID
 */
declare const agentProfileGet: <ThrowOnError extends boolean = false>(options: Options<AgentProfileGetData, ThrowOnError>) => RequestResult<AgentProfileGetResponses, AgentProfileGetErrors, ThrowOnError, "fields">;
/**
 * Update Agent Profile
 *
 * Update an existing agent profile
 */
declare const agentProfileUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentProfileUpdateData, ThrowOnError>) => RequestResult<AgentProfileUpdateResponses, AgentProfileUpdateErrors, ThrowOnError, "fields">;
/**
 * Clear Browser Cache
 *
 * Clears the browser profile/cache for the specified agent profile by deleting its browser profile
 */
declare const agentProfileClearBrowserCache: <ThrowOnError extends boolean = false>(options: Options<AgentProfileClearBrowserCacheData, ThrowOnError>) => RequestResult<AgentProfileClearBrowserCacheResponses, AgentProfileClearBrowserCacheErrors, ThrowOnError, "fields">;
/**
 * Duplicate Agent Profile
 *
 * Duplicate an agent profile with all settings, credentials, and cookies
 */
declare const agentProfileDuplicate: <ThrowOnError extends boolean = false>(options: Options<AgentProfileDuplicateData, ThrowOnError>) => RequestResult<AgentProfileDuplicateResponses, AgentProfileDuplicateErrors, ThrowOnError, "fields">;
/**
 * Get Agent Profile Inbox Emails
 *
 * List emails in the agent profile's inbox
 */
declare const agentProfileGetInboxEmails: <ThrowOnError extends boolean = false>(options: Options<AgentProfileGetInboxEmailsData, ThrowOnError>) => RequestResult<AgentProfileGetInboxEmailsResponses, AgentProfileGetInboxEmailsErrors, ThrowOnError, "fields">;
/**
 * Get Agent Profile Inbox Email
 *
 * Get a single email from the agent profile's inbox by ID
 */
declare const agentProfileGetInboxEmail: <ThrowOnError extends boolean = false>(options: Options<AgentProfileGetInboxEmailData, ThrowOnError>) => RequestResult<AgentProfileGetInboxEmailResponses, AgentProfileGetInboxEmailErrors, ThrowOnError, "fields">;
/**
 * List Agents
 *
 * List all agents for an organization
 */
declare const agentList: <ThrowOnError extends boolean = false>(options?: Options<AgentListData, ThrowOnError>) => RequestResult<AgentListResponses, AgentListErrors, ThrowOnError, "fields">;
/**
 * List Available Tools
 *
 * List all available tools/capabilities for AI Task nodes in workflows
 */
declare const availableToolsList: <ThrowOnError extends boolean = false>(options?: Options<AvailableToolsListData, ThrowOnError>) => RequestResult<AvailableToolsListResponses, AvailableToolsListErrors, ThrowOnError, "fields">;
/**
 * Execute an agent
 *
 * Start an execution for the given agent.
 */
declare const agentExecutePost: <ThrowOnError extends boolean = false>(options: Options<AgentExecutePostData, ThrowOnError>) => RequestResult<AgentExecutePostResponses, AgentExecutePostErrors, ThrowOnError, "fields">;
/**
 * Get Agent Shared Files
 *
 * Get all persistent shared files for an agent. These files persist across executions and are automatically restored when a new execution starts.
 */
declare const agentSharedFilesGet: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFilesGetData, ThrowOnError>) => RequestResult<AgentSharedFilesGetResponses, AgentSharedFilesGetErrors, ThrowOnError, "fields">;
/**
 * Upload Agent Shared Files
 *
 * Upload one or more files to the agent's persistent shared storage. Files are available across all executions.
 */
declare const agentSharedFilesUpload: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFilesUploadData, ThrowOnError>) => RequestResult<AgentSharedFilesUploadResponses, AgentSharedFilesUploadErrors, ThrowOnError, "fields">;
/**
 * Delete All Agent Shared Files
 *
 * Delete all shared files for an agent.
 */
declare const agentSharedFilesDeleteAll: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFilesDeleteAllData, ThrowOnError>) => RequestResult<AgentSharedFilesDeleteAllResponses, AgentSharedFilesDeleteAllErrors, ThrowOnError, "fields">;
/**
 * Delete Agent Shared File
 *
 * Delete a file from the agent's persistent shared storage.
 */
declare const agentSharedFilesDelete: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFilesDeleteData, ThrowOnError>) => RequestResult<AgentSharedFilesDeleteResponses, AgentSharedFilesDeleteErrors, ThrowOnError, "fields">;
/**
 * Update Agent Shared File
 *
 * Replace the contents of a shared file. The request body must contain exactly one file.
 */
declare const agentSharedFilesUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFilesUpdateData, ThrowOnError>) => RequestResult<AgentSharedFilesUpdateResponses, AgentSharedFilesUpdateErrors, ThrowOnError, "fields">;
/**
 * Download shared file
 *
 * Redirects to a short-lived signed URL for downloading the file.
 */
declare const agentSharedFileDownloadRedirect: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFileDownloadRedirectData, ThrowOnError>) => RequestResult<unknown, AgentSharedFileDownloadRedirectErrors, ThrowOnError, "fields">;
/**
 * Set Freeze on Agent Shared File
 *
 * Set the frozen status of a shared file. Frozen files are preserved across executions and cannot be overwritten by the agent.
 */
declare const agentSharedFilesFreeze: <ThrowOnError extends boolean = false>(options: Options<AgentSharedFilesFreezeData, ThrowOnError>) => RequestResult<AgentSharedFilesFreezeResponses, AgentSharedFilesFreezeErrors, ThrowOnError, "fields">;
/**
 * List workflow references
 *
 * List all workflows for an agent with lightweight metadata (IDs, parents, versions)
 */
declare const agentWorkflowsList: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsListData, ThrowOnError>) => RequestResult<AgentWorkflowsListResponses, AgentWorkflowsListErrors, ThrowOnError, "fields">;
/**
 * Create workflow
 *
 * Create a new unpublished workflow for an agent
 */
declare const agentWorkflowsCreate: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsCreateData, ThrowOnError>) => RequestResult<AgentWorkflowsCreateResponses, AgentWorkflowsCreateErrors, ThrowOnError, "fields">;
/**
 * Delete workflow
 *
 * Delete an unpublished workflow that has no executions
 */
declare const agentWorkflowsDeleteWorkflow: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsDeleteWorkflowData, ThrowOnError>) => RequestResult<AgentWorkflowsDeleteWorkflowResponses, AgentWorkflowsDeleteWorkflowErrors, ThrowOnError, "fields">;
/**
 * Get workflow by ID
 *
 * Get a workflow by its ID
 */
declare const agentWorkflowsGet: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsGetData, ThrowOnError>) => RequestResult<AgentWorkflowsGetResponses, AgentWorkflowsGetErrors, ThrowOnError, "fields">;
/**
 * Execute workflow
 *
 * Execute a workflow by its ID (can be published or unpublished)
 */
declare const agentWorkflowsExecute: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsExecuteData, ThrowOnError>) => RequestResult<AgentWorkflowsExecuteResponses, AgentWorkflowsExecuteErrors, ThrowOnError, "fields">;
/**
 * Publish workflow
 *
 * Publish an unpublished workflow, assigning it a version number
 */
declare const agentWorkflowsPublish: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsPublishData, ThrowOnError>) => RequestResult<AgentWorkflowsPublishResponses, AgentWorkflowsPublishErrors, ThrowOnError, "fields">;
/**
 * Sync execution to workflow
 *
 * Sync an execution to use this workflow (updates execution's workflow reference)
 */
declare const agentWorkflowsSyncExecution: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowsSyncExecutionData, ThrowOnError>) => RequestResult<AgentWorkflowsSyncExecutionResponses, AgentWorkflowsSyncExecutionErrors, ThrowOnError, "fields">;
/**
 * Get Context
 *
 * Get the current user's context including organization memberships
 */
declare const contextGet: <ThrowOnError extends boolean = false>(options?: Options<ContextGetData, ThrowOnError>) => RequestResult<ContextGetResponses, ContextGetErrors, ThrowOnError, "fields">;
/**
 * Search documentation
 *
 * Search Asteroid documentation for guides on building agents, node types, and best practices
 */
declare const docsSearchSearch: <ThrowOnError extends boolean = false>(options: Options<DocsSearchSearchData, ThrowOnError>) => RequestResult<DocsSearchSearchResponses, DocsSearchSearchErrors, ThrowOnError, "fields">;
/**
 * List executions
 *
 * List executions with filtering and pagination
 */
declare const executionsList: <ThrowOnError extends boolean = false>(options?: Options<ExecutionsListData, ThrowOnError>) => RequestResult<ExecutionsListResponses, ExecutionsListErrors, ThrowOnError, "fields">;
/**
 * Get execution
 *
 * Get a single execution by ID with all details
 */
declare const executionGet: <ThrowOnError extends boolean = false>(options: Options<ExecutionGetData, ThrowOnError>) => RequestResult<ExecutionGetResponses, ExecutionGetErrors, ThrowOnError, "fields">;
/**
 * Retrieve execution activities
 *
 * Get activities for an execution
 */
declare const executionActivitiesGet: <ThrowOnError extends boolean = false>(options: Options<ExecutionActivitiesGetData, ThrowOnError>) => RequestResult<ExecutionActivitiesGetResponses, ExecutionActivitiesGetErrors, ThrowOnError, "fields">;
/**
 * Get Agent Files
 *
 * Deprecated: Use /executions/{executionId}/files instead.
 *
 * @deprecated
 */
declare const executionAgentFilesGet: <ThrowOnError extends boolean = false>(options: Options<ExecutionAgentFilesGetData, ThrowOnError>) => RequestResult<ExecutionAgentFilesGetResponses, ExecutionAgentFilesGetErrors, ThrowOnError, "fields">;
/**
 * Download agent file
 *
 * Deprecated: Use /executions/{executionId}/files/{fileId}/download instead.
 *
 * @deprecated
 */
declare const executionAgentFileDownloadRedirect: <ThrowOnError extends boolean = false>(options: Options<ExecutionAgentFileDownloadRedirectData, ThrowOnError>) => RequestResult<unknown, ExecutionAgentFileDownloadRedirectErrors, ThrowOnError, "fields">;
/**
 * Get Execution Context Files
 *
 * Get all context files attached to an execution
 */
declare const executionContextFilesGet: <ThrowOnError extends boolean = false>(options: Options<ExecutionContextFilesGetData, ThrowOnError>) => RequestResult<ExecutionContextFilesGetResponses, ExecutionContextFilesGetErrors, ThrowOnError, "fields">;
/**
 * Upload Execution Context Files
 *
 * Upload files to a running execution that is already in progress. If you want to attach files to an execution that is not yet running, see the /temp-files endpoint.
 */
declare const executionContextFilesUpload: <ThrowOnError extends boolean = false>(options: Options<ExecutionContextFilesUploadData, ThrowOnError>) => RequestResult<ExecutionContextFilesUploadResponses, ExecutionContextFilesUploadErrors, ThrowOnError, "fields">;
/**
 * Download context file
 *
 * Redirects to a short-lived signed URL for downloading the file.
 */
declare const executionContextFileDownloadRedirect: <ThrowOnError extends boolean = false>(options: Options<ExecutionContextFileDownloadRedirectData, ThrowOnError>) => RequestResult<unknown, ExecutionContextFileDownloadRedirectErrors, ThrowOnError, "fields">;
/**
 * Download debug file
 *
 * Redirects to a short-lived signed URL for downloading the file.
 */
declare const executionDebugFileDownloadRedirect: <ThrowOnError extends boolean = false>(options: Options<ExecutionDebugFileDownloadRedirectData, ThrowOnError>) => RequestResult<unknown, ExecutionDebugFileDownloadRedirectErrors, ThrowOnError, "fields">;
/**
 * Get Execution Files
 *
 * Get all files for an execution, grouped by directory. Files are tracked by the file syncer daemon during execution.
 */
declare const executionFilesGet: <ThrowOnError extends boolean = false>(options: Options<ExecutionFilesGetData, ThrowOnError>) => RequestResult<ExecutionFilesGetResponses, ExecutionFilesGetErrors, ThrowOnError, "fields">;
/**
 * Download execution file
 *
 * Redirects to a short-lived signed URL for downloading the file.
 */
declare const executionFileDownloadRedirect: <ThrowOnError extends boolean = false>(options: Options<ExecutionFileDownloadRedirectData, ThrowOnError>) => RequestResult<unknown, ExecutionFileDownloadRedirectErrors, ThrowOnError, "fields">;
/**
 * Get recording redirect
 *
 * Redirect to the recording playback URL. Returns a 307 with a short-lived signed URL. Embed this endpoint in <video> tags — the player will follow the redirect and re-fetch on expiry.
 */
declare const executionRecordingRedirect: <ThrowOnError extends boolean = false>(options: Options<ExecutionRecordingRedirectData, ThrowOnError>) => RequestResult<unknown, ExecutionRecordingRedirectErrors, ThrowOnError, "fields">;
/**
 * Update execution status
 *
 * Update the status of an execution. Use this to pause, resume, or cancel an execution.
 */
declare const executionStatusUpdate: <ThrowOnError extends boolean = false>(options: Options<ExecutionStatusUpdateData, ThrowOnError>) => RequestResult<ExecutionStatusUpdateResponses, ExecutionStatusUpdateErrors, ThrowOnError, "fields">;
/**
 * Send user message to execution
 *
 * Add a user message to an execution
 */
declare const executionUserMessagesAdd: <ThrowOnError extends boolean = false>(options: Options<ExecutionUserMessagesAddData, ThrowOnError>) => RequestResult<ExecutionUserMessagesAddResponses, ExecutionUserMessagesAddErrors, ThrowOnError, "fields">;
/**
 * Validate schema
 *
 * Validate a JSON schema against OpenAI structured output requirements
 */
declare const schemaValidationValidate: <ThrowOnError extends boolean = false>(options: Options<SchemaValidationValidateData, ThrowOnError>) => RequestResult<SchemaValidationValidateResponses, SchemaValidationValidateErrors, ThrowOnError, "fields">;
/**
 * Stage a file for an execution
 *
 * Stage a file prior to starting an execution, so that it can be used when the execution is started. See the /agents/{agentId}/execute to understand how to pass the returned file information to the execution endpoint.
 */
declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Options<TempFilesStageData, ThrowOnError>) => RequestResult<TempFilesStageResponses, TempFilesStageErrors, ThrowOnError, "fields">;

export { type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentSharedFileDownloadRedirectData, type AgentSharedFileDownloadRedirectError, type AgentSharedFileDownloadRedirectErrors, type AgentSharedFilesDeleteAllData, type AgentSharedFilesDeleteAllError, type AgentSharedFilesDeleteAllErrors, type AgentSharedFilesDeleteAllResponse, type AgentSharedFilesDeleteAllResponses, type AgentSharedFilesDeleteData, type AgentSharedFilesDeleteError, type AgentSharedFilesDeleteErrors, type AgentSharedFilesDeleteResponse, type AgentSharedFilesDeleteResponses, type AgentSharedFilesFreezeData, type AgentSharedFilesFreezeError, type AgentSharedFilesFreezeErrors, type AgentSharedFilesFreezeResponse, type AgentSharedFilesFreezeResponses, type AgentSharedFilesGetData, type AgentSharedFilesGetError, type AgentSharedFilesGetErrors, type AgentSharedFilesGetResponse, type AgentSharedFilesGetResponses, type AgentSharedFilesUpdateData, type AgentSharedFilesUpdateError, type AgentSharedFilesUpdateErrors, type AgentSharedFilesUpdateResponse, type AgentSharedFilesUpdateResponses, type AgentSharedFilesUploadData, type AgentSharedFilesUploadError, type AgentSharedFilesUploadErrors, type AgentSharedFilesUploadResponse, type AgentSharedFilesUploadResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsSyncExecutionData, type AgentWorkflowsSyncExecutionError, type AgentWorkflowsSyncExecutionErrors, type AgentWorkflowsSyncExecutionResponse, type AgentWorkflowsSyncExecutionResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionActivityWorkflowUpdatedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionRulesDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTransitionDetails, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateType, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWorkflowUpdate, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesSetFrozenRequest, type AgentsFilesSharedFile, type AgentsFilesSharedFileUploadResponse, type AgentsFilesSharedFilesResponse, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsLlmProvider, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsSettings, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsGraphModelsTypeInputMethod, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearch, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowRequest, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowSyncExecutionRequest, type AgentsWorkflowSyncExecutionResponse, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowSnapshot, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type Version, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentSharedFileDownloadRedirect, agentSharedFilesDelete, agentSharedFilesDeleteAll, agentSharedFilesFreeze, agentSharedFilesGet, agentSharedFilesUpdate, agentSharedFilesUpload, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsSyncExecution, availableToolsList, client, contextGet, docsSearchSearch, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };
