> ## Documentation Index
> Fetch the complete documentation index at: https://notte-docs-anything-api-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NotteClient

<Tip>
  STOP. Do not read past this section until you have read and followed [/quickstart.md](/quickstart.md).

  Goal: produce a reliable SDK automation script. The intended authoring flow is generate then edit, not write browser automation from scratch.

  Do not hand-write SDK code with element IDs, selectors, or form fields from memory. Element IDs, selectors, and field mappings must come from a live `observe()` call, CLI `notte page observe` output, or generated workflow code. Guessed browser targets fail on real pages.

  Use the Notte skill and CLI to inspect the live site, validate actions/selectors, handle auth/session state, and export workflow code with `notte sessions workflow-code` before using SDK docs or SDK code.

  SDK reference pages are for understanding, running, or editing generated workflow code. They are not the starting point for manually authoring the initial browser automation. SDK-first code is guesswork on real-world pages with dynamic selectors, auth state, CAPTCHAs, and anti-bot behavior.
</Tip>

[Source: node-sdk/src/client.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/client.ts)

Entry point for sessions, agents, functions, vaults, personas, and session files.

```typescript theme={null}
import { NotteClient } from 'notte-sdk';
```

```typescript theme={null}
new NotteClient(config?: NotteClientConfig): NotteClient;
```

<ParamField body="config" type={"NotteClientConfig"}>
  Default:

  ```typescript theme={null}
  {}
  ```
</ParamField>

## Related types

* [NotteClientConfig](/typescript-sdk-reference/types/notteclientconfig)

## Usage

* [withDbPreview](/typescript-sdk-reference/client/withdbpreview): Add the database preview branch to a websocket URL served by the Notte API. The websocket handshake reads the branch from the query string, so without it a preview-branch session is looked up in the default database.
* [healthCheck](/typescript-sdk-reference/client/healthcheck): Health check the Notte API. Resolves when the API answers 200 and rejects with a `NotteAPIError` (or a network error) otherwise.
* [Session](/typescript-sdk-reference/client/session): Create a new session
* [Files](/typescript-sdk-reference/client/files): Access files owned by a specific session, including closed sessions.
* [FileStorage](/typescript-sdk-reference/client/filestorage): File storage to attach to a session, the counterpart of `client.FileStorage()`.
* [Agent](/typescript-sdk-reference/client/agent): Create a new agent
* [Vault](/typescript-sdk-reference/client/vault): Create or access a vault
* [Persona](/typescript-sdk-reference/client/persona): Create or access a persona
* [NotteFunction](/typescript-sdk-reference/client/nottefunction): Create or access a function
* [Function](/typescript-sdk-reference/client/function): Alias of `NotteFunction`, matching `client.Function` in Python.
* [search](/typescript-sdk-reference/client/search): Search the public web (`POST /search`). Returns ranked results by default, an answer with sources with `outputType: 'sourcedAnswer'`, or structured output with `outputType: 'structured'`.
* [scrape](/typescript-sdk-reference/client/scrape): Scrape a webpage directly (without session).

