---
title: "SDK method reference"
canonical: https://trickest.com/docs/developer-tools/sdk/method-index
description: "Complete index of TrickestClient service namespaces and methods in @trickest/sdk."
---

# SDK method reference

Public service methods in **`@trickest/sdk`**, plus selected top-level exports. Method presence does not guarantee compatibility with every current platform route; the linked reference pages describe known limits. For parameters, use those pages and your installed declarations.

## Top-level exports

| Export                                   | Purpose                                                        |
| ---------------------------------------- | -------------------------------------------------------------- |
| `TrickestClient`                         | Main client                                                    |
| `runTurn`                                | Headless agent turn helper                                     |
| `resolveWsUrl`                           | Derive the WebSocket endpoint                                  |
| `isTerminalRun`, `TERMINAL_RUN_STATUSES` | Workflow run completion helpers                                |
| `generateIdempotencyKey`                 | Idempotency header helper                                      |
| `*Error` classes                         | `AuthError`, `NotFoundError`, …                                |
| Service classes                          | `WorkflowsService`, `RunsService`, …                           |
| Schema types                             | `Workflow`, `Run`, `Space`, …                                  |
| Session types                            | `SessionHandle`, `SessionStateProjection`, `StreamingFrame`, … |

## `client.spaces`

[Spaces & projects](/docs/developer-tools/sdk/spaces-projects)

`list` · `listPage` · `get` · `create` · `update` · `delete`

## `client.projects`

`list(spaceId)` · `get(spaceId, id)` · `create(spaceId, data)` · `update(spaceId, id, data)` · `delete(spaceId, id)`

## `client.workflows`

[Workflows](/docs/developer-tools/sdk/workflows)

`list(spaceId)` · `listPage(spaceId)` · `get` · `create(spaceId, data)` · `update` · `delete` · `copy` · `move` · `getVersion` · `saveVersion` · `setScriptArgs`

## `client.runs`

[Runs & schedules](/docs/developer-tools/sdk/runs-schedules)

`execute` · `waitFor` · `get` · `list` · `listPage` · `stop` · `retry` · `delete` · `getOutputContent` · `getNodeOutputFiles` · `listSubjobs` · `listSubjobsPage` · `listModuleJobs` · `getSubjobConsole` · `findSubjobByNodeName`

## `client.schedules`

`create` · `delete` (`list` / `get` / `enable` / `disable` exist but are platform-gated)

## `client.library`

[Library & tools](/docs/developer-tools/sdk/library-tools)

`search` · `getTool` · `getScript` · `getModule` · `getSplitter` · `searchSplitters` · `getLatestTool` · `getLatestModule` · `resolveToolNode` · `resolveModuleNode` · `resolveScriptNode` · `createTool` · `updateTool` · `deleteTool` · `getToolByName` · `listTools` · `createModule` · `updateModule` · `deleteModule` · `listModules`

## `client.database`

[Database](/docs/developer-tools/sdk/database)

`list` · `listPage` · `listByWorkflow` · `get` · `getSchema` · `resolveByName` · `detect` · `preview` · `query` · `queryAll` · `delete` · `drop` · `listRows` · `getRow` · `insertRow` · `updateRow` · `deleteRow` · `createLive` · `updateSchema` · `listFields` · `addField` · `removeField`

## `client.storage`

[Storage & variables](/docs/developer-tools/sdk/storage-variables)

`list` · `listPage` · `get` · `getDownloadUrl` · `upload` · `delete` · `mkdir`

## `client.variables`

`list` · `listPage` · `get` · `set` · `delete`

## `client.secretVariables`

`list` · `create` · `update` · `delete`

## `client.sessions`

[Sessions](/docs/developer-tools/sdk/sessions)

`list(vaultId)` · `get` · `create` · `delete` · `archive` · `handle` · `dispatch` · `listTasks` · `createTask` · `updateTask` · `deleteTask` · `stop`

