export declare const createClient: (token: string) => { readonly live: (args?: { cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: Record | undefined; overrideClientOptions?: Partial | undefined; } | undefined) => Promise<{ status: 200; body: { status: string; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createEphemeralSetup: (args?: { cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: Record | undefined; overrideClientOptions?: Partial | undefined; } | undefined) => Promise<{ status: 200; body: { apiKey: string; clusterId: string; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getContract: (args?: { cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: Record | undefined; overrideClientOptions?: Partial | undefined; } | undefined) => Promise<{ status: 200; body: { contract: string; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createStructuredOutput: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; body: { prompt: string; modelId: "claude-3-5-sonnet" | "claude-3-haiku"; resultSchema?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; temperature?: number | undefined; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: unknown; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getJob: (args: { params: { jobId: string; clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { service: string; status: string; id: string; createdAt: Date; result: string | null; targetFn: string; executingMachineId: string | null; targetArgs: string; resultType: string | null; blobs: { type: "application/json" | "image/png" | "image/jpeg"; id: string; name: string; encoding: "base64"; size: number; createdAt: Date; jobId: string | null; workflowId: string | null; }[]; approved: boolean | null; approvalRequested: boolean | null; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createJob: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; body: { function: string; service: string; input: {} & { [k: string]: unknown; }; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { waitTime?: number | undefined; } | undefined; }) => Promise<{ status: 200; body: { status: "pending" | "running" | "success" | "failure" | "stalled"; id: string; resultType: "resolution" | "rejection" | "interrupt" | null; result?: any; }; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly cancelJob: (args: { params: { jobId: string; clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 200 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createJobResult: (args: { params: { jobId: string; clusterId: string; }; cache?: RequestCache | undefined; body: { resultType: "resolution" | "rejection" | "interrupt"; meta: { functionExecutionTime?: number | undefined; }; result?: any; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; "x-machine-id"?: undefined; "x-machine-sdk-version"?: undefined; "x-machine-sdk-language"?: undefined; "x-forwarded-for"?: undefined; "x-sentinel-no-mask"?: undefined; "x-sentinel-unmask-keys"?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { "x-machine-id"?: string | undefined; "x-machine-sdk-version"?: string | undefined; "x-machine-sdk-language"?: string | undefined; "x-forwarded-for"?: string | undefined; "x-sentinel-no-mask"?: string | undefined; "x-sentinel-unmask-keys"?: string | undefined; authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 200 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listJobs: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; query: { service: string; status?: "done" | "pending" | "running" | "paused" | "failed" | undefined; limit?: number | undefined; acknowledge?: boolean | undefined; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; "x-machine-id"?: undefined; "x-machine-sdk-version"?: undefined; "x-machine-sdk-language"?: undefined; "x-forwarded-for"?: undefined; "x-sentinel-no-mask"?: undefined; "x-sentinel-unmask-keys"?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { "x-machine-id"?: string | undefined; "x-machine-sdk-version"?: string | undefined; "x-machine-sdk-language"?: string | undefined; "x-forwarded-for"?: string | undefined; "x-sentinel-no-mask"?: string | undefined; "x-sentinel-unmask-keys"?: string | undefined; authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { function: string; id: string; approved: boolean; input?: any; authContext?: any; runContext?: any; }[]; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 410; body: { message: string; }; headers: Headers; } | { status: 204 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createJobApproval: (args: { params: { jobId: string; clusterId: string; }; cache?: RequestCache | undefined; body: { approved: boolean; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 204; body: undefined; headers: Headers; } | { status: 404; body: { message: string; }; headers: Headers; } | { status: 200 | 401 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createJobBlob: (args: { params: { jobId: string; clusterId: string; }; cache?: RequestCache | undefined; headers: { "x-machine-id": string; "x-machine-sdk-version": string; "x-machine-sdk-language": string; "x-forwarded-for"?: string | undefined; "x-sentinel-no-mask"?: string | undefined; authorization?: string | undefined; }; body: { type: "application/json" | "image/png" | "image/jpeg"; name: string; encoding: "base64"; size: number; } & { data: string; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; "x-machine-id"?: undefined; "x-machine-sdk-version"?: undefined; "x-machine-sdk-language"?: undefined; "x-forwarded-for"?: undefined; "x-sentinel-no-mask"?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 404; body: { message: string; }; headers: Headers; } | { status: 201; body: { id: string; }; headers: Headers; } | { status: 200 | 204 | 410 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createMachine: (args?: { cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; "x-machine-id"?: undefined; "x-machine-sdk-version"?: undefined; "x-machine-sdk-language"?: undefined; "x-forwarded-for"?: undefined; "x-sentinel-no-mask"?: undefined; "x-sentinel-unmask-keys"?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { "x-machine-id"?: string | undefined; "x-machine-sdk-version"?: string | undefined; "x-machine-sdk-language"?: string | undefined; "x-forwarded-for"?: string | undefined; "x-sentinel-no-mask"?: string | undefined; "x-sentinel-unmask-keys"?: string | undefined; authorization?: string | undefined; } | undefined; body?: { service?: string | undefined; functions?: { name: string; description?: string | undefined; schema?: string | undefined; config?: { cache?: { keyPath: string; ttlSeconds: number; } | undefined; retryCountOnStall?: number | undefined; timeoutSeconds?: number | undefined; private?: boolean | undefined; } | undefined; }[] | undefined; } | undefined; } | undefined) => Promise<{ status: 200; body: { clusterId: string; }; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 401 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createCluster: (args: { cache?: RequestCache | undefined; body: { description: string; name?: string | undefined; isDemo?: boolean | undefined; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 204; body: undefined; headers: Headers; } | { status: 200 | 401 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly deleteCluster: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 204; body: undefined; headers: Headers; } | { status: 200 | 401 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly updateCluster: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; body?: { name?: string | undefined; description?: string | undefined; additionalContext?: { current: { version: string; content: string; }; history: { version: string; content: string; }[]; } | undefined; debug?: boolean | undefined; enableCustomAuth?: boolean | undefined; enableKnowledgebase?: boolean | undefined; handleCustomAuthFunction?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 200 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getCluster: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; name: string; createdAt: Date; description: string | null; isDemo: boolean; additionalContext: { current: { version: string; content: string; }; history: { version: string; content: string; }[]; } | null; debug: boolean; enableCustomAuth: boolean; handleCustomAuthFunction: string | null; machines: { id: string; lastPingAt: Date | null; ip: string | null; sdkVersion: string | null; sdkLanguage: string | null; }[]; services: { service: string; timestamp: Date | null; definition?: unknown; }[]; }; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 404; body: undefined; headers: Headers; } | { status: 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listClusters: (args?: { cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; } | undefined) => Promise<{ status: 200; body: { id: string; name: string; createdAt: Date; description: string | null; }[]; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getIntegrations: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { toolhouse?: { apiKey: string; } | null | undefined; langfuse?: { publicKey: string; secretKey: string; baseUrl: string; sendMessagePayloads: boolean; } | null | undefined; tavily?: { apiKey: string; } | null | undefined; valtown?: { endpoint: string; token: string; } | null | undefined; slack?: { nangoConnectionId: string; botUserId: string; teamId: string; agentId?: string | undefined; } | null | undefined; email?: { connectionId: string; agentId?: string | undefined; validateSPFandDKIM?: boolean | undefined; } | null | undefined; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly upsertIntegrations: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; body?: { toolhouse?: { apiKey: string; } | null | undefined; langfuse?: { publicKey: string; secretKey: string; baseUrl: string; sendMessagePayloads: boolean; } | null | undefined; tavily?: { apiKey: string; } | null | undefined; valtown?: { endpoint: string; token: string; } | null | undefined; slack?: { nangoConnectionId: string; botUserId: string; teamId: string; agentId?: string | undefined; } | null | undefined; email?: { connectionId: string; agentId?: string | undefined; validateSPFandDKIM?: boolean | undefined; } | null | undefined; } | undefined; }) => Promise<{ status: 200; body: undefined; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 400; body: { message: string; }; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listEvents: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { service?: string | undefined; type?: string | undefined; jobId?: string | undefined; workflowId?: string | undefined; machineId?: string | undefined; includeMeta?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { service: string | null; type: string; status: string | null; id: string; createdAt: Date; jobId: string | null; workflowId: string | null; targetFn: string | null; resultType: string | null; machineId: string | null; meta?: any; }[]; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 404; body: undefined; headers: Headers; } | { status: 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getEventMeta: (args: { params: { clusterId: string; eventId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { service: string | null; type: string; status: string | null; id: string; createdAt: Date; jobId: string | null; targetFn: string | null; resultType: string | null; machineId: string | null; meta?: unknown; }; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 404; body: undefined; headers: Headers; } | { status: 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listUsageActivity: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { modelUsage: { date: string; modelId: string | null; totalInputTokens: number; totalOutputTokens: number; totalModelInvocations: number; }[]; agentRuns: { date: string; totalAgentRuns: number; }[]; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createRun: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; body?: { id?: string | undefined; name?: string | undefined; agentId?: string | undefined; input?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; resultSchema?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; runId?: string | undefined; initialPrompt?: string | undefined; systemPrompt?: string | undefined; model?: "claude-3-5-sonnet" | "claude-3-haiku" | undefined; attachedFunctions?: { function: string; service: string; }[] | undefined; onStatusChange?: { function?: { function: string; service: string; } | undefined; statuses?: ("done" | "pending" | "running" | "paused" | "failed")[] | undefined; webhook?: string | undefined; } | undefined; tags?: Record | undefined; test?: { enabled?: boolean | undefined; mocks?: Record | undefined; } | undefined; context?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; reasoningTraces?: boolean | undefined; callSummarization?: boolean | undefined; interactive?: boolean | undefined; enableResultGrounding?: boolean | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 201; body: { id: string; }; headers: Headers; } | { status: 400; body: { message: string; }; headers: Headers; } | { status: 200 | 204 | 410 | 404 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly deleteRun: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 200 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listRuns: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { agentId?: string | undefined; limit?: number | undefined; tags?: string | undefined; test?: string | undefined; userId?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { status: "done" | "pending" | "running" | "paused" | "failed" | null; id: string; name: string; createdAt: Date; agentId: string | null; test: boolean; userId: string | null; agentVersion: number | null; feedbackScore: number | null; }[]; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getRun: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { status: "done" | "pending" | "running" | "paused" | "failed" | null; id: string; result: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | null; attachedFunctions: string[] | null; tags: Record | null; test: boolean; userId: string | null; feedbackScore: number | null; failureReason: string | null; feedbackComment: string | null; authContext?: any; context?: any; }; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createFeedback: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; body: { comment: string | null; score: number | null; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 404; body: undefined; headers: Headers; } | { status: 200 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly oas: (args?: { cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: Record | undefined; overrideClientOptions?: Partial | undefined; } | undefined) => Promise<{ status: 200; body: unknown; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createMessage: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; body: { message: string; type?: "human" | "supervisor" | undefined; id?: string | undefined; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 201; body: undefined; headers: Headers; } | { status: 200 | 204 | 410 | 404 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listMessages: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { waitTime?: number | undefined; limit?: number | undefined; after?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: ({ type: "agent"; id: string; data: { message?: string | undefined; result?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; done?: boolean | undefined; learnings?: { summary: string; entities: { type: "tool"; name: string; }[]; relevance: { temporality: "transient" | "persistent"; }; }[] | undefined; issue?: string | undefined; invocations?: { toolName: string; input: {} & { [k: string]: unknown; }; id?: string | undefined; reasoning?: string | undefined; }[] | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "invocation-result"; id: string; data: { id: string; result: {} & { [k: string]: unknown; }; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "human"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "template"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "supervisor"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "agent-invalid"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; })[]; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listRunReferences: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; query: { token: string; before: string; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { service: string; status: string; id: string; createdAt: Date; result: string | null; targetFn: string; executingMachineId: string | null; }[]; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createApiKey: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; body: { name: string; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; key: string; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listApiKeys: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; name: string; createdAt: Date; createdBy: string; revokedAt: Date | null; }[]; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly revokeApiKey: (args: { params: { clusterId: string; keyId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 204; body: undefined; headers: Headers; } | { status: 200 | 401 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listMachines: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { limit?: number | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; lastPingAt: Date; ip: string; }[]; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listServices: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { name: string; timestamp: Date; description?: string | undefined; functions?: { name: string; description?: string | undefined; schema?: string | undefined; config?: { cache?: { keyPath: string; ttlSeconds: number; } | undefined; retryCountOnStall?: number | undefined; timeoutSeconds?: number | undefined; private?: boolean | undefined; } | undefined; }[] | undefined; }[]; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getRunTimeline: (args: { params: { clusterId: string; runId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { messagesAfter?: string | undefined; activityAfter?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { blobs: { type: "application/json" | "image/png" | "image/jpeg"; id: string; name: string; encoding: "base64"; size: number; createdAt: Date; jobId: string | null; workflowId: string | null; }[]; messages: ({ type: "agent"; id: string; data: { message?: string | undefined; result?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; done?: boolean | undefined; learnings?: { summary: string; entities: { type: "tool"; name: string; }[]; relevance: { temporality: "transient" | "persistent"; }; }[] | undefined; issue?: string | undefined; invocations?: { toolName: string; input: {} & { [k: string]: unknown; }; id?: string | undefined; reasoning?: string | undefined; }[] | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "invocation-result"; id: string; data: { id: string; result: {} & { [k: string]: unknown; }; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "human"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "template"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "supervisor"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; } | { type: "agent-invalid"; id: string; data: { message: string; details?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; }; createdAt?: Date | undefined; pending?: boolean | undefined; metadata?: Record | null | undefined; })[]; activity: { service: string | null; type: string; id: string; createdAt: Date; jobId: string | null; targetFn: string | null; machineId: string | null; }[]; jobs: { service: string; status: string; id: string; createdAt: Date; targetFn: string; resultType: string | null; approved: boolean | null; approvalRequested: boolean | null; }[]; run: { status: "done" | "pending" | "running" | "paused" | "failed" | null; id: string; name: string | null; attachedFunctions: string[] | null; test: boolean; userId: string | null; feedbackScore: number | null; failureReason: string | null; feedbackComment: string | null; result?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | null | undefined; authContext?: any; tags?: Record | null | undefined; context?: any; }; }; headers: Headers; } | { status: 404; body: undefined; headers: Headers; } | { status: 401 | 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getBlobData: (args: { params: { clusterId: string; blobId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: any; headers: Headers; } | { status: 404; body: undefined; headers: Headers; } | { status: 401 | 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getAgent: (args: { params: { agentId: string; clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; query?: { withPreviousVersions?: "true" | "false" | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; name: string; createdAt: Date; clusterId: string; resultSchema: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | null; initialPrompt: string | null; systemPrompt: string | null; attachedFunctions: string[]; inputSchema: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | null; updatedAt: Date; versions: { name: string; version: number; resultSchema: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | null; initialPrompt: string | null; systemPrompt: string | null; attachedFunctions: string[]; inputSchema: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | null; }[]; }; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 404; body: { message: string; }; headers: Headers; } | { status: 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createAgent: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; body: { name: string; resultSchema?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined; initialPrompt?: string | undefined; systemPrompt?: string | undefined; attachedFunctions?: string[] | undefined; inputSchema?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | null | undefined; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 201; body: { id: string; }; headers: Headers; } | { status: 200 | 204 | 410 | 404 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly upsertAgent: (args: { params: { agentId: string; clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; body?: { name?: string | undefined; resultSchema?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | null | undefined; initialPrompt?: string | undefined; systemPrompt?: string | undefined; attachedFunctions?: string[] | undefined; inputSchema?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | null | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; name: string; createdAt: Date; clusterId: string; initialPrompt: string | null; systemPrompt: string | null; attachedFunctions: string[]; updatedAt: Date; resultSchema?: unknown; }; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 404; body: { message: string; }; headers: Headers; } | { status: 204 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly deleteAgent: (args: { params: { agentId: string; clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 401; body: undefined; headers: Headers; } | { status: 204; body: undefined; headers: Headers; } | { status: 404; body: { message: string; }; headers: Headers; } | { status: 200 | 410 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly listAgents: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { id: string; name: string; createdAt: Date; clusterId: string; initialPrompt: string | null; systemPrompt: string | null; attachedFunctions: string[]; updatedAt: Date; resultSchema?: unknown; }[]; headers: Headers; } | { status: 401; body: undefined; headers: Headers; } | { status: 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly getAgentMetrics: (args: { params: { agentId: string; clusterId: string; }; cache?: RequestCache | undefined; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { createdAt: Date; feedbackScore: number | null; jobFailureCount: number; timeToCompletion: number; jobCount: number; }[]; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createNangoSession: (args: { params: { clusterId: string; }; cache?: RequestCache | undefined; body: { integration: string; }; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ authorization?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; headers?: { authorization?: string | undefined; } | undefined; }) => Promise<{ status: 200; body: { token: string; }; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; readonly createNangoEvent: (args: { cache?: RequestCache | undefined; headers: { "x-nango-signature": string; }; body: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">; fetchOptions?: import("@ts-rest/core").FetchOptions | undefined; extraHeaders?: ({ "x-nango-signature"?: undefined; } & Record) | undefined; overrideClientOptions?: Partial | undefined; }) => Promise<{ status: 200; body: undefined; headers: Headers; } | { status: 401 | 204 | 410 | 404 | 201 | 400 | 100 | 101 | 102 | 202 | 203 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511; body: unknown; headers: Headers; }>; };