<Accordion title="Properties">
  ### sessions

  ```typescript theme={null}
  sessions: { list: (options?: { page?: number | undefined; page_size?: number | undefined; only_active?: boolean | undefined; only_current_token?: boolean | undefined; include_system?: boolean | undefined; }) => Promise<SessionResponse[]>; authReadiness: (sessionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ManagedAuthReadiness>; createPayment: (sessionId: string, body: PaymentRequest, query: { update_metadata?: boolean | undefined; } | undefined, requestOptions: ResourceRequestOptions & { headers: Omit<{ 'idempotency-key': string; 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key">; }) => Promise<PaymentResponse>; debugInfo: (sessionId: string, query?: { update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionDebugResponse>; deleteSessionFile: (sessionId: string, fileId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<void>; downloadSessionFile: (sessionId: string, fileId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<unknown>; execute: (sessionId: string, body: ({ type: "form_fill"; } & FormFillActionWritable) | ({ type: "goto"; } & GotoAction) | ({ type: "goto_new_tab"; } & GotoNewTabAction) | ({ type: "close_tab"; } & CloseTabAction) | ({ type: "switch_tab"; } & SwitchTabAction) | ({ type: "go_back"; } & GoBackAction) | ({ type: "go_forward"; } & GoForwardAction) | ({ type: "reload"; } & ReloadAction) | ({ type: "wait"; } & WaitAction) | ({ type: "press_key"; } & PressKeyAction) | ({ type: "scroll_up"; } & ScrollUpAction) | ({ type: "scroll_down"; } & ScrollDownAction) | ({ type: "captcha_solve"; } & CaptchaSolveAction) | ({ type: "help"; } & HelpAction) | ({ type: "completion"; } & CompletionAction) | ({ type: "scrape"; } & ScrapeAction) | ({ type: "email_read"; } & EmailReadAction) | ({ type: "email_verification_read"; } & EmailVerificationReadAction) | ({ type: "sms_read"; } & SmsReadAction) | ({ type: "evaluate_js"; } & EvaluateJsAction) | ({ type: "click"; } & ClickActionInput) | ({ type: "fill"; } & FillActionInputWritable) | ({ type: "multi_factor_fill"; } & MultiFactorFillActionInputWritable) | ({ type: "fallback_fill"; } & FallbackFillActionInputWritable) | ({ type: "check"; } & CheckActionInput) | ({ type: "select_dropdown_option"; } & SelectDropdownOptionActionInputWritable) | ({ type: "upload_file"; } & UploadFileActionInput) | ({ type: "download_file"; } & DownloadFileActionInput), query?: { captcha_id?: string | null | undefined; captcha_timeout_seconds?: number | undefined; target_page_id?: string | null | undefined; target_generation?: number | null | undefined; update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ApiExecutionResponse>; getCookies: (sessionId: string, query?: { update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<GetCookiesResponse>; getSessionScript: (sessionId: string, query: { as_workflow: boolean; infer_response_format?: boolean | undefined; }, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<AgentFunctionCodeResponse>; listSessionFiles: (sessionId: string, query?: { source?: FileSource | null | undefined; limit?: number | undefined; offset?: number | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionFilesPage>; networkLogs: (sessionId: string, query?: { limit?: number | undefined; download?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<NetworkLogsResponse>; observe: (sessionId: string, body: ObserveRequest, query?: { update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<Observation>; offset: (sessionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionOffsetResponse>; pageScreenshot: (sessionId: string, query?: { update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<unknown>; profilePreview: (sessionId: string, query?: { include_cookies?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionProfilePreviewResponse>; replay: (sessionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ReplayResponse>; scrape: (sessionId: string, body: ScrapeRequest, query?: { update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<DataSpace>; setCookies: (sessionId: string, body: BodySessionCookiesSetSessionsSessionIdCookiesPost, query?: { update_metadata?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ExecutionResponse>; start: (body: ApiSessionStartRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionResponse>; status: (sessionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionResponse>; stop: (sessionId: string, query?: { close_reason?: "error" | "manual" | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionResponse>; uploadSessionFile: (sessionId: string, body: BodyUploadSessionFileSessionsSessionIdFilesPost, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SessionFile>; }
  ```

  Client-bound session API operations. `list()` retains its array return value.

  ### agents

  ```typescript theme={null}
  agents: { list: (options?: { page?: number | undefined; page_size?: number | undefined; only_active?: boolean | undefined; only_saved?: boolean | undefined; only_current_token?: boolean | undefined; }) => Promise<AgentResponse[]>; getScript: (agentId: string, query: { as_workflow: boolean; infer_response_format?: boolean | undefined; }, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<AgentFunctionCodeResponse>; start: (body: ApiAgentStartRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<AgentResponse>; status: (agentId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<LegacyAgentStatusResponse>; stop: (agentId: string, query: { session_id: string; }, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<AgentStatusResponse>; }
  ```

  Client-bound agent API operations. `list()` retains its array return value.

  ### vaults

  ```typescript theme={null}
  vaults: { list: (options?: { page?: number | undefined; page_size?: number | undefined; only_active?: boolean | undefined; only_current_token?: boolean | undefined; include_system?: boolean | undefined; }) => Promise<Vault[]>; create: (body: VaultCreateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<Vault>; credentialsAdd: (vaultId: string, body: AddCredentialsRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<AddCredentialsResponse>; credentialsDelete: (vaultId: string, query: { url: string; }, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<DeleteCredentialsResponse>; credentialsGet: (vaultId: string, query: { url: string; }, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<GetCredentialsResponse>; credentialsList: (vaultId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ListCredentialsResponse>; creditCardDelete: (vaultId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<DeleteCreditCardResponse>; creditCardGet: (vaultId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<GetCreditCardResponse>; creditCardSet: (vaultId: string, body: AddCreditCardRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<AddCreditCardResponse>; delete: (vaultId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<DeleteVaultResponse>; update: (vaultId: string, body: VaultUpdateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<Vault>; }
  ```

  Client-bound vault API operations. `list()` retains its array return value.

  ### functions

  ```typescript theme={null}
  functions: { list: (options?: { page?: number | undefined; page_size?: number | undefined; only_active?: boolean | undefined; only_current_token?: boolean | undefined; include_system?: boolean | undefined; }) => Promise<FunctionListItemResponse[]>; create: (body: BodyFunctionCreateFunctionsPost, query?: { restricted?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionResponse>; delete: (functionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<DeleteFunctionResponse>; deleteSchedule: (functionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ScheduleDeleteResponse>; downloadUrl: (functionId: string, query?: { version?: string | null | undefined; decryption_key?: string | null | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionWithLinkResponse>; fork: (functionId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionResponse>; listRuns: (functionId: string | null, query?: { page?: number | undefined; page_size?: number | undefined; only_active?: boolean | undefined; only_current_token?: boolean | undefined; include_system?: boolean | undefined; source?: FunctionSource | null | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<PaginatedResponseFunctionRunListItemResponse>; metadataUpdate: (functionId: string, body: FunctionMetadataUpdateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionResponse>; rollback: (functionId: string, body: FunctionRollbackRequest, query?: { restricted?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionResponse>; runGetMetadata: (functionId: string, runId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<GetFunctionRunResponse>; runStart: (functionId: string, body: RunFunctionRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-api-key': string; 'x-db-preview'?: string | null | undefined; 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<unknown>; runStop: (functionId: string, runId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<UpdateFunctionRunResponse>; runUpdateMetadata: (functionId: string, runId: string, body: FunctionRunUpdateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<UpdateFunctionRunResponse>; runtimeHealth: (requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionRuntimeHealthResponse>; setSchedule: (functionId: string, body: FunctionScheduleCreateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ScheduleResponse>; update: (functionId: string, body: BodyFunctionUpdateFunctionsFunctionIdPost, query?: { version?: string | null | undefined; restricted?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<FunctionResponse>; }
  ```

  Client-bound function API operations. `list()` retains its array return value.

  ### anything

  ```typescript theme={null}
  anything: NotteAnything
  ```

  Anything API (`POST /anything/start`).

  ### secrets

  ```typescript theme={null}
  secrets: NotteSecrets
  ```

  Workspace secrets (`/secrets`).

  ### managedAuth

  ```typescript theme={null}
  managedAuth: NotteManagedAuth
  ```

  Managed authentication: verify connections, request login, and wait for readiness.

  ### usage

  ```typescript theme={null}
  usage: NotteUsage
  ```

  Usage and billing (`/usage`, `/usage/logs`).

  ### personas

  ```typescript theme={null}
  personas: { list: (options?: { page?: number | undefined; page_size?: number | undefined; only_active?: boolean | undefined; only_current_token?: boolean | undefined; include_system?: boolean | undefined; } | undefined) => Promise<PersonaResponse[]>; create: (body: PersonaCreateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<PersonaResponse>; delete: (personaId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<DeletePersonaResponse>; emailsList: (personaId: string, query?: { limit?: number | undefined; timedelta?: string | null | undefined; only_unread?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<EmailResponse[]>; get: (personaId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<PersonaResponse>; smsList: (personaId: string, query?: { limit?: number | undefined; timedelta?: string | null | undefined; only_unread?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<SmsResponse[]>; update: (personaId: string, body: PersonaUpdateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<PersonaResponse>; }
  ```

  Personas client for listing and managing personas

  ### profiles

  ```typescript theme={null}
  profiles: { cookiesGet: (profileId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<GetCookiesResponse>; cookiesSet: (profileId: string, body: ProfileCookiesImportRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ProfileCookiesImportResponse>; create: (body: ProfileCreateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ProfileResponse>; delete: (profileId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ProfileDeleteResponse>; duplicate: (profileId: string, body: ProfileDuplicateRequest, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ProfileResponse>; get: (profileId: string, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<ProfileResponse>; list: (query?: { page?: number | undefined; page_size?: number | undefined; name?: string | null | undefined; only_active?: boolean | undefined; only_current_token?: boolean | undefined; } | undefined, requestOptions?: ResourceRequestOptions & { headers?: Omit<{ 'x-notte-request-origin'?: string | null | undefined; 'x-notte-sdk-version'?: string | null | undefined; }, "x-notte-api-key"> | undefined; }) => Promise<PaginatedResponseProfileResponse>; }
  ```

  Client-bound profile API operations, generated from OpenAPI.
</Accordion>