### `SessionHandle` (from `sessions.handle`)

`refresh` · `subscribe` · `subscribeStreaming` · `send` · `inject` · `abort` · `resolveInterrupt` · `getActiveInterrupt` · `close`

### `runTurn(handle, params, options?)`

Returns `TurnSummary` with `answer`, `toolCalls`, `success`, `phase`, `errorMessage`.

## `client.memory`

[Memory & skills](/docs/developer-tools/sdk/memory-skills)

`list` · `get` · `getByKey` · `set` · `append` · `delete` · `deleteByKey` · `search` · `log` · `backup` · `restore` · `export` · `import`

## `client.skills`

`list(vaultId)` · `get` · `install` · `delete`

Use `list` for skill discovery. The other skill helpers are not available to standard accounts; see [Memory & skills](/docs/developer-tools/sdk/memory-skills).

## `client.solutions`

[Solutions](/docs/developer-tools/sdk/solutions)

`list` · `listPage` · `get` · `create` · `update` · `delete` · `listDatasets` · `listDatasetsPage`

## `client.sandbox`

[Sandbox](/docs/developer-tools/sdk/sandbox)

`startSession` · `stopSession` · `getHealth` · `exec` · `listFiles` · `readFile` · `writeFile` · `writeFiles` · `deleteFile`

These are platform-session methods, not `@trickest/sandbox`. The
creation/health contract has compatibility limits; see the linked compatibility notes
before using it.
For direct environment control, use the [Sandbox SDK](/docs/developer-tools/sandbox-sdk).

## `client.fleet`

[Fleet](/docs/developer-tools/sdk/fleet)

`list` · `get` · `create` · `delete` · `scale` · `listMachines` · `createMachine` · `updateMachine` · `deleteMachine`

The fleet `get`, `delete`, and `scale` helpers are unsupported. Use
`list` to find a fleet and read the [compatibility limits](/docs/developer-tools/sdk/fleet).

## `client.users`

[Users](/docs/developer-tools/sdk/users)

`listUsers` · `getMe` · `listTeams` · `getTeam` · `createTeam` · `deleteTeam` · `listRoles` · `updateRole` · `listInvites` · `createInvite` · `deleteInvite`

## `client.integrations`

[Integrations & billing](/docs/developer-tools/sdk/integrations-billing) explains the current create-payload mismatch.

`list` · `get` · `create` · `delete`

## `client.billing`

`getStatus` · `getUsage` · `listCharges` · `listPaymentMethods`

The SDK uses a positional vault ID, but current routes use the token's vault. Payment-method return types also need correction; see [billing compatibility](/docs/developer-tools/sdk/integrations-billing).

## `client.audit`

[Notifications & audit](/docs/developer-tools/sdk/notifications-audit)

`list(vaultId, filters?)` · `get`

The current list route uses token vault scope and does not apply the SDK's declared filters. The [audit reference](/docs/developer-tools/sdk/notifications-audit) includes the supported HTTP query.

## `client.notifications`

`list` · `markRead` · `markReadBulk` · `markAllRead` · `delete` · `deleteBulk` · `deleteAll` · `getConfig` · `updateConfig`

## `client.http`

Shared HTTP operations: `get` · `post` · `put` · `patch` · `delete` · `requestRaw` · `stream`. Use these for routes not covered by a service or for documented compatibility workarounds. `getToken()` also exists; it returns the configured credential and should not be logged.

## Sidebar map

<CardGroup cols={2}>
  <Card
    title="Getting Started"
    icon="rocket"
    href="/docs/developer-tools/sdk/installation"
  >
    Install, client setup, errors.
  </Card>
  <Card title="SDK overview" icon="code" href="/docs/developer-tools/sdk">
    Mental model and namespace table.
  </Card>
</CardGroup>

---
_Markdown source of https://trickest.com/docs/developer-tools/sdk/method-index._
