@letta-ai/letta-client 1.0.0-alpha.6 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +271 -0
- package/LICENSE +1 -1
- package/README.md +46 -46
- package/client.d.mts +82 -80
- package/client.d.mts.map +1 -1
- package/client.d.ts +82 -80
- package/client.d.ts.map +1 -1
- package/client.js +110 -104
- package/client.js.map +1 -1
- package/client.mjs +108 -102
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +2 -2
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +2 -2
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +2 -2
- package/core/error.d.ts.map +1 -1
- package/core/error.js +4 -4
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts +96 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +96 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +199 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +191 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +3 -3
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +3 -3
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +276 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +271 -0
- package/core/streaming.mjs.map +1 -0
- package/index.d.mts +4 -3
- package/index.d.mts.map +1 -1
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/index.mjs +4 -3
- package/index.mjs.map +1 -1
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +2 -2
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shims.js +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +4 -4
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -6
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +23 -3
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/access-tokens.d.mts +105 -0
- package/resources/access-tokens.d.mts.map +1 -0
- package/resources/access-tokens.d.ts +105 -0
- package/resources/access-tokens.d.ts.map +1 -0
- package/resources/access-tokens.js +30 -0
- package/resources/access-tokens.js.map +1 -0
- package/resources/access-tokens.mjs +26 -0
- package/resources/access-tokens.mjs.map +1 -0
- package/resources/agents/agents.d.mts +770 -346
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +770 -346
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +26 -90
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +28 -92
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/archives.d.mts +31 -0
- package/resources/agents/archives.d.mts.map +1 -0
- package/resources/agents/archives.d.ts +31 -0
- package/resources/agents/archives.d.ts.map +1 -0
- package/resources/agents/archives.js +24 -0
- package/resources/agents/archives.js.map +1 -0
- package/resources/agents/archives.mjs +20 -0
- package/resources/agents/archives.mjs.map +1 -0
- package/resources/agents/blocks.d.mts +268 -0
- package/resources/agents/blocks.d.mts.map +1 -0
- package/resources/agents/blocks.d.ts +268 -0
- package/resources/agents/blocks.d.ts.map +1 -0
- package/resources/agents/blocks.js +48 -0
- package/resources/agents/blocks.js.map +1 -0
- package/resources/agents/blocks.mjs +44 -0
- package/resources/agents/blocks.mjs.map +1 -0
- package/resources/agents/files.d.mts +49 -63
- package/resources/agents/files.d.mts.map +1 -1
- package/resources/agents/files.d.ts +49 -63
- package/resources/agents/files.d.ts.map +1 -1
- package/resources/agents/files.js +6 -2
- package/resources/agents/files.js.map +1 -1
- package/resources/agents/files.mjs +6 -2
- package/resources/agents/files.mjs.map +1 -1
- package/resources/agents/folders.d.mts +68 -6
- package/resources/agents/folders.d.mts.map +1 -1
- package/resources/agents/folders.d.ts +68 -6
- package/resources/agents/folders.d.ts.map +1 -1
- package/resources/agents/folders.js +6 -2
- package/resources/agents/folders.js.map +1 -1
- package/resources/agents/folders.mjs +6 -2
- package/resources/agents/folders.mjs.map +1 -1
- package/resources/agents/groups.d.mts +22 -0
- package/resources/agents/groups.d.mts.map +1 -0
- package/resources/agents/groups.d.ts +22 -0
- package/resources/agents/groups.d.ts.map +1 -0
- package/resources/agents/groups.js +20 -0
- package/resources/agents/groups.js.map +1 -0
- package/resources/agents/groups.mjs +16 -0
- package/resources/agents/groups.mjs.map +1 -0
- package/resources/agents/identities.d.mts +31 -0
- package/resources/agents/identities.d.mts.map +1 -0
- package/resources/agents/identities.d.ts +31 -0
- package/resources/agents/identities.d.ts.map +1 -0
- package/resources/agents/identities.js +24 -0
- package/resources/agents/identities.js.map +1 -0
- package/resources/agents/identities.mjs +20 -0
- package/resources/agents/identities.mjs.map +1 -0
- package/resources/agents/index.d.mts +9 -8
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +9 -8
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js +9 -7
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs +4 -3
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/messages.d.mts +782 -490
- package/resources/agents/messages.d.mts.map +1 -1
- package/resources/agents/messages.d.ts +782 -490
- package/resources/agents/messages.d.ts.map +1 -1
- package/resources/agents/messages.js +33 -35
- package/resources/agents/messages.js.map +1 -1
- package/resources/agents/messages.mjs +33 -35
- package/resources/agents/messages.mjs.map +1 -1
- package/resources/agents/tools.d.mts +30 -13
- package/resources/agents/tools.d.mts.map +1 -1
- package/resources/agents/tools.d.ts +30 -13
- package/resources/agents/tools.d.ts.map +1 -1
- package/resources/agents/tools.js +15 -7
- package/resources/agents/tools.js.map +1 -1
- package/resources/agents/tools.mjs +15 -7
- package/resources/agents/tools.mjs.map +1 -1
- package/resources/archives/archives.d.mts +115 -0
- package/resources/archives/archives.d.mts.map +1 -0
- package/resources/archives/archives.d.ts +115 -0
- package/resources/archives/archives.d.ts.map +1 -0
- package/resources/archives/archives.js +50 -0
- package/resources/archives/archives.js.map +1 -0
- package/resources/archives/archives.mjs +45 -0
- package/resources/archives/archives.mjs.map +1 -0
- package/resources/archives/index.d.mts +3 -0
- package/resources/archives/index.d.mts.map +1 -0
- package/resources/archives/index.d.ts +3 -0
- package/resources/archives/index.d.ts.map +1 -0
- package/resources/archives/index.js +9 -0
- package/resources/archives/index.js.map +1 -0
- package/resources/archives/index.mjs +4 -0
- package/resources/archives/index.mjs.map +1 -0
- package/resources/archives/passages.d.mts +113 -0
- package/resources/archives/passages.d.mts.map +1 -0
- package/resources/archives/passages.d.ts +113 -0
- package/resources/archives/passages.d.ts.map +1 -0
- package/resources/archives/passages.js +32 -0
- package/resources/archives/passages.js.map +1 -0
- package/resources/archives/passages.mjs +28 -0
- package/resources/archives/passages.mjs.map +1 -0
- package/resources/archives.d.mts +1 -105
- package/resources/archives.d.mts.map +1 -1
- package/resources/archives.d.ts +1 -105
- package/resources/archives.d.ts.map +1 -1
- package/resources/archives.js +2 -18
- package/resources/archives.js.map +1 -1
- package/resources/archives.mjs +1 -16
- package/resources/archives.mjs.map +1 -1
- package/resources/batches/batches.d.mts +211 -0
- package/resources/batches/batches.d.mts.map +1 -0
- package/resources/batches/batches.d.ts +211 -0
- package/resources/batches/batches.d.ts.map +1 -0
- package/resources/batches/batches.js +46 -0
- package/resources/batches/batches.js.map +1 -0
- package/resources/batches/batches.mjs +41 -0
- package/resources/batches/batches.mjs.map +1 -0
- package/resources/batches/index.d.mts +3 -0
- package/resources/batches/index.d.mts.map +1 -0
- package/resources/batches/index.d.ts +3 -0
- package/resources/batches/index.d.ts.map +1 -0
- package/resources/batches/index.js.map +1 -0
- package/resources/batches/index.mjs.map +1 -0
- package/resources/batches/messages.d.mts +22 -0
- package/resources/batches/messages.d.mts.map +1 -0
- package/resources/batches/messages.d.ts +22 -0
- package/resources/batches/messages.d.ts.map +1 -0
- package/resources/batches/messages.js +17 -0
- package/resources/batches/messages.js.map +1 -0
- package/resources/batches/messages.mjs +13 -0
- package/resources/batches/messages.mjs.map +1 -0
- package/resources/batches.d.mts +2 -0
- package/resources/batches.d.mts.map +1 -0
- package/resources/batches.d.ts +2 -0
- package/resources/batches.d.ts.map +1 -0
- package/resources/batches.js +6 -0
- package/resources/batches.js.map +1 -0
- package/resources/batches.mjs +3 -0
- package/resources/batches.mjs.map +1 -0
- package/resources/blocks/agents.d.mts +31 -0
- package/resources/blocks/agents.d.mts.map +1 -0
- package/resources/blocks/agents.d.ts +31 -0
- package/resources/blocks/agents.d.ts.map +1 -0
- package/resources/blocks/agents.js +21 -0
- package/resources/blocks/agents.js.map +1 -0
- package/resources/blocks/agents.mjs +17 -0
- package/resources/blocks/agents.mjs.map +1 -0
- package/resources/blocks/blocks.d.mts +356 -0
- package/resources/blocks/blocks.d.mts.map +1 -0
- package/resources/blocks/blocks.d.ts +356 -0
- package/resources/blocks/blocks.d.ts.map +1 -0
- package/resources/blocks/blocks.js +49 -0
- package/resources/blocks/blocks.js.map +1 -0
- package/resources/blocks/blocks.mjs +44 -0
- package/resources/blocks/blocks.mjs.map +1 -0
- package/resources/blocks/index.d.mts +3 -0
- package/resources/blocks/index.d.mts.map +1 -0
- package/resources/blocks/index.d.ts +3 -0
- package/resources/blocks/index.d.ts.map +1 -0
- package/resources/blocks/index.js +9 -0
- package/resources/blocks/index.js.map +1 -0
- package/resources/blocks/index.mjs +4 -0
- package/resources/blocks/index.mjs.map +1 -0
- package/resources/blocks.d.mts +1 -329
- package/resources/blocks.d.mts.map +1 -1
- package/resources/blocks.d.ts +1 -329
- package/resources/blocks.d.ts.map +1 -1
- package/resources/blocks.js +2 -49
- package/resources/blocks.js.map +1 -1
- package/resources/blocks.mjs +1 -47
- package/resources/blocks.mjs.map +1 -1
- package/resources/folders/agents.d.mts +39 -0
- package/resources/folders/agents.d.mts.map +1 -0
- package/resources/folders/agents.d.ts +39 -0
- package/resources/folders/agents.d.ts.map +1 -0
- package/resources/folders/agents.js +16 -0
- package/resources/folders/agents.js.map +1 -0
- package/resources/folders/agents.mjs +12 -0
- package/resources/folders/agents.mjs.map +1 -0
- package/resources/folders/files.d.mts +194 -0
- package/resources/folders/files.d.mts.map +1 -0
- package/resources/folders/files.d.ts +194 -0
- package/resources/folders/files.d.ts.map +1 -0
- package/resources/folders/files.js +39 -0
- package/resources/folders/files.js.map +1 -0
- package/resources/folders/files.mjs +35 -0
- package/resources/folders/files.mjs.map +1 -0
- package/resources/folders/folders.d.mts +150 -0
- package/resources/folders/folders.d.mts.map +1 -0
- package/resources/folders/folders.d.ts +150 -0
- package/resources/folders/folders.d.ts.map +1 -0
- package/resources/folders/folders.js +53 -0
- package/resources/folders/folders.js.map +1 -0
- package/resources/folders/folders.mjs +48 -0
- package/resources/folders/folders.mjs.map +1 -0
- package/resources/folders/index.d.mts +4 -0
- package/resources/folders/index.d.mts.map +1 -0
- package/resources/folders/index.d.ts +4 -0
- package/resources/folders/index.d.ts.map +1 -0
- package/resources/folders/index.js +11 -0
- package/resources/folders/index.js.map +1 -0
- package/resources/folders/index.mjs +5 -0
- package/resources/folders/index.mjs.map +1 -0
- package/resources/folders.d.mts +1 -319
- package/resources/folders.d.mts.map +1 -1
- package/resources/folders.d.ts +1 -319
- package/resources/folders.d.ts.map +1 -1
- package/resources/folders.js +2 -103
- package/resources/folders.js.map +1 -1
- package/resources/folders.mjs +1 -101
- package/resources/folders.mjs.map +1 -1
- package/resources/groups/groups.d.mts +17 -72
- package/resources/groups/groups.d.mts.map +1 -1
- package/resources/groups/groups.d.ts +17 -72
- package/resources/groups/groups.d.ts.map +1 -1
- package/resources/groups/groups.js +6 -34
- package/resources/groups/groups.js.map +1 -1
- package/resources/groups/groups.mjs +6 -34
- package/resources/groups/groups.mjs.map +1 -1
- package/resources/groups/index.d.mts +2 -2
- package/resources/groups/index.d.mts.map +1 -1
- package/resources/groups/index.d.ts +2 -2
- package/resources/groups/index.d.ts.map +1 -1
- package/resources/groups/index.js.map +1 -1
- package/resources/groups/index.mjs.map +1 -1
- package/resources/groups/messages.d.mts +168 -87
- package/resources/groups/messages.d.mts.map +1 -1
- package/resources/groups/messages.d.ts +168 -87
- package/resources/groups/messages.d.ts.map +1 -1
- package/resources/groups/messages.js +22 -8
- package/resources/groups/messages.js.map +1 -1
- package/resources/groups/messages.mjs +22 -8
- package/resources/groups/messages.mjs.map +1 -1
- package/resources/identities/agents.d.mts +23 -0
- package/resources/identities/agents.d.mts.map +1 -0
- package/resources/identities/agents.d.ts +23 -0
- package/resources/identities/agents.d.ts.map +1 -0
- package/resources/identities/agents.js +17 -0
- package/resources/identities/agents.js.map +1 -0
- package/resources/identities/agents.mjs +13 -0
- package/resources/identities/agents.mjs.map +1 -0
- package/resources/identities/blocks.d.mts +18 -0
- package/resources/identities/blocks.d.mts.map +1 -0
- package/resources/identities/blocks.d.ts +18 -0
- package/resources/identities/blocks.d.ts.map +1 -0
- package/resources/identities/blocks.js +17 -0
- package/resources/identities/blocks.js.map +1 -0
- package/resources/identities/blocks.mjs +13 -0
- package/resources/identities/blocks.mjs.map +1 -0
- package/resources/identities/identities.d.mts +200 -0
- package/resources/identities/identities.d.mts.map +1 -0
- package/resources/identities/identities.d.ts +200 -0
- package/resources/identities/identities.d.ts.map +1 -0
- package/resources/identities/identities.js +63 -0
- package/resources/identities/identities.js.map +1 -0
- package/resources/identities/identities.mjs +58 -0
- package/resources/identities/identities.mjs.map +1 -0
- package/resources/identities/index.d.mts +5 -0
- package/resources/identities/index.d.mts.map +1 -0
- package/resources/identities/index.d.ts +5 -0
- package/resources/identities/index.d.ts.map +1 -0
- package/resources/identities/index.js +13 -0
- package/resources/identities/index.js.map +1 -0
- package/resources/identities/index.mjs +6 -0
- package/resources/identities/index.mjs.map +1 -0
- package/resources/identities/properties.d.mts +18 -0
- package/resources/identities/properties.d.mts.map +1 -0
- package/resources/identities/properties.d.ts +18 -0
- package/resources/identities/properties.d.ts.map +1 -0
- package/resources/identities/properties.js +17 -0
- package/resources/identities/properties.js.map +1 -0
- package/resources/identities/properties.mjs +13 -0
- package/resources/identities/properties.mjs.map +1 -0
- package/resources/identities.d.mts +1 -292
- package/resources/identities.d.mts.map +1 -1
- package/resources/identities.d.ts +1 -292
- package/resources/identities.d.ts.map +1 -1
- package/resources/identities.js +2 -84
- package/resources/identities.js.map +1 -1
- package/resources/identities.mjs +1 -82
- package/resources/identities.mjs.map +1 -1
- package/resources/index.d.mts +15 -22
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -22
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +16 -32
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +12 -20
- package/resources/index.mjs.map +1 -1
- package/resources/mcp-servers/index.d.mts +3 -0
- package/resources/mcp-servers/index.d.mts.map +1 -0
- package/resources/mcp-servers/index.d.ts +3 -0
- package/resources/mcp-servers/index.d.ts.map +1 -0
- package/resources/mcp-servers/index.js +9 -0
- package/resources/mcp-servers/index.js.map +1 -0
- package/resources/mcp-servers/index.mjs +4 -0
- package/resources/mcp-servers/index.mjs.map +1 -0
- package/resources/mcp-servers/mcp-servers.d.mts +349 -0
- package/resources/mcp-servers/mcp-servers.d.mts.map +1 -0
- package/resources/mcp-servers/mcp-servers.d.ts +349 -0
- package/resources/mcp-servers/mcp-servers.d.ts.map +1 -0
- package/resources/mcp-servers/mcp-servers.js +69 -0
- package/resources/mcp-servers/mcp-servers.js.map +1 -0
- package/resources/mcp-servers/mcp-servers.mjs +64 -0
- package/resources/mcp-servers/mcp-servers.mjs.map +1 -0
- package/resources/mcp-servers/tools.d.mts +42 -0
- package/resources/mcp-servers/tools.d.mts.map +1 -0
- package/resources/mcp-servers/tools.d.ts +42 -0
- package/resources/mcp-servers/tools.d.ts.map +1 -0
- package/resources/mcp-servers/tools.js +36 -0
- package/resources/mcp-servers/tools.js.map +1 -0
- package/resources/mcp-servers/tools.mjs +32 -0
- package/resources/mcp-servers/tools.mjs.map +1 -0
- package/resources/mcp-servers.d.mts +2 -0
- package/resources/mcp-servers.d.mts.map +1 -0
- package/resources/mcp-servers.d.ts +2 -0
- package/resources/mcp-servers.d.ts.map +1 -0
- package/resources/mcp-servers.js +6 -0
- package/resources/mcp-servers.js.map +1 -0
- package/resources/mcp-servers.mjs +3 -0
- package/resources/mcp-servers.mjs.map +1 -0
- package/resources/models/embeddings.d.mts +20 -0
- package/resources/models/embeddings.d.mts.map +1 -0
- package/resources/models/embeddings.d.ts +20 -0
- package/resources/models/embeddings.d.ts.map +1 -0
- package/resources/models/embeddings.js +20 -0
- package/resources/models/embeddings.js.map +1 -0
- package/resources/models/embeddings.mjs +16 -0
- package/resources/models/embeddings.mjs.map +1 -0
- package/resources/models/index.d.mts +3 -0
- package/resources/models/index.d.mts.map +1 -0
- package/resources/models/index.d.ts +3 -0
- package/resources/models/index.d.ts.map +1 -0
- package/resources/models/index.js +9 -0
- package/resources/models/index.js.map +1 -0
- package/resources/models/index.mjs +4 -0
- package/resources/models/index.mjs.map +1 -0
- package/resources/models/models.d.mts +341 -0
- package/resources/models/models.d.mts.map +1 -0
- package/resources/models/models.d.ts +341 -0
- package/resources/models/models.d.ts.map +1 -0
- package/resources/models/models.js +28 -0
- package/resources/models/models.js.map +1 -0
- package/resources/models/models.mjs +23 -0
- package/resources/models/models.mjs.map +1 -0
- package/resources/models.d.mts +1 -159
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +1 -159
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +2 -26
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +1 -24
- package/resources/models.mjs.map +1 -1
- package/resources/runs/index.d.mts +5 -0
- package/resources/runs/index.d.mts.map +1 -0
- package/resources/runs/index.d.ts +5 -0
- package/resources/runs/index.d.ts.map +1 -0
- package/resources/runs/index.js +13 -0
- package/resources/runs/index.js.map +1 -0
- package/resources/runs/index.mjs +6 -0
- package/resources/runs/index.mjs.map +1 -0
- package/resources/runs/messages.d.mts +45 -0
- package/resources/runs/messages.d.mts.map +1 -0
- package/resources/runs/messages.d.ts +45 -0
- package/resources/runs/messages.d.ts.map +1 -0
- package/resources/runs/messages.js +30 -0
- package/resources/runs/messages.js.map +1 -0
- package/resources/runs/messages.mjs +26 -0
- package/resources/runs/messages.mjs.map +1 -0
- package/resources/runs/runs.d.mts +146 -0
- package/resources/runs/runs.d.mts.map +1 -0
- package/resources/runs/runs.d.ts +146 -0
- package/resources/runs/runs.d.ts.map +1 -0
- package/resources/runs/runs.js +39 -0
- package/resources/runs/runs.js.map +1 -0
- package/resources/runs/runs.mjs +34 -0
- package/resources/runs/runs.mjs.map +1 -0
- package/resources/runs/steps.d.mts +18 -0
- package/resources/runs/steps.d.mts.map +1 -0
- package/resources/runs/steps.d.ts +18 -0
- package/resources/runs/steps.d.ts.map +1 -0
- package/resources/runs/steps.js +20 -0
- package/resources/runs/steps.js.map +1 -0
- package/resources/runs/steps.mjs +16 -0
- package/resources/runs/steps.mjs.map +1 -0
- package/resources/runs/usage.d.mts +28 -0
- package/resources/runs/usage.d.mts.map +1 -0
- package/resources/runs/usage.d.ts +28 -0
- package/resources/runs/usage.d.ts.map +1 -0
- package/resources/runs/usage.js +16 -0
- package/resources/runs/usage.js.map +1 -0
- package/resources/runs/usage.mjs +12 -0
- package/resources/runs/usage.mjs.map +1 -0
- package/resources/runs.d.mts +1 -183
- package/resources/runs.d.mts.map +1 -1
- package/resources/runs.d.ts +1 -183
- package/resources/runs.d.ts.map +1 -1
- package/resources/runs.js +2 -69
- package/resources/runs.js.map +1 -1
- package/resources/runs.mjs +1 -67
- package/resources/runs.mjs.map +1 -1
- package/resources/steps/feedback.d.mts +24 -0
- package/resources/steps/feedback.d.mts.map +1 -0
- package/resources/steps/feedback.d.ts +24 -0
- package/resources/steps/feedback.d.ts.map +1 -0
- package/resources/steps/feedback.js +16 -0
- package/resources/steps/feedback.js.map +1 -0
- package/resources/steps/feedback.mjs +12 -0
- package/resources/steps/feedback.mjs.map +1 -0
- package/resources/steps/index.d.mts +6 -0
- package/resources/steps/index.d.mts.map +1 -0
- package/resources/steps/index.d.ts +6 -0
- package/resources/steps/index.d.ts.map +1 -0
- package/resources/steps/index.js +15 -0
- package/resources/steps/index.js.map +1 -0
- package/resources/steps/index.mjs +7 -0
- package/resources/steps/index.mjs.map +1 -0
- package/resources/steps/messages.d.mts +27 -0
- package/resources/steps/messages.d.mts.map +1 -0
- package/resources/steps/messages.d.ts +27 -0
- package/resources/steps/messages.d.ts.map +1 -0
- package/resources/steps/messages.js +20 -0
- package/resources/steps/messages.js.map +1 -0
- package/resources/steps/messages.mjs +16 -0
- package/resources/steps/messages.mjs.map +1 -0
- package/resources/steps/metrics.d.mts +63 -0
- package/resources/steps/metrics.d.mts.map +1 -0
- package/resources/steps/metrics.d.ts +63 -0
- package/resources/steps/metrics.d.ts.map +1 -0
- package/resources/steps/metrics.js +16 -0
- package/resources/steps/metrics.js.map +1 -0
- package/resources/steps/metrics.mjs +12 -0
- package/resources/steps/metrics.mjs.map +1 -0
- package/resources/steps/steps.d.mts +227 -0
- package/resources/steps/steps.d.mts.map +1 -0
- package/resources/steps/steps.d.ts +227 -0
- package/resources/steps/steps.d.ts.map +1 -0
- package/resources/steps/steps.js +43 -0
- package/resources/steps/steps.js.map +1 -0
- package/resources/steps/steps.mjs +38 -0
- package/resources/steps/steps.mjs.map +1 -0
- package/resources/steps/trace.d.mts +11 -0
- package/resources/steps/trace.d.mts.map +1 -0
- package/resources/steps/trace.d.ts +11 -0
- package/resources/steps/trace.d.ts.map +1 -0
- package/resources/steps/trace.js +16 -0
- package/resources/steps/trace.js.map +1 -0
- package/resources/steps/trace.mjs +12 -0
- package/resources/steps/trace.mjs.map +1 -0
- package/resources/steps.d.mts +1 -340
- package/resources/steps.d.mts.map +1 -1
- package/resources/steps.d.ts +1 -340
- package/resources/steps.d.ts.map +1 -1
- package/resources/steps.js +2 -51
- package/resources/steps.js.map +1 -1
- package/resources/steps.mjs +1 -49
- package/resources/steps.mjs.map +1 -1
- package/resources/templates/agents.d.mts +56 -0
- package/resources/templates/agents.d.mts.map +1 -0
- package/resources/templates/agents.d.ts +56 -0
- package/resources/templates/agents.d.ts.map +1 -0
- package/resources/templates/agents.js +21 -0
- package/resources/templates/agents.js.map +1 -0
- package/resources/templates/agents.mjs +17 -0
- package/resources/templates/agents.mjs.map +1 -0
- package/resources/templates/index.d.mts +3 -0
- package/resources/templates/index.d.mts.map +1 -0
- package/resources/templates/index.d.ts +3 -0
- package/resources/templates/index.d.ts.map +1 -0
- package/resources/templates/index.js +9 -0
- package/resources/templates/index.js.map +1 -0
- package/resources/templates/index.mjs +4 -0
- package/resources/templates/index.mjs.map +1 -0
- package/resources/templates/templates.d.mts +10 -0
- package/resources/templates/templates.d.mts.map +1 -0
- package/resources/templates/templates.d.ts +10 -0
- package/resources/templates/templates.d.ts.map +1 -0
- package/resources/templates/templates.js +17 -0
- package/resources/templates/templates.js.map +1 -0
- package/resources/templates/templates.mjs +12 -0
- package/resources/templates/templates.mjs.map +1 -0
- package/resources/templates.d.mts +1 -493
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +1 -493
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.js +2 -81
- package/resources/templates.js.map +1 -1
- package/resources/templates.mjs +1 -79
- package/resources/templates.mjs.map +1 -1
- package/resources/tools.d.mts +437 -1
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +437 -1
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +49 -2
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +47 -1
- package/resources/tools.mjs.map +1 -1
- package/resources/top-level.d.mts +11 -0
- package/resources/top-level.d.mts.map +1 -0
- package/resources/top-level.d.ts +11 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js +4 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/src/client.ts +370 -502
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/pagination.ts +334 -0
- package/src/core/resource.ts +3 -3
- package/src/core/streaming.ts +331 -0
- package/src/index.ts +4 -3
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +16 -2
- package/src/internal/request-options.ts +2 -0
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/pagination.ts +2 -0
- package/src/resources/access-tokens.ts +163 -0
- package/src/resources/agents/agents.ts +1070 -578
- package/src/resources/agents/archives.ts +51 -0
- package/src/resources/agents/blocks.ts +372 -0
- package/src/resources/agents/files.ts +60 -73
- package/src/resources/agents/folders.ts +86 -6
- package/src/resources/agents/groups.ts +37 -0
- package/src/resources/agents/identities.ts +51 -0
- package/src/resources/agents/index.ts +58 -46
- package/src/resources/agents/messages.ts +1109 -667
- package/src/resources/agents/tools.ts +45 -19
- package/src/resources/archives/archives.ts +170 -0
- package/src/resources/archives/index.ts +17 -0
- package/src/resources/archives/passages.ts +150 -0
- package/src/resources/archives.ts +1 -138
- package/src/resources/batches/batches.ts +286 -0
- package/src/resources/batches/index.ts +11 -0
- package/src/resources/batches/messages.ts +38 -0
- package/src/resources/batches.ts +3 -0
- package/src/resources/blocks/agents.ts +55 -0
- package/src/resources/blocks/blocks.ts +458 -0
- package/src/resources/blocks/index.ts +13 -0
- package/src/resources/blocks.ts +1 -436
- package/src/resources/folders/agents.ts +55 -0
- package/src/resources/folders/files.ts +272 -0
- package/src/resources/folders/folders.ts +223 -0
- package/src/resources/folders/index.ts +21 -0
- package/src/resources/folders.ts +1 -460
- package/src/resources/groups/groups.ts +27 -116
- package/src/resources/groups/index.ts +5 -7
- package/src/resources/groups/messages.ts +238 -106
- package/src/resources/identities/agents.ts +47 -0
- package/src/resources/identities/blocks.ts +33 -0
- package/src/resources/identities/identities.ts +282 -0
- package/src/resources/identities/index.ts +17 -0
- package/src/resources/identities/properties.ts +30 -0
- package/src/resources/identities.ts +1 -432
- package/src/resources/index.ts +79 -169
- package/src/resources/mcp-servers/index.ts +25 -0
- package/src/resources/mcp-servers/mcp-servers.ts +460 -0
- package/src/resources/mcp-servers/tools.ts +69 -0
- package/src/resources/mcp-servers.ts +3 -0
- package/src/resources/models/embeddings.ts +26 -0
- package/src/resources/models/index.ts +14 -0
- package/src/resources/models/models.ts +534 -0
- package/src/resources/models.ts +1 -276
- package/src/resources/runs/index.ts +11 -0
- package/src/resources/runs/messages.ts +79 -0
- package/src/resources/runs/runs.ts +206 -0
- package/src/resources/runs/steps.ts +32 -0
- package/src/resources/runs/usage.ts +41 -0
- package/src/resources/runs.ts +1 -282
- package/src/resources/steps/feedback.ts +32 -0
- package/src/resources/steps/index.ts +12 -0
- package/src/resources/steps/messages.ts +57 -0
- package/src/resources/steps/metrics.ts +81 -0
- package/src/resources/steps/steps.ts +293 -0
- package/src/resources/steps/trace.ts +16 -0
- package/src/resources/steps.ts +1 -455
- package/src/resources/templates/agents.ts +80 -0
- package/src/resources/templates/index.ts +4 -0
- package/src/resources/templates/templates.ts +15 -0
- package/src/resources/templates.ts +1 -783
- package/src/resources/tools.ts +557 -1
- package/src/resources/top-level.ts +14 -0
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +2 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +2 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +2 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/-internal-templates/-internal-templates.d.mts +0 -324
- package/resources/-internal-templates/-internal-templates.d.mts.map +0 -1
- package/resources/-internal-templates/-internal-templates.d.ts +0 -324
- package/resources/-internal-templates/-internal-templates.d.ts.map +0 -1
- package/resources/-internal-templates/-internal-templates.js +0 -35
- package/resources/-internal-templates/-internal-templates.js.map +0 -1
- package/resources/-internal-templates/-internal-templates.mjs +0 -30
- package/resources/-internal-templates/-internal-templates.mjs.map +0 -1
- package/resources/-internal-templates/deployment.d.mts +0 -56
- package/resources/-internal-templates/deployment.d.mts.map +0 -1
- package/resources/-internal-templates/deployment.d.ts +0 -56
- package/resources/-internal-templates/deployment.d.ts.map +0 -1
- package/resources/-internal-templates/deployment.js +0 -24
- package/resources/-internal-templates/deployment.js.map +0 -1
- package/resources/-internal-templates/deployment.mjs +0 -20
- package/resources/-internal-templates/deployment.mjs.map +0 -1
- package/resources/-internal-templates/index.d.mts +0 -3
- package/resources/-internal-templates/index.d.mts.map +0 -1
- package/resources/-internal-templates/index.d.ts +0 -3
- package/resources/-internal-templates/index.d.ts.map +0 -1
- package/resources/-internal-templates/index.js +0 -9
- package/resources/-internal-templates/index.js.map +0 -1
- package/resources/-internal-templates/index.mjs +0 -4
- package/resources/-internal-templates/index.mjs.map +0 -1
- package/resources/-internal-templates.d.mts +0 -2
- package/resources/-internal-templates.d.mts.map +0 -1
- package/resources/-internal-templates.d.ts +0 -2
- package/resources/-internal-templates.d.ts.map +0 -1
- package/resources/-internal-templates.js +0 -6
- package/resources/-internal-templates.js.map +0 -1
- package/resources/-internal-templates.mjs +0 -3
- package/resources/-internal-templates.mjs.map +0 -1
- package/resources/agents/archival-memory.d.mts +0 -128
- package/resources/agents/archival-memory.d.mts.map +0 -1
- package/resources/agents/archival-memory.d.ts +0 -128
- package/resources/agents/archival-memory.d.ts.map +0 -1
- package/resources/agents/archival-memory.js +0 -41
- package/resources/agents/archival-memory.js.map +0 -1
- package/resources/agents/archival-memory.mjs +0 -37
- package/resources/agents/archival-memory.mjs.map +0 -1
- package/resources/agents/core-memory/blocks.d.mts +0 -256
- package/resources/agents/core-memory/blocks.d.mts.map +0 -1
- package/resources/agents/core-memory/blocks.d.ts +0 -256
- package/resources/agents/core-memory/blocks.d.ts.map +0 -1
- package/resources/agents/core-memory/blocks.js +0 -47
- package/resources/agents/core-memory/blocks.js.map +0 -1
- package/resources/agents/core-memory/blocks.mjs +0 -43
- package/resources/agents/core-memory/blocks.mjs.map +0 -1
- package/resources/agents/core-memory/core-memory.d.mts +0 -142
- package/resources/agents/core-memory/core-memory.d.mts.map +0 -1
- package/resources/agents/core-memory/core-memory.d.ts +0 -142
- package/resources/agents/core-memory/core-memory.d.ts.map +0 -1
- package/resources/agents/core-memory/core-memory.js +0 -31
- package/resources/agents/core-memory/core-memory.js.map +0 -1
- package/resources/agents/core-memory/core-memory.mjs +0 -26
- package/resources/agents/core-memory/core-memory.mjs.map +0 -1
- package/resources/agents/core-memory/index.d.mts +0 -3
- package/resources/agents/core-memory/index.d.mts.map +0 -1
- package/resources/agents/core-memory/index.d.ts +0 -3
- package/resources/agents/core-memory/index.d.ts.map +0 -1
- package/resources/agents/core-memory/index.js +0 -9
- package/resources/agents/core-memory/index.js.map +0 -1
- package/resources/agents/core-memory/index.mjs +0 -4
- package/resources/agents/core-memory/index.mjs.map +0 -1
- package/resources/agents/core-memory.d.mts +0 -2
- package/resources/agents/core-memory.d.mts.map +0 -1
- package/resources/agents/core-memory.d.ts +0 -2
- package/resources/agents/core-memory.d.ts.map +0 -1
- package/resources/agents/core-memory.js +0 -6
- package/resources/agents/core-memory.js.map +0 -1
- package/resources/agents/core-memory.mjs +0 -3
- package/resources/agents/core-memory.mjs.map +0 -1
- package/resources/agents/sources.d.mts +0 -30
- package/resources/agents/sources.d.mts.map +0 -1
- package/resources/agents/sources.d.ts +0 -30
- package/resources/agents/sources.d.ts.map +0 -1
- package/resources/agents/sources.js +0 -30
- package/resources/agents/sources.js.map +0 -1
- package/resources/agents/sources.mjs +0 -26
- package/resources/agents/sources.mjs.map +0 -1
- package/resources/client-side-access-tokens.d.mts +0 -105
- package/resources/client-side-access-tokens.d.mts.map +0 -1
- package/resources/client-side-access-tokens.d.ts +0 -105
- package/resources/client-side-access-tokens.d.ts.map +0 -1
- package/resources/client-side-access-tokens.js +0 -30
- package/resources/client-side-access-tokens.js.map +0 -1
- package/resources/client-side-access-tokens.mjs +0 -26
- package/resources/client-side-access-tokens.mjs.map +0 -1
- package/resources/embeddings.d.mts +0 -18
- package/resources/embeddings.d.mts.map +0 -1
- package/resources/embeddings.d.ts +0 -18
- package/resources/embeddings.d.ts.map +0 -1
- package/resources/embeddings.js +0 -24
- package/resources/embeddings.js.map +0 -1
- package/resources/embeddings.mjs +0 -20
- package/resources/embeddings.mjs.map +0 -1
- package/resources/health.d.mts +0 -20
- package/resources/health.d.mts.map +0 -1
- package/resources/health.d.ts +0 -20
- package/resources/health.d.ts.map +0 -1
- package/resources/health.js +0 -15
- package/resources/health.js.map +0 -1
- package/resources/health.mjs +0 -11
- package/resources/health.mjs.map +0 -1
- package/resources/jobs.d.mts +0 -165
- package/resources/jobs.d.mts.map +0 -1
- package/resources/jobs.d.ts +0 -165
- package/resources/jobs.d.ts.map +0 -1
- package/resources/jobs.js +0 -45
- package/resources/jobs.js.map +0 -1
- package/resources/jobs.mjs +0 -41
- package/resources/jobs.mjs.map +0 -1
- package/resources/messages/batches.d.mts +0 -212
- package/resources/messages/batches.d.mts.map +0 -1
- package/resources/messages/batches.d.ts +0 -212
- package/resources/messages/batches.d.ts.map +0 -1
- package/resources/messages/batches.js +0 -43
- package/resources/messages/batches.js.map +0 -1
- package/resources/messages/batches.mjs +0 -39
- package/resources/messages/batches.mjs.map +0 -1
- package/resources/messages/index.d.mts +0 -3
- package/resources/messages/index.d.mts.map +0 -1
- package/resources/messages/index.d.ts +0 -3
- package/resources/messages/index.d.ts.map +0 -1
- package/resources/messages/index.js.map +0 -1
- package/resources/messages/index.mjs.map +0 -1
- package/resources/messages/messages.d.mts +0 -10
- package/resources/messages/messages.d.mts.map +0 -1
- package/resources/messages/messages.d.ts +0 -10
- package/resources/messages/messages.d.ts.map +0 -1
- package/resources/messages/messages.js +0 -17
- package/resources/messages/messages.js.map +0 -1
- package/resources/messages/messages.mjs +0 -12
- package/resources/messages/messages.mjs.map +0 -1
- package/resources/messages.d.mts +0 -2
- package/resources/messages.d.mts.map +0 -1
- package/resources/messages.d.ts +0 -2
- package/resources/messages.d.ts.map +0 -1
- package/resources/messages.js +0 -6
- package/resources/messages.js.map +0 -1
- package/resources/messages.mjs +0 -3
- package/resources/messages.mjs.map +0 -1
- package/resources/projects.d.mts +0 -29
- package/resources/projects.d.mts.map +0 -1
- package/resources/projects.d.ts +0 -29
- package/resources/projects.d.ts.map +0 -1
- package/resources/projects.js +0 -15
- package/resources/projects.js.map +0 -1
- package/resources/projects.mjs +0 -11
- package/resources/projects.mjs.map +0 -1
- package/resources/providers.d.mts +0 -190
- package/resources/providers.d.mts.map +0 -1
- package/resources/providers.d.ts +0 -190
- package/resources/providers.d.ts.map +0 -1
- package/resources/providers.js +0 -46
- package/resources/providers.js.map +0 -1
- package/resources/providers.mjs +0 -42
- package/resources/providers.mjs.map +0 -1
- package/resources/sources/files.d.mts +0 -53
- package/resources/sources/files.d.mts.map +0 -1
- package/resources/sources/files.d.ts +0 -53
- package/resources/sources/files.d.ts.map +0 -1
- package/resources/sources/files.js +0 -27
- package/resources/sources/files.js.map +0 -1
- package/resources/sources/files.mjs +0 -23
- package/resources/sources/files.mjs.map +0 -1
- package/resources/sources/index.d.mts +0 -3
- package/resources/sources/index.d.mts.map +0 -1
- package/resources/sources/index.d.ts +0 -3
- package/resources/sources/index.d.ts.map +0 -1
- package/resources/sources/index.js +0 -9
- package/resources/sources/index.js.map +0 -1
- package/resources/sources/index.mjs +0 -4
- package/resources/sources/index.mjs.map +0 -1
- package/resources/sources/sources.d.mts +0 -530
- package/resources/sources/sources.d.mts.map +0 -1
- package/resources/sources/sources.d.ts +0 -530
- package/resources/sources/sources.d.ts.map +0 -1
- package/resources/sources/sources.js +0 -129
- package/resources/sources/sources.js.map +0 -1
- package/resources/sources/sources.mjs +0 -124
- package/resources/sources/sources.mjs.map +0 -1
- package/resources/sources.d.mts +0 -2
- package/resources/sources.d.mts.map +0 -1
- package/resources/sources.d.ts +0 -2
- package/resources/sources.d.ts.map +0 -1
- package/resources/sources.js +0 -6
- package/resources/sources.js.map +0 -1
- package/resources/sources.mjs +0 -3
- package/resources/sources.mjs.map +0 -1
- package/resources/telemetry.d.mts +0 -15
- package/resources/telemetry.d.mts.map +0 -1
- package/resources/telemetry.d.ts +0 -15
- package/resources/telemetry.d.ts.map +0 -1
- package/resources/telemetry.js +0 -20
- package/resources/telemetry.js.map +0 -1
- package/resources/telemetry.mjs +0 -16
- package/resources/telemetry.mjs.map +0 -1
- package/resources/tools/composio/apps.d.mts +0 -131
- package/resources/tools/composio/apps.d.mts.map +0 -1
- package/resources/tools/composio/apps.d.ts +0 -131
- package/resources/tools/composio/apps.d.ts.map +0 -1
- package/resources/tools/composio/apps.js +0 -22
- package/resources/tools/composio/apps.js.map +0 -1
- package/resources/tools/composio/apps.mjs +0 -18
- package/resources/tools/composio/apps.mjs.map +0 -1
- package/resources/tools/composio/composio.d.mts +0 -18
- package/resources/tools/composio/composio.d.mts.map +0 -1
- package/resources/tools/composio/composio.d.ts +0 -18
- package/resources/tools/composio/composio.d.ts.map +0 -1
- package/resources/tools/composio/composio.js +0 -25
- package/resources/tools/composio/composio.js.map +0 -1
- package/resources/tools/composio/composio.mjs +0 -20
- package/resources/tools/composio/composio.mjs.map +0 -1
- package/resources/tools/composio/index.d.mts +0 -3
- package/resources/tools/composio/index.d.mts.map +0 -1
- package/resources/tools/composio/index.d.ts +0 -3
- package/resources/tools/composio/index.d.ts.map +0 -1
- package/resources/tools/composio/index.js +0 -9
- package/resources/tools/composio/index.js.map +0 -1
- package/resources/tools/composio/index.mjs +0 -4
- package/resources/tools/composio/index.mjs.map +0 -1
- package/resources/tools/composio.d.mts +0 -2
- package/resources/tools/composio.d.mts.map +0 -1
- package/resources/tools/composio.d.ts +0 -2
- package/resources/tools/composio.d.ts.map +0 -1
- package/resources/tools/composio.js +0 -6
- package/resources/tools/composio.js.map +0 -1
- package/resources/tools/composio.mjs +0 -3
- package/resources/tools/composio.mjs.map +0 -1
- package/resources/tools/index.d.mts +0 -4
- package/resources/tools/index.d.mts.map +0 -1
- package/resources/tools/index.d.ts +0 -4
- package/resources/tools/index.d.ts.map +0 -1
- package/resources/tools/index.js +0 -11
- package/resources/tools/index.js.map +0 -1
- package/resources/tools/index.mjs +0 -5
- package/resources/tools/index.mjs.map +0 -1
- package/resources/tools/mcp/index.d.mts +0 -4
- package/resources/tools/mcp/index.d.mts.map +0 -1
- package/resources/tools/mcp/index.d.ts +0 -4
- package/resources/tools/mcp/index.d.ts.map +0 -1
- package/resources/tools/mcp/index.js +0 -11
- package/resources/tools/mcp/index.js.map +0 -1
- package/resources/tools/mcp/index.mjs +0 -5
- package/resources/tools/mcp/index.mjs.map +0 -1
- package/resources/tools/mcp/mcp.d.mts +0 -14
- package/resources/tools/mcp/mcp.d.mts.map +0 -1
- package/resources/tools/mcp/mcp.d.ts +0 -14
- package/resources/tools/mcp/mcp.d.ts.map +0 -1
- package/resources/tools/mcp/mcp.js +0 -21
- package/resources/tools/mcp/mcp.js.map +0 -1
- package/resources/tools/mcp/mcp.mjs +0 -16
- package/resources/tools/mcp/mcp.mjs.map +0 -1
- package/resources/tools/mcp/oauth.d.mts +0 -32
- package/resources/tools/mcp/oauth.d.mts.map +0 -1
- package/resources/tools/mcp/oauth.d.ts +0 -32
- package/resources/tools/mcp/oauth.d.ts.map +0 -1
- package/resources/tools/mcp/oauth.js +0 -16
- package/resources/tools/mcp/oauth.js.map +0 -1
- package/resources/tools/mcp/oauth.mjs +0 -12
- package/resources/tools/mcp/oauth.mjs.map +0 -1
- package/resources/tools/mcp/servers/index.d.mts +0 -3
- package/resources/tools/mcp/servers/index.d.mts.map +0 -1
- package/resources/tools/mcp/servers/index.d.ts +0 -3
- package/resources/tools/mcp/servers/index.d.ts.map +0 -1
- package/resources/tools/mcp/servers/index.js +0 -9
- package/resources/tools/mcp/servers/index.js.map +0 -1
- package/resources/tools/mcp/servers/index.mjs +0 -4
- package/resources/tools/mcp/servers/index.mjs.map +0 -1
- package/resources/tools/mcp/servers/servers.d.mts +0 -442
- package/resources/tools/mcp/servers/servers.d.mts.map +0 -1
- package/resources/tools/mcp/servers/servers.d.ts +0 -442
- package/resources/tools/mcp/servers/servers.d.ts.map +0 -1
- package/resources/tools/mcp/servers/servers.js +0 -80
- package/resources/tools/mcp/servers/servers.js.map +0 -1
- package/resources/tools/mcp/servers/servers.mjs +0 -75
- package/resources/tools/mcp/servers/servers.mjs.map +0 -1
- package/resources/tools/mcp/servers/tools.d.mts +0 -100
- package/resources/tools/mcp/servers/tools.d.mts.map +0 -1
- package/resources/tools/mcp/servers/tools.d.ts +0 -100
- package/resources/tools/mcp/servers/tools.d.ts.map +0 -1
- package/resources/tools/mcp/servers/tools.js +0 -27
- package/resources/tools/mcp/servers/tools.js.map +0 -1
- package/resources/tools/mcp/servers/tools.mjs +0 -23
- package/resources/tools/mcp/servers/tools.mjs.map +0 -1
- package/resources/tools/mcp/servers.d.mts +0 -2
- package/resources/tools/mcp/servers.d.mts.map +0 -1
- package/resources/tools/mcp/servers.d.ts +0 -2
- package/resources/tools/mcp/servers.d.ts.map +0 -1
- package/resources/tools/mcp/servers.js +0 -6
- package/resources/tools/mcp/servers.js.map +0 -1
- package/resources/tools/mcp/servers.mjs +0 -3
- package/resources/tools/mcp/servers.mjs.map +0 -1
- package/resources/tools/mcp.d.mts +0 -2
- package/resources/tools/mcp.d.mts.map +0 -1
- package/resources/tools/mcp.d.ts +0 -2
- package/resources/tools/mcp.d.ts.map +0 -1
- package/resources/tools/mcp.js +0 -6
- package/resources/tools/mcp.js.map +0 -1
- package/resources/tools/mcp.mjs +0 -3
- package/resources/tools/mcp.mjs.map +0 -1
- package/resources/tools/tools.d.mts +0 -515
- package/resources/tools/tools.d.mts.map +0 -1
- package/resources/tools/tools.d.ts +0 -515
- package/resources/tools/tools.d.ts.map +0 -1
- package/resources/tools/tools.js +0 -76
- package/resources/tools/tools.js.map +0 -1
- package/resources/tools/tools.mjs +0 -71
- package/resources/tools/tools.mjs.map +0 -1
- package/resources/voice-beta/chat.d.mts +0 -19
- package/resources/voice-beta/chat.d.mts.map +0 -1
- package/resources/voice-beta/chat.d.ts +0 -19
- package/resources/voice-beta/chat.d.ts.map +0 -1
- package/resources/voice-beta/chat.js +0 -17
- package/resources/voice-beta/chat.js.map +0 -1
- package/resources/voice-beta/chat.mjs +0 -13
- package/resources/voice-beta/chat.mjs.map +0 -1
- package/resources/voice-beta/index.d.mts +0 -3
- package/resources/voice-beta/index.d.mts.map +0 -1
- package/resources/voice-beta/index.d.ts +0 -3
- package/resources/voice-beta/index.d.ts.map +0 -1
- package/resources/voice-beta/index.js +0 -9
- package/resources/voice-beta/index.js.map +0 -1
- package/resources/voice-beta/index.mjs +0 -4
- package/resources/voice-beta/index.mjs.map +0 -1
- package/resources/voice-beta/voice-beta.d.mts +0 -10
- package/resources/voice-beta/voice-beta.d.mts.map +0 -1
- package/resources/voice-beta/voice-beta.d.ts +0 -10
- package/resources/voice-beta/voice-beta.d.ts.map +0 -1
- package/resources/voice-beta/voice-beta.js +0 -17
- package/resources/voice-beta/voice-beta.js.map +0 -1
- package/resources/voice-beta/voice-beta.mjs +0 -12
- package/resources/voice-beta/voice-beta.mjs.map +0 -1
- package/resources/voice-beta.d.mts +0 -2
- package/resources/voice-beta.d.mts.map +0 -1
- package/resources/voice-beta.d.ts +0 -2
- package/resources/voice-beta.d.ts.map +0 -1
- package/resources/voice-beta.js +0 -6
- package/resources/voice-beta.js.map +0 -1
- package/resources/voice-beta.mjs +0 -3
- package/resources/voice-beta.mjs.map +0 -1
- package/src/resources/-internal-templates/-internal-templates.ts +0 -441
- package/src/resources/-internal-templates/deployment.ts +0 -88
- package/src/resources/-internal-templates/index.ts +0 -14
- package/src/resources/-internal-templates.ts +0 -3
- package/src/resources/agents/archival-memory.ts +0 -192
- package/src/resources/agents/core-memory/blocks.ts +0 -341
- package/src/resources/agents/core-memory/core-memory.ts +0 -201
- package/src/resources/agents/core-memory/index.ts +0 -13
- package/src/resources/agents/core-memory.ts +0 -3
- package/src/resources/agents/sources.ts +0 -59
- package/src/resources/client-side-access-tokens.ts +0 -166
- package/src/resources/embeddings.ts +0 -39
- package/src/resources/health.ts +0 -27
- package/src/resources/jobs.ts +0 -219
- package/src/resources/messages/batches.ts +0 -283
- package/src/resources/messages/index.ts +0 -13
- package/src/resources/messages/messages.ts +0 -33
- package/src/resources/messages.ts +0 -3
- package/src/resources/projects.ts +0 -45
- package/src/resources/providers.ts +0 -261
- package/src/resources/sources/files.ts +0 -82
- package/src/resources/sources/index.ts +0 -26
- package/src/resources/sources/sources.ts +0 -702
- package/src/resources/sources.ts +0 -3
- package/src/resources/telemetry.ts +0 -20
- package/src/resources/tools/composio/apps.ts +0 -198
- package/src/resources/tools/composio/composio.ts +0 -31
- package/src/resources/tools/composio/index.ts +0 -4
- package/src/resources/tools/composio.ts +0 -3
- package/src/resources/tools/index.ts +0 -23
- package/src/resources/tools/mcp/index.ts +0 -24
- package/src/resources/tools/mcp/mcp.ts +0 -63
- package/src/resources/tools/mcp/oauth.ts +0 -50
- package/src/resources/tools/mcp/servers/index.ts +0 -23
- package/src/resources/tools/mcp/servers/servers.ts +0 -587
- package/src/resources/tools/mcp/servers/tools.ts +0 -130
- package/src/resources/tools/mcp/servers.ts +0 -3
- package/src/resources/tools/mcp.ts +0 -3
- package/src/resources/tools/tools.ts +0 -663
- package/src/resources/voice-beta/chat.ts +0 -33
- package/src/resources/voice-beta/index.ts +0 -4
- package/src/resources/voice-beta/voice-beta.ts +0 -19
- package/src/resources/voice-beta.ts +0 -3
- /package/resources/{messages → batches}/index.js +0 -0
- /package/resources/{messages → batches}/index.mjs +0 -0
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
4
|
+
import * as AgentsAPI from './agents';
|
|
5
|
+
import * as ToolsAPI from '../tools';
|
|
6
|
+
import * as ArchivesAPI from './archives';
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
ArchiveAttachParams,
|
|
9
|
+
ArchiveAttachResponse,
|
|
10
|
+
ArchiveDetachParams,
|
|
11
|
+
ArchiveDetachResponse,
|
|
12
|
+
Archives,
|
|
13
|
+
} from './archives';
|
|
14
|
+
import * as BlocksAPI from './blocks';
|
|
15
|
+
import {
|
|
16
|
+
Block,
|
|
17
|
+
BlockAttachParams,
|
|
18
|
+
BlockDetachParams,
|
|
19
|
+
BlockListParams,
|
|
20
|
+
BlockRetrieveParams,
|
|
21
|
+
BlockUpdate,
|
|
22
|
+
BlockUpdateParams,
|
|
23
|
+
Blocks,
|
|
24
|
+
} from './blocks';
|
|
18
25
|
import * as FilesAPI from './files';
|
|
19
26
|
import {
|
|
20
27
|
FileCloseAllResponse,
|
|
@@ -22,51 +29,69 @@ import {
|
|
|
22
29
|
FileCloseResponse,
|
|
23
30
|
FileListParams,
|
|
24
31
|
FileListResponse,
|
|
32
|
+
FileListResponsesNextFilesPage,
|
|
25
33
|
FileOpenParams,
|
|
26
34
|
FileOpenResponse,
|
|
27
35
|
Files,
|
|
28
36
|
} from './files';
|
|
29
37
|
import * as FoldersAPI from './folders';
|
|
30
|
-
import {
|
|
38
|
+
import {
|
|
39
|
+
FolderAttachParams,
|
|
40
|
+
FolderDetachParams,
|
|
41
|
+
FolderListParams,
|
|
42
|
+
FolderListResponse,
|
|
43
|
+
FolderListResponsesArrayPage,
|
|
44
|
+
Folders,
|
|
45
|
+
} from './folders';
|
|
46
|
+
import * as GroupsAPI from './groups';
|
|
47
|
+
import { GroupListParams, Groups } from './groups';
|
|
48
|
+
import * as IdentitiesAPI from './identities';
|
|
49
|
+
import {
|
|
50
|
+
Identities,
|
|
51
|
+
IdentityAttachParams,
|
|
52
|
+
IdentityAttachResponse,
|
|
53
|
+
IdentityDetachParams,
|
|
54
|
+
IdentityDetachResponse,
|
|
55
|
+
} from './identities';
|
|
31
56
|
import * as MessagesAPI from './messages';
|
|
32
57
|
import {
|
|
33
58
|
ApprovalCreate,
|
|
34
59
|
ApprovalRequestMessage,
|
|
35
60
|
ApprovalResponseMessage,
|
|
61
|
+
ApprovalReturn,
|
|
36
62
|
AssistantMessage,
|
|
63
|
+
EventMessage,
|
|
37
64
|
HiddenReasoningMessage,
|
|
38
65
|
ImageContent,
|
|
66
|
+
InternalMessage,
|
|
39
67
|
JobStatus,
|
|
40
68
|
JobType,
|
|
41
69
|
LettaAssistantMessageContentUnion,
|
|
42
|
-
LettaMessageUnion,
|
|
43
70
|
LettaRequest,
|
|
44
71
|
LettaResponse,
|
|
45
72
|
LettaStreamingRequest,
|
|
73
|
+
LettaStreamingResponse,
|
|
46
74
|
LettaUserMessageContentUnion,
|
|
47
75
|
Message,
|
|
48
76
|
MessageCancelParams,
|
|
49
77
|
MessageCancelResponse,
|
|
78
|
+
MessageCreateAsyncParams,
|
|
79
|
+
MessageCreateParams,
|
|
80
|
+
MessageCreateParamsNonStreaming,
|
|
81
|
+
MessageCreateParamsStreaming,
|
|
50
82
|
MessageListParams,
|
|
51
|
-
|
|
52
|
-
MessagePreviewRawPayloadParams,
|
|
53
|
-
MessagePreviewRawPayloadResponse,
|
|
83
|
+
MessageResetParams,
|
|
54
84
|
MessageRole,
|
|
55
|
-
|
|
56
|
-
MessageSearchResponse,
|
|
57
|
-
MessageSendAsyncParams,
|
|
58
|
-
MessageSendParams,
|
|
59
|
-
MessageSendStreamParams,
|
|
60
|
-
MessageSendStreamResponse,
|
|
85
|
+
MessageStreamParams,
|
|
61
86
|
MessageType,
|
|
62
|
-
MessageUpdateParams,
|
|
63
|
-
MessageUpdateResponse,
|
|
64
87
|
Messages,
|
|
88
|
+
MessagesArrayPage,
|
|
65
89
|
OmittedReasoningContent,
|
|
66
90
|
ReasoningContent,
|
|
67
91
|
ReasoningMessage,
|
|
68
92
|
RedactedReasoningContent,
|
|
69
93
|
Run,
|
|
94
|
+
SummaryMessage,
|
|
70
95
|
SystemMessage,
|
|
71
96
|
TextContent,
|
|
72
97
|
ToolCall,
|
|
@@ -81,22 +106,16 @@ import {
|
|
|
81
106
|
UpdateUserMessage,
|
|
82
107
|
UserMessage,
|
|
83
108
|
} from './messages';
|
|
84
|
-
import * as
|
|
85
|
-
import {
|
|
86
|
-
import * as
|
|
87
|
-
import
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Tools,
|
|
93
|
-
} from './tools';
|
|
94
|
-
import * as GroupsAPI from '../groups/groups';
|
|
95
|
-
import * as SourcesSourcesAPI from '../sources/sources';
|
|
96
|
-
import * as ToolsToolsAPI from '../tools/tools';
|
|
97
|
-
import * as CoreMemoryAPI from './core-memory/core-memory';
|
|
98
|
-
import { CoreMemory, CoreMemoryRetrieveVariablesResponse, Memory } from './core-memory/core-memory';
|
|
109
|
+
import * as AgentsToolsAPI from './tools';
|
|
110
|
+
import { ToolAttachParams, ToolDetachParams, ToolListParams, ToolUpdateApprovalParams, Tools } from './tools';
|
|
111
|
+
import * as ArchivesArchivesAPI from '../archives/archives';
|
|
112
|
+
import * as BlocksBlocksAPI from '../blocks/blocks';
|
|
113
|
+
import * as GroupsGroupsAPI from '../groups/groups';
|
|
114
|
+
import * as IdentitiesIdentitiesAPI from '../identities/identities';
|
|
115
|
+
import * as ModelsAPI from '../models/models';
|
|
116
|
+
import * as RunsAPI from '../runs/runs';
|
|
99
117
|
import { APIPromise } from '../../core/api-promise';
|
|
118
|
+
import { ArrayPage, type ArrayPageParams, PagePromise } from '../../core/pagination';
|
|
100
119
|
import { type Uploadable } from '../../core/uploads';
|
|
101
120
|
import { buildHeaders } from '../../internal/headers';
|
|
102
121
|
import { RequestOptions } from '../../internal/request-options';
|
|
@@ -104,27 +123,20 @@ import { multipartFormRequestOptions } from '../../internal/uploads';
|
|
|
104
123
|
import { path } from '../../internal/utils/path';
|
|
105
124
|
|
|
106
125
|
export class Agents extends APIResource {
|
|
107
|
-
|
|
108
|
-
|
|
126
|
+
messages: MessagesAPI.Messages = new MessagesAPI.Messages(this._client);
|
|
127
|
+
blocks: BlocksAPI.Blocks = new BlocksAPI.Blocks(this._client);
|
|
128
|
+
tools: AgentsToolsAPI.Tools = new AgentsToolsAPI.Tools(this._client);
|
|
109
129
|
folders: FoldersAPI.Folders = new FoldersAPI.Folders(this._client);
|
|
110
130
|
files: FilesAPI.Files = new FilesAPI.Files(this._client);
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
131
|
+
groups: GroupsAPI.Groups = new GroupsAPI.Groups(this._client);
|
|
132
|
+
archives: ArchivesAPI.Archives = new ArchivesAPI.Archives(this._client);
|
|
133
|
+
identities: IdentitiesAPI.Identities = new IdentitiesAPI.Identities(this._client);
|
|
114
134
|
|
|
115
135
|
/**
|
|
116
136
|
* Create an agent.
|
|
117
137
|
*/
|
|
118
|
-
create(
|
|
119
|
-
|
|
120
|
-
return this._client.post('/v1/agents/', {
|
|
121
|
-
body,
|
|
122
|
-
...options,
|
|
123
|
-
headers: buildHeaders([
|
|
124
|
-
{ ...(xProject != null ? { 'X-Project': xProject } : undefined) },
|
|
125
|
-
options?.headers,
|
|
126
|
-
]),
|
|
127
|
-
});
|
|
138
|
+
create(body: AgentCreateParams, options?: RequestOptions): APIPromise<AgentState> {
|
|
139
|
+
return this._client.post('/v1/agents/', { body, ...options });
|
|
128
140
|
}
|
|
129
141
|
|
|
130
142
|
/**
|
|
@@ -151,8 +163,8 @@ export class Agents extends APIResource {
|
|
|
151
163
|
list(
|
|
152
164
|
query: AgentListParams | null | undefined = {},
|
|
153
165
|
options?: RequestOptions,
|
|
154
|
-
):
|
|
155
|
-
return this._client.
|
|
166
|
+
): PagePromise<AgentStatesArrayPage, AgentState> {
|
|
167
|
+
return this._client.getAPIList('/v1/agents/', ArrayPage<AgentState>, { query, ...options });
|
|
156
168
|
}
|
|
157
169
|
|
|
158
170
|
/**
|
|
@@ -162,26 +174,13 @@ export class Agents extends APIResource {
|
|
|
162
174
|
return this._client.delete(path`/v1/agents/${agentID}`, options);
|
|
163
175
|
}
|
|
164
176
|
|
|
165
|
-
/**
|
|
166
|
-
* Get the total number of agents.
|
|
167
|
-
*/
|
|
168
|
-
count(options?: RequestOptions): APIPromise<AgentCountResponse> {
|
|
169
|
-
return this._client.get('/v1/agents/count', options);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
177
|
/**
|
|
173
178
|
* Export the serialized JSON representation of an agent, formatted with
|
|
174
179
|
* indentation.
|
|
175
|
-
*
|
|
176
|
-
* Supports two export formats:
|
|
177
|
-
*
|
|
178
|
-
* - Legacy format (use_legacy_format=true): Single agent with inline tools/blocks
|
|
179
|
-
* - New format (default): Multi-entity format with separate agents, tools, blocks,
|
|
180
|
-
* files, etc.
|
|
181
180
|
*/
|
|
182
|
-
|
|
181
|
+
exportFile(
|
|
183
182
|
agentID: string,
|
|
184
|
-
query:
|
|
183
|
+
query: AgentExportFileParams | null | undefined = {},
|
|
185
184
|
options?: RequestOptions,
|
|
186
185
|
): APIPromise<string> {
|
|
187
186
|
return this._client.get(path`/v1/agents/${agentID}/export`, { query, ...options });
|
|
@@ -191,7 +190,7 @@ export class Agents extends APIResource {
|
|
|
191
190
|
* Import a serialized agent file and recreate the agent(s) in the system. Returns
|
|
192
191
|
* the IDs of all imported agents.
|
|
193
192
|
*/
|
|
194
|
-
|
|
193
|
+
importFile(params: AgentImportFileParams, options?: RequestOptions): APIPromise<AgentImportFileResponse> {
|
|
195
194
|
const { 'x-override-embedding-model': xOverrideEmbeddingModel, ...body } = params;
|
|
196
195
|
return this._client.post(
|
|
197
196
|
'/v1/agents/import',
|
|
@@ -212,78 +211,10 @@ export class Agents extends APIResource {
|
|
|
212
211
|
),
|
|
213
212
|
);
|
|
214
213
|
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Lists the groups for an agent
|
|
218
|
-
*/
|
|
219
|
-
listGroups(
|
|
220
|
-
agentID: string,
|
|
221
|
-
query: AgentListGroupsParams | null | undefined = {},
|
|
222
|
-
options?: RequestOptions,
|
|
223
|
-
): APIPromise<AgentListGroupsResponse> {
|
|
224
|
-
return this._client.get(path`/v1/agents/${agentID}/groups`, { query, ...options });
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Migrate an agent to a new versioned agent template. This will only work for
|
|
229
|
-
* "classic" and non-multiagent agent templates.
|
|
230
|
-
*/
|
|
231
|
-
migrate(
|
|
232
|
-
agentID: string,
|
|
233
|
-
body: AgentMigrateParams,
|
|
234
|
-
options?: RequestOptions,
|
|
235
|
-
): APIPromise<AgentMigrateResponse> {
|
|
236
|
-
return this._client.post(path`/v1/agents/${agentID}/migrate`, { body, ...options });
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Resets the messages for an agent
|
|
241
|
-
*/
|
|
242
|
-
resetMessages(
|
|
243
|
-
agentID: string,
|
|
244
|
-
params: AgentResetMessagesParams | null | undefined = {},
|
|
245
|
-
options?: RequestOptions,
|
|
246
|
-
): APIPromise<AgentState> {
|
|
247
|
-
const { add_default_initial_messages } = params ?? {};
|
|
248
|
-
return this._client.patch(path`/v1/agents/${agentID}/reset-messages`, {
|
|
249
|
-
query: { add_default_initial_messages },
|
|
250
|
-
...options,
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Retrieve the context window of a specific agent.
|
|
256
|
-
*/
|
|
257
|
-
retrieveContext(agentID: string, options?: RequestOptions): APIPromise<AgentRetrieveContextResponse> {
|
|
258
|
-
return this._client.get(path`/v1/agents/${agentID}/context`, options);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Search deployed agents
|
|
263
|
-
*/
|
|
264
|
-
search(
|
|
265
|
-
body: AgentSearchParams | null | undefined = {},
|
|
266
|
-
options?: RequestOptions,
|
|
267
|
-
): APIPromise<AgentSearchResponse> {
|
|
268
|
-
return this._client.post('/v1/agents/search', { body, ...options });
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Summarize an agent's conversation history to a target message length.
|
|
273
|
-
*
|
|
274
|
-
* This endpoint summarizes the current message history for a given agent,
|
|
275
|
-
* truncating and compressing it down to the specified `max_message_length`.
|
|
276
|
-
*/
|
|
277
|
-
summarize(agentID: string, params: AgentSummarizeParams, options?: RequestOptions): APIPromise<void> {
|
|
278
|
-
const { max_message_length } = params;
|
|
279
|
-
return this._client.post(path`/v1/agents/${agentID}/summarize`, {
|
|
280
|
-
query: { max_message_length },
|
|
281
|
-
...options,
|
|
282
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
214
|
}
|
|
286
215
|
|
|
216
|
+
export type AgentStatesArrayPage = ArrayPage<AgentState>;
|
|
217
|
+
|
|
287
218
|
export interface AgentEnvironmentVariable {
|
|
288
219
|
/**
|
|
289
220
|
* The ID of the agent this environment variable belongs to.
|
|
@@ -329,22 +260,17 @@ export interface AgentEnvironmentVariable {
|
|
|
329
260
|
* The timestamp when the object was last updated.
|
|
330
261
|
*/
|
|
331
262
|
updated_at?: string | null;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Encrypted secret value (stored as encrypted string)
|
|
266
|
+
*/
|
|
267
|
+
value_enc?: string | null;
|
|
332
268
|
}
|
|
333
269
|
|
|
334
270
|
/**
|
|
335
271
|
* Representation of an agent's state. This is the state of the agent at a given
|
|
336
272
|
* time, and is persisted in the DB backend. The state has all the information
|
|
337
273
|
* needed to recreate a persisted agent.
|
|
338
|
-
*
|
|
339
|
-
* Parameters: id (str): The unique identifier of the agent. name (str): The name
|
|
340
|
-
* of the agent (must be unique to the user). created_at (datetime): The datetime
|
|
341
|
-
* the agent was created. message_ids (List[str]): The ids of the messages in the
|
|
342
|
-
* agent's in-context memory. memory (Memory): The in-context memory of the agent.
|
|
343
|
-
* tools (List[str]): The tools used by the agent. This includes any memory editing
|
|
344
|
-
* functions specified in `memory`. system (str): The system prompt used by the
|
|
345
|
-
* agent. llm_config (LLMConfig): The LLM configuration used by the agent.
|
|
346
|
-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
|
|
347
|
-
* agent.
|
|
348
274
|
*/
|
|
349
275
|
export interface AgentState {
|
|
350
276
|
/**
|
|
@@ -358,19 +284,27 @@ export interface AgentState {
|
|
|
358
284
|
agent_type: AgentType;
|
|
359
285
|
|
|
360
286
|
/**
|
|
361
|
-
* The
|
|
287
|
+
* The memory blocks used by the agent.
|
|
288
|
+
*/
|
|
289
|
+
blocks: Array<BlocksAPI.Block>;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @deprecated Deprecated: Use `embedding` field instead. The embedding
|
|
293
|
+
* configuration used by the agent.
|
|
362
294
|
*/
|
|
363
295
|
embedding_config: ModelsAPI.EmbeddingConfig;
|
|
364
296
|
|
|
365
297
|
/**
|
|
366
|
-
* The LLM configuration used by
|
|
298
|
+
* @deprecated Deprecated: Use `model` field instead. The LLM configuration used by
|
|
299
|
+
* the agent.
|
|
367
300
|
*/
|
|
368
301
|
llm_config: ModelsAPI.LlmConfig;
|
|
369
302
|
|
|
370
303
|
/**
|
|
371
|
-
* The in-context memory of the
|
|
304
|
+
* @deprecated Deprecated: Use `blocks` field instead. The in-context memory of the
|
|
305
|
+
* agent.
|
|
372
306
|
*/
|
|
373
|
-
memory:
|
|
307
|
+
memory: AgentState.Memory;
|
|
374
308
|
|
|
375
309
|
/**
|
|
376
310
|
* The name of the agent.
|
|
@@ -378,9 +312,10 @@ export interface AgentState {
|
|
|
378
312
|
name: string;
|
|
379
313
|
|
|
380
314
|
/**
|
|
381
|
-
* The sources used by the
|
|
315
|
+
* @deprecated Deprecated: Use `folders` field instead. The sources used by the
|
|
316
|
+
* agent.
|
|
382
317
|
*/
|
|
383
|
-
sources: Array<
|
|
318
|
+
sources: Array<AgentState.Source>;
|
|
384
319
|
|
|
385
320
|
/**
|
|
386
321
|
* The system prompt used by the agent.
|
|
@@ -395,7 +330,7 @@ export interface AgentState {
|
|
|
395
330
|
/**
|
|
396
331
|
* The tools used by the agent.
|
|
397
332
|
*/
|
|
398
|
-
tools: Array<
|
|
333
|
+
tools: Array<ToolsAPI.Tool>;
|
|
399
334
|
|
|
400
335
|
/**
|
|
401
336
|
* The base template id of the agent.
|
|
@@ -422,6 +357,11 @@ export interface AgentState {
|
|
|
422
357
|
*/
|
|
423
358
|
description?: string | null;
|
|
424
359
|
|
|
360
|
+
/**
|
|
361
|
+
* The embedding model handle used by the agent (format: provider/model-name).
|
|
362
|
+
*/
|
|
363
|
+
embedding?: string | null;
|
|
364
|
+
|
|
425
365
|
/**
|
|
426
366
|
* If set to True, memory management will move to a background agent thread.
|
|
427
367
|
*/
|
|
@@ -438,7 +378,13 @@ export interface AgentState {
|
|
|
438
378
|
hidden?: boolean | null;
|
|
439
379
|
|
|
440
380
|
/**
|
|
441
|
-
* The
|
|
381
|
+
* The identities associated with this agent.
|
|
382
|
+
*/
|
|
383
|
+
identities?: Array<IdentitiesIdentitiesAPI.Identity>;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @deprecated Deprecated: Use `identities` field instead. The ids of the
|
|
387
|
+
* identities associated with this agent.
|
|
442
388
|
*/
|
|
443
389
|
identity_ids?: Array<string>;
|
|
444
390
|
|
|
@@ -452,11 +398,21 @@ export interface AgentState {
|
|
|
452
398
|
*/
|
|
453
399
|
last_run_duration_ms?: number | null;
|
|
454
400
|
|
|
401
|
+
/**
|
|
402
|
+
* The stop reason from the agent's last run.
|
|
403
|
+
*/
|
|
404
|
+
last_stop_reason?: RunsAPI.StopReasonType | null;
|
|
405
|
+
|
|
455
406
|
/**
|
|
456
407
|
* The id of the user that made this object.
|
|
457
408
|
*/
|
|
458
409
|
last_updated_by_id?: string | null;
|
|
459
410
|
|
|
411
|
+
/**
|
|
412
|
+
* The multi-agent group that this agent manages
|
|
413
|
+
*/
|
|
414
|
+
managed_group?: GroupsGroupsAPI.Group | null;
|
|
415
|
+
|
|
460
416
|
/**
|
|
461
417
|
* Maximum number of files that can be open at once for this agent. Setting this
|
|
462
418
|
* too high may exceed the context window, which will break the agent.
|
|
@@ -481,9 +437,31 @@ export interface AgentState {
|
|
|
481
437
|
metadata?: { [key: string]: unknown } | null;
|
|
482
438
|
|
|
483
439
|
/**
|
|
484
|
-
* The
|
|
440
|
+
* The model handle used by the agent (format: provider/model-name).
|
|
485
441
|
*/
|
|
486
|
-
|
|
442
|
+
model?: string | null;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* The model settings used by the agent.
|
|
446
|
+
*/
|
|
447
|
+
model_settings?:
|
|
448
|
+
| OpenAIModelSettings
|
|
449
|
+
| AnthropicModelSettings
|
|
450
|
+
| GoogleAIModelSettings
|
|
451
|
+
| GoogleVertexModelSettings
|
|
452
|
+
| AzureModelSettings
|
|
453
|
+
| XaiModelSettings
|
|
454
|
+
| GroqModelSettings
|
|
455
|
+
| DeepseekModelSettings
|
|
456
|
+
| TogetherModelSettings
|
|
457
|
+
| BedrockModelSettings
|
|
458
|
+
| null;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* @deprecated Deprecated: Use `managed_group` field instead. The multi-agent group
|
|
462
|
+
* that this agent manages.
|
|
463
|
+
*/
|
|
464
|
+
multi_agent_group?: GroupsGroupsAPI.Group | null;
|
|
487
465
|
|
|
488
466
|
/**
|
|
489
467
|
* The per-file view window character limit for this agent. Setting this too high
|
|
@@ -497,7 +475,7 @@ export interface AgentState {
|
|
|
497
475
|
project_id?: string | null;
|
|
498
476
|
|
|
499
477
|
/**
|
|
500
|
-
* The response format used by the agent
|
|
478
|
+
* The response format used by the agent
|
|
501
479
|
*/
|
|
502
480
|
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
503
481
|
|
|
@@ -542,12 +520,218 @@ export interface AgentState {
|
|
|
542
520
|
updated_at?: string | null;
|
|
543
521
|
}
|
|
544
522
|
|
|
523
|
+
export namespace AgentState {
|
|
524
|
+
/**
|
|
525
|
+
* @deprecated Deprecated: Use `blocks` field instead. The in-context memory of the
|
|
526
|
+
* agent.
|
|
527
|
+
*/
|
|
528
|
+
export interface Memory {
|
|
529
|
+
/**
|
|
530
|
+
* Memory blocks contained in the agent's in-context memory
|
|
531
|
+
*/
|
|
532
|
+
blocks: Array<BlocksAPI.Block>;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Agent type controlling prompt rendering.
|
|
536
|
+
*/
|
|
537
|
+
agent_type?: AgentsAPI.AgentType | (string & {}) | null;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Special blocks representing the agent's in-context memory of an attached file
|
|
541
|
+
*/
|
|
542
|
+
file_blocks?: Array<Memory.FileBlock>;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Deprecated. Ignored for performance.
|
|
546
|
+
*/
|
|
547
|
+
prompt_template?: string;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export namespace Memory {
|
|
551
|
+
export interface FileBlock {
|
|
552
|
+
/**
|
|
553
|
+
* Unique identifier of the file.
|
|
554
|
+
*/
|
|
555
|
+
file_id: string;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* True if the agent currently has the file open.
|
|
559
|
+
*/
|
|
560
|
+
is_open: boolean;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @deprecated Deprecated: Use `folder_id` field instead. Unique identifier of the
|
|
564
|
+
* source.
|
|
565
|
+
*/
|
|
566
|
+
source_id: string;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Value of the block.
|
|
570
|
+
*/
|
|
571
|
+
value: string;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* The human-friendly ID of the Block
|
|
575
|
+
*/
|
|
576
|
+
id?: string;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* The base template id of the block.
|
|
580
|
+
*/
|
|
581
|
+
base_template_id?: string | null;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* The id of the user that made this Block.
|
|
585
|
+
*/
|
|
586
|
+
created_by_id?: string | null;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* The id of the deployment.
|
|
590
|
+
*/
|
|
591
|
+
deployment_id?: string | null;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Description of the block.
|
|
595
|
+
*/
|
|
596
|
+
description?: string | null;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* The id of the entity within the template.
|
|
600
|
+
*/
|
|
601
|
+
entity_id?: string | null;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* If set to True, the block will be hidden.
|
|
605
|
+
*/
|
|
606
|
+
hidden?: boolean | null;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Whether the block is a template (e.g. saved human/persona options).
|
|
610
|
+
*/
|
|
611
|
+
is_template?: boolean;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Label of the block (e.g. 'human', 'persona') in the context window.
|
|
615
|
+
*/
|
|
616
|
+
label?: string | null;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* UTC timestamp of the agent’s most recent access to this file. Any operations
|
|
620
|
+
* from the open, close, or search tools will update this field.
|
|
621
|
+
*/
|
|
622
|
+
last_accessed_at?: string | null;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* The id of the user that last updated this Block.
|
|
626
|
+
*/
|
|
627
|
+
last_updated_by_id?: string | null;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Character limit of the block.
|
|
631
|
+
*/
|
|
632
|
+
limit?: number;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Metadata of the block.
|
|
636
|
+
*/
|
|
637
|
+
metadata?: { [key: string]: unknown } | null;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Preserve the block on template migration.
|
|
641
|
+
*/
|
|
642
|
+
preserve_on_migration?: boolean | null;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* The associated project id.
|
|
646
|
+
*/
|
|
647
|
+
project_id?: string | null;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Whether the agent has read-only access to the block.
|
|
651
|
+
*/
|
|
652
|
+
read_only?: boolean;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* The id of the template.
|
|
656
|
+
*/
|
|
657
|
+
template_id?: string | null;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Name of the block if it is a template.
|
|
661
|
+
*/
|
|
662
|
+
template_name?: string | null;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* (Deprecated: Use Folder) Representation of a source, which is a collection of
|
|
668
|
+
* files and passages.
|
|
669
|
+
*/
|
|
670
|
+
export interface Source {
|
|
671
|
+
/**
|
|
672
|
+
* The human-friendly ID of the Source
|
|
673
|
+
*/
|
|
674
|
+
id: string;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* The embedding configuration used by the source.
|
|
678
|
+
*/
|
|
679
|
+
embedding_config: ModelsAPI.EmbeddingConfig;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* The name of the source.
|
|
683
|
+
*/
|
|
684
|
+
name: string;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* The timestamp when the source was created.
|
|
688
|
+
*/
|
|
689
|
+
created_at?: string | null;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* The id of the user that made this Tool.
|
|
693
|
+
*/
|
|
694
|
+
created_by_id?: string | null;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* The description of the source.
|
|
698
|
+
*/
|
|
699
|
+
description?: string | null;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Instructions for how to use the source.
|
|
703
|
+
*/
|
|
704
|
+
instructions?: string | null;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* The id of the user that made this Tool.
|
|
708
|
+
*/
|
|
709
|
+
last_updated_by_id?: string | null;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Metadata associated with the source.
|
|
713
|
+
*/
|
|
714
|
+
metadata?: { [key: string]: unknown } | null;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* The timestamp when the source was last updated.
|
|
718
|
+
*/
|
|
719
|
+
updated_at?: string | null;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* The vector database provider used for this source's passages
|
|
723
|
+
*/
|
|
724
|
+
vector_db_provider?: ArchivesArchivesAPI.VectorDBProvider;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
545
728
|
/**
|
|
546
729
|
* Enum to represent the type of agent.
|
|
547
730
|
*/
|
|
548
731
|
export type AgentType =
|
|
549
732
|
| 'memgpt_agent'
|
|
550
733
|
| 'memgpt_v2_agent'
|
|
734
|
+
| 'letta_v1_agent'
|
|
551
735
|
| 'react_agent'
|
|
552
736
|
| 'workflow_agent'
|
|
553
737
|
| 'split_thread_agent'
|
|
@@ -555,6 +739,115 @@ export type AgentType =
|
|
|
555
739
|
| 'voice_convo_agent'
|
|
556
740
|
| 'voice_sleeptime_agent';
|
|
557
741
|
|
|
742
|
+
export interface AnthropicModelSettings {
|
|
743
|
+
/**
|
|
744
|
+
* The maximum number of tokens the model can generate.
|
|
745
|
+
*/
|
|
746
|
+
max_output_tokens?: number;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Whether to enable parallel tool calling.
|
|
750
|
+
*/
|
|
751
|
+
parallel_tool_calls?: boolean;
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* The type of the provider.
|
|
755
|
+
*/
|
|
756
|
+
provider_type?: 'anthropic';
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* The temperature of the model.
|
|
760
|
+
*/
|
|
761
|
+
temperature?: number;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* The thinking configuration for the model.
|
|
765
|
+
*/
|
|
766
|
+
thinking?: AnthropicModelSettings.Thinking;
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Soft control for how verbose model output should be, used for GPT-5 models.
|
|
770
|
+
*/
|
|
771
|
+
verbosity?: 'low' | 'medium' | 'high' | null;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export namespace AnthropicModelSettings {
|
|
775
|
+
/**
|
|
776
|
+
* The thinking configuration for the model.
|
|
777
|
+
*/
|
|
778
|
+
export interface Thinking {
|
|
779
|
+
/**
|
|
780
|
+
* The maximum number of tokens the model can use for extended thinking.
|
|
781
|
+
*/
|
|
782
|
+
budget_tokens?: number;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* The type of thinking to use.
|
|
786
|
+
*/
|
|
787
|
+
type?: 'enabled' | 'disabled';
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Azure OpenAI model configuration (OpenAI-compatible).
|
|
793
|
+
*/
|
|
794
|
+
export interface AzureModelSettings {
|
|
795
|
+
/**
|
|
796
|
+
* The maximum number of tokens the model can generate.
|
|
797
|
+
*/
|
|
798
|
+
max_output_tokens?: number;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Whether to enable parallel tool calling.
|
|
802
|
+
*/
|
|
803
|
+
parallel_tool_calls?: boolean;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* The type of the provider.
|
|
807
|
+
*/
|
|
808
|
+
provider_type?: 'azure';
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* The response format for the model.
|
|
812
|
+
*/
|
|
813
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* The temperature of the model.
|
|
817
|
+
*/
|
|
818
|
+
temperature?: number;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* AWS Bedrock model configuration.
|
|
823
|
+
*/
|
|
824
|
+
export interface BedrockModelSettings {
|
|
825
|
+
/**
|
|
826
|
+
* The maximum number of tokens the model can generate.
|
|
827
|
+
*/
|
|
828
|
+
max_output_tokens?: number;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Whether to enable parallel tool calling.
|
|
832
|
+
*/
|
|
833
|
+
parallel_tool_calls?: boolean;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* The type of the provider.
|
|
837
|
+
*/
|
|
838
|
+
provider_type?: 'bedrock';
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* The response format for the model.
|
|
842
|
+
*/
|
|
843
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* The temperature of the model.
|
|
847
|
+
*/
|
|
848
|
+
temperature?: number;
|
|
849
|
+
}
|
|
850
|
+
|
|
558
851
|
/**
|
|
559
852
|
* A ToolRule represents a tool that can be invoked by the agent.
|
|
560
853
|
*/
|
|
@@ -569,6 +862,12 @@ export interface ChildToolRule {
|
|
|
569
862
|
*/
|
|
570
863
|
tool_name: string;
|
|
571
864
|
|
|
865
|
+
/**
|
|
866
|
+
* Optional list of typed child argument overrides. Each node must reference a
|
|
867
|
+
* child in 'children'.
|
|
868
|
+
*/
|
|
869
|
+
child_arg_nodes?: Array<ChildToolRule.ChildArgNode> | null;
|
|
870
|
+
|
|
572
871
|
/**
|
|
573
872
|
* Optional template string (ignored).
|
|
574
873
|
*/
|
|
@@ -577,6 +876,28 @@ export interface ChildToolRule {
|
|
|
577
876
|
type?: 'constrain_child_tools';
|
|
578
877
|
}
|
|
579
878
|
|
|
879
|
+
export namespace ChildToolRule {
|
|
880
|
+
/**
|
|
881
|
+
* Typed child override for prefilled arguments.
|
|
882
|
+
*
|
|
883
|
+
* When used in a ChildToolRule, if this child is selected next, its `args` will be
|
|
884
|
+
* applied as prefilled arguments (overriding overlapping LLM-provided values).
|
|
885
|
+
*/
|
|
886
|
+
export interface ChildArgNode {
|
|
887
|
+
/**
|
|
888
|
+
* The name of the child tool to invoke next.
|
|
889
|
+
*/
|
|
890
|
+
name: string;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Optional prefilled arguments for this child tool. Keys must match the tool's
|
|
894
|
+
* parameter names and values must satisfy the tool's JSON schema. Supports partial
|
|
895
|
+
* prefill; non-overlapping parameters are left to the model.
|
|
896
|
+
*/
|
|
897
|
+
args?: { [key: string]: unknown } | null;
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
|
|
580
901
|
/**
|
|
581
902
|
* A ToolRule that conditionally maps to different child tools based on the output.
|
|
582
903
|
*/
|
|
@@ -627,6 +948,164 @@ export interface ContinueToolRule {
|
|
|
627
948
|
type?: 'continue_loop';
|
|
628
949
|
}
|
|
629
950
|
|
|
951
|
+
/**
|
|
952
|
+
* Deepseek model configuration (OpenAI-compatible).
|
|
953
|
+
*/
|
|
954
|
+
export interface DeepseekModelSettings {
|
|
955
|
+
/**
|
|
956
|
+
* The maximum number of tokens the model can generate.
|
|
957
|
+
*/
|
|
958
|
+
max_output_tokens?: number;
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Whether to enable parallel tool calling.
|
|
962
|
+
*/
|
|
963
|
+
parallel_tool_calls?: boolean;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* The type of the provider.
|
|
967
|
+
*/
|
|
968
|
+
provider_type?: 'deepseek';
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* The response format for the model.
|
|
972
|
+
*/
|
|
973
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* The temperature of the model.
|
|
977
|
+
*/
|
|
978
|
+
temperature?: number;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
export interface GoogleAIModelSettings {
|
|
982
|
+
/**
|
|
983
|
+
* The maximum number of tokens the model can generate.
|
|
984
|
+
*/
|
|
985
|
+
max_output_tokens?: number;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Whether to enable parallel tool calling.
|
|
989
|
+
*/
|
|
990
|
+
parallel_tool_calls?: boolean;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* The type of the provider.
|
|
994
|
+
*/
|
|
995
|
+
provider_type?: 'google_ai';
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* The response schema for the model.
|
|
999
|
+
*/
|
|
1000
|
+
response_schema?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* The temperature of the model.
|
|
1004
|
+
*/
|
|
1005
|
+
temperature?: number;
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* The thinking configuration for the model.
|
|
1009
|
+
*/
|
|
1010
|
+
thinking_config?: GoogleAIModelSettings.ThinkingConfig;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export namespace GoogleAIModelSettings {
|
|
1014
|
+
/**
|
|
1015
|
+
* The thinking configuration for the model.
|
|
1016
|
+
*/
|
|
1017
|
+
export interface ThinkingConfig {
|
|
1018
|
+
/**
|
|
1019
|
+
* Whether to include thoughts in the model's response.
|
|
1020
|
+
*/
|
|
1021
|
+
include_thoughts?: boolean;
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* The thinking budget for the model.
|
|
1025
|
+
*/
|
|
1026
|
+
thinking_budget?: number;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export interface GoogleVertexModelSettings {
|
|
1031
|
+
/**
|
|
1032
|
+
* The maximum number of tokens the model can generate.
|
|
1033
|
+
*/
|
|
1034
|
+
max_output_tokens?: number;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Whether to enable parallel tool calling.
|
|
1038
|
+
*/
|
|
1039
|
+
parallel_tool_calls?: boolean;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* The type of the provider.
|
|
1043
|
+
*/
|
|
1044
|
+
provider_type?: 'google_vertex';
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* The response schema for the model.
|
|
1048
|
+
*/
|
|
1049
|
+
response_schema?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* The temperature of the model.
|
|
1053
|
+
*/
|
|
1054
|
+
temperature?: number;
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* The thinking configuration for the model.
|
|
1058
|
+
*/
|
|
1059
|
+
thinking_config?: GoogleVertexModelSettings.ThinkingConfig;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export namespace GoogleVertexModelSettings {
|
|
1063
|
+
/**
|
|
1064
|
+
* The thinking configuration for the model.
|
|
1065
|
+
*/
|
|
1066
|
+
export interface ThinkingConfig {
|
|
1067
|
+
/**
|
|
1068
|
+
* Whether to include thoughts in the model's response.
|
|
1069
|
+
*/
|
|
1070
|
+
include_thoughts?: boolean;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* The thinking budget for the model.
|
|
1074
|
+
*/
|
|
1075
|
+
thinking_budget?: number;
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Groq model configuration (OpenAI-compatible).
|
|
1081
|
+
*/
|
|
1082
|
+
export interface GroqModelSettings {
|
|
1083
|
+
/**
|
|
1084
|
+
* The maximum number of tokens the model can generate.
|
|
1085
|
+
*/
|
|
1086
|
+
max_output_tokens?: number;
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Whether to enable parallel tool calling.
|
|
1090
|
+
*/
|
|
1091
|
+
parallel_tool_calls?: boolean;
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* The type of the provider.
|
|
1095
|
+
*/
|
|
1096
|
+
provider_type?: 'groq';
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* The response format for the model.
|
|
1100
|
+
*/
|
|
1101
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* The temperature of the model.
|
|
1105
|
+
*/
|
|
1106
|
+
temperature?: number;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
630
1109
|
/**
|
|
631
1110
|
* Represents the initial tool rule configuration.
|
|
632
1111
|
*/
|
|
@@ -636,6 +1115,15 @@ export interface InitToolRule {
|
|
|
636
1115
|
*/
|
|
637
1116
|
tool_name: string;
|
|
638
1117
|
|
|
1118
|
+
/**
|
|
1119
|
+
* Optional prefilled arguments for this tool. When present, these values will
|
|
1120
|
+
* override any LLM-provided arguments with the same keys during invocation. Keys
|
|
1121
|
+
* must match the tool's parameter names and values must satisfy the tool's JSON
|
|
1122
|
+
* schema. Supports partial prefill; non-overlapping parameters are left to the
|
|
1123
|
+
* model.
|
|
1124
|
+
*/
|
|
1125
|
+
args?: { [key: string]: unknown } | null;
|
|
1126
|
+
|
|
639
1127
|
/**
|
|
640
1128
|
* Optional template string (ignored). Rendering uses fast built-in formatting for
|
|
641
1129
|
* performance.
|
|
@@ -670,6 +1158,9 @@ export interface JsonSchemaResponseFormat {
|
|
|
670
1158
|
type?: 'json_schema';
|
|
671
1159
|
}
|
|
672
1160
|
|
|
1161
|
+
/**
|
|
1162
|
+
* Sent via the Anthropic Messages API
|
|
1163
|
+
*/
|
|
673
1164
|
export type LettaMessageContentUnion =
|
|
674
1165
|
| MessagesAPI.TextContent
|
|
675
1166
|
| MessagesAPI.ImageContent
|
|
@@ -748,6 +1239,50 @@ export interface MessageCreate {
|
|
|
748
1239
|
type?: 'message' | null;
|
|
749
1240
|
}
|
|
750
1241
|
|
|
1242
|
+
export interface OpenAIModelSettings {
|
|
1243
|
+
/**
|
|
1244
|
+
* The maximum number of tokens the model can generate.
|
|
1245
|
+
*/
|
|
1246
|
+
max_output_tokens?: number;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Whether to enable parallel tool calling.
|
|
1250
|
+
*/
|
|
1251
|
+
parallel_tool_calls?: boolean;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* The type of the provider.
|
|
1255
|
+
*/
|
|
1256
|
+
provider_type?: 'openai';
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* The reasoning configuration for the model.
|
|
1260
|
+
*/
|
|
1261
|
+
reasoning?: OpenAIModelSettings.Reasoning;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* The response format for the model.
|
|
1265
|
+
*/
|
|
1266
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* The temperature of the model.
|
|
1270
|
+
*/
|
|
1271
|
+
temperature?: number;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export namespace OpenAIModelSettings {
|
|
1275
|
+
/**
|
|
1276
|
+
* The reasoning configuration for the model.
|
|
1277
|
+
*/
|
|
1278
|
+
export interface Reasoning {
|
|
1279
|
+
/**
|
|
1280
|
+
* The reasoning effort to use when generating text reasoning models
|
|
1281
|
+
*/
|
|
1282
|
+
reasoning_effort?: 'none' | 'minimal' | 'low' | 'medium' | 'high';
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
|
|
751
1286
|
/**
|
|
752
1287
|
* A ToolRule that only allows a child tool to be called if the parent has been
|
|
753
1288
|
* called.
|
|
@@ -808,411 +1343,374 @@ export interface RequiresApprovalToolRule {
|
|
|
808
1343
|
type?: 'requires_approval';
|
|
809
1344
|
}
|
|
810
1345
|
|
|
811
|
-
/**
|
|
812
|
-
* Represents a terminal tool rule configuration where if this tool gets called, it
|
|
813
|
-
* must end the agent loop.
|
|
814
|
-
*/
|
|
815
|
-
export interface TerminalToolRule {
|
|
816
|
-
/**
|
|
817
|
-
* The name of the tool. Must exist in the database for the user's organization.
|
|
818
|
-
*/
|
|
819
|
-
tool_name: string;
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* Optional template string (ignored).
|
|
823
|
-
*/
|
|
824
|
-
prompt_template?: string | null;
|
|
825
|
-
|
|
826
|
-
type?: 'exit_loop';
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
/**
|
|
830
|
-
* Response format for plain text responses.
|
|
831
|
-
*/
|
|
832
|
-
export interface TextResponseFormat {
|
|
833
|
-
/**
|
|
834
|
-
* The type of the response format.
|
|
835
|
-
*/
|
|
836
|
-
type?: 'text';
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export type AgentListResponse = Array<AgentState>;
|
|
840
|
-
|
|
841
|
-
export type AgentDeleteResponse = unknown;
|
|
842
|
-
|
|
843
|
-
export type AgentCountResponse = number;
|
|
844
|
-
|
|
845
|
-
export type AgentExportResponse = string;
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* Response model for imported agents
|
|
849
|
-
*/
|
|
850
|
-
export interface AgentImportResponse {
|
|
851
|
-
/**
|
|
852
|
-
* List of IDs of the imported agents
|
|
853
|
-
*/
|
|
854
|
-
agent_ids: Array<string>;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
export type AgentListGroupsResponse = Array<GroupsAPI.Group>;
|
|
858
|
-
|
|
859
|
-
export interface AgentMigrateResponse {
|
|
860
|
-
success: true;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* Overview of the context window, including the number of messages and tokens.
|
|
865
|
-
*/
|
|
866
|
-
export interface AgentRetrieveContextResponse {
|
|
867
|
-
/**
|
|
868
|
-
* The current number of tokens in the context window.
|
|
869
|
-
*/
|
|
870
|
-
context_window_size_current: number;
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* The maximum amount of tokens the context window can hold.
|
|
874
|
-
*/
|
|
875
|
-
context_window_size_max: number;
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* The content of the core memory.
|
|
879
|
-
*/
|
|
880
|
-
core_memory: string;
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* The metadata summary of the external memory sources (archival + recall
|
|
884
|
-
* metadata).
|
|
885
|
-
*/
|
|
886
|
-
external_memory_summary: string;
|
|
887
|
-
|
|
1346
|
+
/**
|
|
1347
|
+
* Represents a terminal tool rule configuration where if this tool gets called, it
|
|
1348
|
+
* must end the agent loop.
|
|
1349
|
+
*/
|
|
1350
|
+
export interface TerminalToolRule {
|
|
888
1351
|
/**
|
|
889
|
-
* The
|
|
1352
|
+
* The name of the tool. Must exist in the database for the user's organization.
|
|
890
1353
|
*/
|
|
891
|
-
|
|
1354
|
+
tool_name: string;
|
|
892
1355
|
|
|
893
1356
|
/**
|
|
894
|
-
*
|
|
1357
|
+
* Optional template string (ignored).
|
|
895
1358
|
*/
|
|
896
|
-
|
|
1359
|
+
prompt_template?: string | null;
|
|
1360
|
+
|
|
1361
|
+
type?: 'exit_loop';
|
|
1362
|
+
}
|
|
897
1363
|
|
|
1364
|
+
/**
|
|
1365
|
+
* Response format for plain text responses.
|
|
1366
|
+
*/
|
|
1367
|
+
export interface TextResponseFormat {
|
|
898
1368
|
/**
|
|
899
|
-
* The
|
|
1369
|
+
* The type of the response format.
|
|
900
1370
|
*/
|
|
901
|
-
|
|
1371
|
+
type?: 'text';
|
|
1372
|
+
}
|
|
902
1373
|
|
|
1374
|
+
/**
|
|
1375
|
+
* Together AI model configuration (OpenAI-compatible).
|
|
1376
|
+
*/
|
|
1377
|
+
export interface TogetherModelSettings {
|
|
903
1378
|
/**
|
|
904
|
-
* The number of
|
|
1379
|
+
* The maximum number of tokens the model can generate.
|
|
905
1380
|
*/
|
|
906
|
-
|
|
1381
|
+
max_output_tokens?: number;
|
|
907
1382
|
|
|
908
1383
|
/**
|
|
909
|
-
*
|
|
1384
|
+
* Whether to enable parallel tool calling.
|
|
910
1385
|
*/
|
|
911
|
-
|
|
1386
|
+
parallel_tool_calls?: boolean;
|
|
912
1387
|
|
|
913
1388
|
/**
|
|
914
|
-
* The
|
|
1389
|
+
* The type of the provider.
|
|
915
1390
|
*/
|
|
916
|
-
|
|
1391
|
+
provider_type?: 'together';
|
|
917
1392
|
|
|
918
1393
|
/**
|
|
919
|
-
* The
|
|
920
|
-
* metadata).
|
|
1394
|
+
* The response format for the model.
|
|
921
1395
|
*/
|
|
922
|
-
|
|
1396
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
923
1397
|
|
|
924
1398
|
/**
|
|
925
|
-
* The
|
|
1399
|
+
* The temperature of the model.
|
|
926
1400
|
*/
|
|
927
|
-
|
|
1401
|
+
temperature?: number;
|
|
1402
|
+
}
|
|
928
1403
|
|
|
1404
|
+
/**
|
|
1405
|
+
* xAI model configuration (OpenAI-compatible).
|
|
1406
|
+
*/
|
|
1407
|
+
export interface XaiModelSettings {
|
|
929
1408
|
/**
|
|
930
|
-
* The number of tokens
|
|
1409
|
+
* The maximum number of tokens the model can generate.
|
|
931
1410
|
*/
|
|
932
|
-
|
|
1411
|
+
max_output_tokens?: number;
|
|
933
1412
|
|
|
934
1413
|
/**
|
|
935
|
-
*
|
|
1414
|
+
* Whether to enable parallel tool calling.
|
|
936
1415
|
*/
|
|
937
|
-
|
|
1416
|
+
parallel_tool_calls?: boolean;
|
|
938
1417
|
|
|
939
1418
|
/**
|
|
940
|
-
* The
|
|
1419
|
+
* The type of the provider.
|
|
941
1420
|
*/
|
|
942
|
-
|
|
1421
|
+
provider_type?: 'xai';
|
|
943
1422
|
|
|
944
1423
|
/**
|
|
945
|
-
* The
|
|
1424
|
+
* The response format for the model.
|
|
946
1425
|
*/
|
|
947
|
-
|
|
1426
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
948
1427
|
|
|
949
1428
|
/**
|
|
950
|
-
* The
|
|
1429
|
+
* The temperature of the model.
|
|
951
1430
|
*/
|
|
952
|
-
|
|
1431
|
+
temperature?: number;
|
|
953
1432
|
}
|
|
954
1433
|
|
|
955
|
-
export
|
|
956
|
-
export interface FunctionsDefinition {
|
|
957
|
-
function: FunctionsDefinition.Function;
|
|
958
|
-
|
|
959
|
-
type: 'function';
|
|
960
|
-
|
|
961
|
-
[k: string]: unknown;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
export namespace FunctionsDefinition {
|
|
965
|
-
export interface Function {
|
|
966
|
-
name: string;
|
|
967
|
-
|
|
968
|
-
description?: string | null;
|
|
969
|
-
|
|
970
|
-
parameters?: { [key: string]: unknown } | null;
|
|
971
|
-
|
|
972
|
-
strict?: boolean | null;
|
|
973
|
-
|
|
974
|
-
[k: string]: unknown;
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
1434
|
+
export type AgentDeleteResponse = unknown;
|
|
978
1435
|
|
|
979
|
-
export
|
|
980
|
-
agents: Array<AgentState>;
|
|
1436
|
+
export type AgentExportFileResponse = string;
|
|
981
1437
|
|
|
982
|
-
|
|
1438
|
+
/**
|
|
1439
|
+
* Response model for imported agents
|
|
1440
|
+
*/
|
|
1441
|
+
export interface AgentImportFileResponse {
|
|
1442
|
+
/**
|
|
1443
|
+
* List of IDs of the imported agents
|
|
1444
|
+
*/
|
|
1445
|
+
agent_ids: Array<string>;
|
|
983
1446
|
}
|
|
984
1447
|
|
|
985
1448
|
export interface AgentCreateParams {
|
|
986
1449
|
/**
|
|
987
|
-
*
|
|
1450
|
+
* The type of agent.
|
|
988
1451
|
*/
|
|
989
1452
|
agent_type?: AgentType;
|
|
990
1453
|
|
|
991
1454
|
/**
|
|
992
|
-
*
|
|
1455
|
+
* @deprecated Deprecated: No longer used. The base template id of the agent.
|
|
993
1456
|
*/
|
|
994
1457
|
base_template_id?: string | null;
|
|
995
1458
|
|
|
996
1459
|
/**
|
|
997
|
-
*
|
|
1460
|
+
* The ids of the blocks used by the agent.
|
|
998
1461
|
*/
|
|
999
1462
|
block_ids?: Array<string> | null;
|
|
1000
1463
|
|
|
1001
1464
|
/**
|
|
1002
|
-
*
|
|
1465
|
+
* The context window limit used by the agent.
|
|
1003
1466
|
*/
|
|
1004
1467
|
context_window_limit?: number | null;
|
|
1005
1468
|
|
|
1006
1469
|
/**
|
|
1007
|
-
*
|
|
1470
|
+
* The description of the agent.
|
|
1008
1471
|
*/
|
|
1009
1472
|
description?: string | null;
|
|
1010
1473
|
|
|
1011
1474
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
* the format provider/model-name.
|
|
1475
|
+
* The embedding model handle used by the agent (format: provider/model-name).
|
|
1014
1476
|
*/
|
|
1015
1477
|
embedding?: string | null;
|
|
1016
1478
|
|
|
1017
1479
|
/**
|
|
1018
|
-
*
|
|
1480
|
+
* @deprecated Deprecated: No longer used. The embedding chunk size used by the
|
|
1481
|
+
* agent.
|
|
1019
1482
|
*/
|
|
1020
1483
|
embedding_chunk_size?: number | null;
|
|
1021
1484
|
|
|
1022
1485
|
/**
|
|
1023
|
-
*
|
|
1024
|
-
* parameters.
|
|
1486
|
+
* Configuration for embedding model connection and processing parameters.
|
|
1025
1487
|
*/
|
|
1026
1488
|
embedding_config?: ModelsAPI.EmbeddingConfig | null;
|
|
1027
1489
|
|
|
1028
1490
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
* model.
|
|
1491
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning instead.
|
|
1492
|
+
* Whether to enable internal extended thinking step for a reasoner model.
|
|
1031
1493
|
*/
|
|
1032
1494
|
enable_reasoner?: boolean | null;
|
|
1033
1495
|
|
|
1034
1496
|
/**
|
|
1035
|
-
*
|
|
1036
|
-
* thread.
|
|
1497
|
+
* If set to True, memory management will move to a background agent thread.
|
|
1037
1498
|
*/
|
|
1038
1499
|
enable_sleeptime?: boolean | null;
|
|
1039
1500
|
|
|
1040
1501
|
/**
|
|
1041
|
-
*
|
|
1502
|
+
* The ids of the folders used by the agent.
|
|
1503
|
+
*/
|
|
1504
|
+
folder_ids?: Array<string> | null;
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* @deprecated Deprecated: please use the 'create agents from a template' endpoint
|
|
1508
|
+
* instead.
|
|
1042
1509
|
*/
|
|
1043
1510
|
from_template?: string | null;
|
|
1044
1511
|
|
|
1045
1512
|
/**
|
|
1046
|
-
*
|
|
1513
|
+
* @deprecated Deprecated: No longer used. If set to True, the agent will be
|
|
1514
|
+
* hidden.
|
|
1047
1515
|
*/
|
|
1048
1516
|
hidden?: boolean | null;
|
|
1049
1517
|
|
|
1050
1518
|
/**
|
|
1051
|
-
*
|
|
1519
|
+
* The ids of the identities associated with this agent.
|
|
1052
1520
|
*/
|
|
1053
1521
|
identity_ids?: Array<string> | null;
|
|
1054
1522
|
|
|
1055
1523
|
/**
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1524
|
+
* If true, attaches the Letta base tool rules (e.g. deny all tools not explicitly
|
|
1525
|
+
* allowed).
|
|
1058
1526
|
*/
|
|
1059
1527
|
include_base_tool_rules?: boolean | null;
|
|
1060
1528
|
|
|
1061
1529
|
/**
|
|
1062
|
-
*
|
|
1063
|
-
* functions).
|
|
1530
|
+
* If true, attaches the Letta core tools (e.g. core_memory related functions).
|
|
1064
1531
|
*/
|
|
1065
1532
|
include_base_tools?: boolean;
|
|
1066
1533
|
|
|
1067
1534
|
/**
|
|
1068
|
-
*
|
|
1535
|
+
* @deprecated If true, automatically creates and attaches a default data source
|
|
1069
1536
|
* for this agent.
|
|
1070
1537
|
*/
|
|
1071
1538
|
include_default_source?: boolean;
|
|
1072
1539
|
|
|
1073
1540
|
/**
|
|
1074
|
-
*
|
|
1075
|
-
*
|
|
1541
|
+
* If true, attaches the Letta multi-agent tools (e.g. sending a message to another
|
|
1542
|
+
* agent).
|
|
1076
1543
|
*/
|
|
1077
1544
|
include_multi_agent_tools?: boolean;
|
|
1078
1545
|
|
|
1079
1546
|
/**
|
|
1080
|
-
*
|
|
1547
|
+
* The initial set of messages to put in the agent's in-context memory.
|
|
1081
1548
|
*/
|
|
1082
1549
|
initial_message_sequence?: Array<MessageCreate> | null;
|
|
1083
1550
|
|
|
1084
1551
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1552
|
+
* Configuration for Language Model (LLM) connection and generation parameters.
|
|
1553
|
+
*
|
|
1554
|
+
* .. deprecated:: LLMConfig is deprecated and should not be used as an input or
|
|
1555
|
+
* return type in API calls. Use the schemas in letta.schemas.model (ModelSettings,
|
|
1556
|
+
* OpenAIModelSettings, etc.) instead. For conversion, use the \_to_model() method
|
|
1557
|
+
* or Model.\_from_llm_config() method.
|
|
1087
1558
|
*/
|
|
1088
1559
|
llm_config?: ModelsAPI.LlmConfig | null;
|
|
1089
1560
|
|
|
1090
1561
|
/**
|
|
1091
|
-
*
|
|
1092
|
-
*
|
|
1562
|
+
* Maximum number of files that can be open at once for this agent. Setting this
|
|
1563
|
+
* too high may exceed the context window, which will break the agent.
|
|
1093
1564
|
*/
|
|
1094
1565
|
max_files_open?: number | null;
|
|
1095
1566
|
|
|
1096
1567
|
/**
|
|
1097
|
-
*
|
|
1098
|
-
*
|
|
1568
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning tokens instead.
|
|
1569
|
+
* The maximum number of tokens to generate for reasoning step.
|
|
1099
1570
|
*/
|
|
1100
1571
|
max_reasoning_tokens?: number | null;
|
|
1101
1572
|
|
|
1102
1573
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1574
|
+
* @deprecated Deprecated: Use `model` field to configure max output tokens
|
|
1575
|
+
* instead. The maximum number of tokens to generate, including reasoning step.
|
|
1105
1576
|
*/
|
|
1106
1577
|
max_tokens?: number | null;
|
|
1107
1578
|
|
|
1108
1579
|
/**
|
|
1109
|
-
*
|
|
1580
|
+
* The blocks to create in the agent's in-context memory.
|
|
1110
1581
|
*/
|
|
1111
|
-
memory_blocks?: Array<
|
|
1582
|
+
memory_blocks?: Array<BlocksBlocksAPI.CreateBlock> | null;
|
|
1112
1583
|
|
|
1113
1584
|
/**
|
|
1114
|
-
*
|
|
1585
|
+
* @deprecated Deprecated: Only relevant for creating agents from a template. Use
|
|
1586
|
+
* the 'create agents from a template' endpoint instead.
|
|
1115
1587
|
*/
|
|
1116
1588
|
memory_variables?: { [key: string]: string } | null;
|
|
1117
1589
|
|
|
1118
1590
|
/**
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1591
|
+
* If set to True, the agent will not remember previous messages (though the agent
|
|
1592
|
+
* will still retain state via core memory blocks and archival/recall memory). Not
|
|
1593
|
+
* recommended unless you have an advanced use case.
|
|
1122
1594
|
*/
|
|
1123
1595
|
message_buffer_autoclear?: boolean;
|
|
1124
1596
|
|
|
1125
1597
|
/**
|
|
1126
|
-
*
|
|
1598
|
+
* The metadata of the agent.
|
|
1127
1599
|
*/
|
|
1128
1600
|
metadata?: { [key: string]: unknown } | null;
|
|
1129
1601
|
|
|
1130
1602
|
/**
|
|
1131
|
-
*
|
|
1132
|
-
* format provider/model-name, as an alternative to specifying llm_config.
|
|
1603
|
+
* The model handle for the agent to use (format: provider/model-name).
|
|
1133
1604
|
*/
|
|
1134
1605
|
model?: string | null;
|
|
1135
1606
|
|
|
1136
1607
|
/**
|
|
1137
|
-
*
|
|
1608
|
+
* The model settings for the agent.
|
|
1609
|
+
*/
|
|
1610
|
+
model_settings?:
|
|
1611
|
+
| OpenAIModelSettings
|
|
1612
|
+
| AnthropicModelSettings
|
|
1613
|
+
| GoogleAIModelSettings
|
|
1614
|
+
| GoogleVertexModelSettings
|
|
1615
|
+
| AzureModelSettings
|
|
1616
|
+
| XaiModelSettings
|
|
1617
|
+
| GroqModelSettings
|
|
1618
|
+
| DeepseekModelSettings
|
|
1619
|
+
| TogetherModelSettings
|
|
1620
|
+
| BedrockModelSettings
|
|
1621
|
+
| null;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* The name of the agent.
|
|
1138
1625
|
*/
|
|
1139
1626
|
name?: string;
|
|
1140
1627
|
|
|
1141
1628
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
*
|
|
1629
|
+
* @deprecated Deprecated: Use `model` field to configure parallel tool calls
|
|
1630
|
+
* instead. If set to True, enables parallel tool calling.
|
|
1631
|
+
*/
|
|
1632
|
+
parallel_tool_calls?: boolean | null;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* The per-file view window character limit for this agent. Setting this too high
|
|
1636
|
+
* may exceed the context window, which will break the agent.
|
|
1144
1637
|
*/
|
|
1145
1638
|
per_file_view_window_char_limit?: number | null;
|
|
1146
1639
|
|
|
1147
1640
|
/**
|
|
1148
|
-
* @deprecated
|
|
1149
|
-
*
|
|
1150
|
-
*
|
|
1641
|
+
* @deprecated Deprecated: Project should now be passed via the X-Project header
|
|
1642
|
+
* instead of in the request body. If using the SDK, this can be done via the
|
|
1643
|
+
* x_project parameter.
|
|
1151
1644
|
*/
|
|
1152
1645
|
project?: string | null;
|
|
1153
1646
|
|
|
1154
1647
|
/**
|
|
1155
|
-
*
|
|
1648
|
+
* @deprecated Deprecated: No longer used. The id of the project the agent belongs
|
|
1649
|
+
* to.
|
|
1156
1650
|
*/
|
|
1157
1651
|
project_id?: string | null;
|
|
1158
1652
|
|
|
1159
1653
|
/**
|
|
1160
|
-
*
|
|
1654
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning instead.
|
|
1655
|
+
* Whether to enable reasoning for this agent.
|
|
1161
1656
|
*/
|
|
1162
1657
|
reasoning?: boolean | null;
|
|
1163
1658
|
|
|
1164
1659
|
/**
|
|
1165
|
-
*
|
|
1660
|
+
* The response format for the agent.
|
|
1166
1661
|
*/
|
|
1167
1662
|
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
1168
1663
|
|
|
1169
1664
|
/**
|
|
1170
|
-
*
|
|
1665
|
+
* The environment variables for tool execution specific to this agent.
|
|
1171
1666
|
*/
|
|
1172
1667
|
secrets?: { [key: string]: string } | null;
|
|
1173
1668
|
|
|
1174
1669
|
/**
|
|
1175
|
-
*
|
|
1670
|
+
* @deprecated Deprecated: Use `folder_ids` field instead. The ids of the sources
|
|
1671
|
+
* used by the agent.
|
|
1176
1672
|
*/
|
|
1177
1673
|
source_ids?: Array<string> | null;
|
|
1178
1674
|
|
|
1179
1675
|
/**
|
|
1180
|
-
*
|
|
1676
|
+
* The system prompt used by the agent.
|
|
1181
1677
|
*/
|
|
1182
1678
|
system?: string | null;
|
|
1183
1679
|
|
|
1184
1680
|
/**
|
|
1185
|
-
*
|
|
1681
|
+
* The tags associated with the agent.
|
|
1186
1682
|
*/
|
|
1187
1683
|
tags?: Array<string> | null;
|
|
1188
1684
|
|
|
1189
1685
|
/**
|
|
1190
|
-
*
|
|
1686
|
+
* @deprecated Deprecated: No longer used.
|
|
1191
1687
|
*/
|
|
1192
1688
|
template?: boolean;
|
|
1193
1689
|
|
|
1194
1690
|
/**
|
|
1195
|
-
*
|
|
1691
|
+
* @deprecated Deprecated: No longer used. The id of the template the agent belongs
|
|
1692
|
+
* to.
|
|
1196
1693
|
*/
|
|
1197
1694
|
template_id?: string | null;
|
|
1198
1695
|
|
|
1199
1696
|
/**
|
|
1200
|
-
*
|
|
1697
|
+
* The timezone of the agent (IANA format).
|
|
1201
1698
|
*/
|
|
1202
1699
|
timezone?: string | null;
|
|
1203
1700
|
|
|
1204
1701
|
/**
|
|
1205
|
-
*
|
|
1702
|
+
* @deprecated Deprecated: Use `secrets` field instead. Environment variables for
|
|
1703
|
+
* tool execution.
|
|
1206
1704
|
*/
|
|
1207
1705
|
tool_exec_environment_variables?: { [key: string]: string } | null;
|
|
1208
1706
|
|
|
1209
1707
|
/**
|
|
1210
|
-
*
|
|
1708
|
+
* The ids of the tools used by the agent.
|
|
1211
1709
|
*/
|
|
1212
1710
|
tool_ids?: Array<string> | null;
|
|
1213
1711
|
|
|
1214
1712
|
/**
|
|
1215
|
-
*
|
|
1713
|
+
* The tool rules governing the agent.
|
|
1216
1714
|
*/
|
|
1217
1715
|
tool_rules?: Array<
|
|
1218
1716
|
| ChildToolRule
|
|
@@ -1227,21 +1725,31 @@ export interface AgentCreateParams {
|
|
|
1227
1725
|
> | null;
|
|
1228
1726
|
|
|
1229
1727
|
/**
|
|
1230
|
-
*
|
|
1728
|
+
* The tools used by the agent.
|
|
1231
1729
|
*/
|
|
1232
1730
|
tools?: Array<string> | null;
|
|
1233
|
-
|
|
1234
|
-
/**
|
|
1235
|
-
* Header param: The project slug to associate with the agent (cloud only).
|
|
1236
|
-
*/
|
|
1237
|
-
'X-Project'?: string;
|
|
1238
1731
|
}
|
|
1239
1732
|
|
|
1240
1733
|
export interface AgentRetrieveParams {
|
|
1734
|
+
/**
|
|
1735
|
+
* Specify which relational fields to include in the response. No relationships are
|
|
1736
|
+
* included by default.
|
|
1737
|
+
*/
|
|
1738
|
+
include?: Array<
|
|
1739
|
+
| 'agent.blocks'
|
|
1740
|
+
| 'agent.identities'
|
|
1741
|
+
| 'agent.managed_group'
|
|
1742
|
+
| 'agent.secrets'
|
|
1743
|
+
| 'agent.sources'
|
|
1744
|
+
| 'agent.tags'
|
|
1745
|
+
| 'agent.tools'
|
|
1746
|
+
>;
|
|
1747
|
+
|
|
1241
1748
|
/**
|
|
1242
1749
|
* Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include
|
|
1243
1750
|
* in the response. If not provided, all relationships are loaded by default. Using
|
|
1244
|
-
* this can optimize performance by reducing unnecessary joins.
|
|
1751
|
+
* this can optimize performance by reducing unnecessary joins.This is a legacy
|
|
1752
|
+
* parameter, and no longer supported after 1.0.0 SDK versions.
|
|
1245
1753
|
*/
|
|
1246
1754
|
include_relationships?: Array<string> | null;
|
|
1247
1755
|
}
|
|
@@ -1257,14 +1765,18 @@ export interface AgentUpdateParams {
|
|
|
1257
1765
|
*/
|
|
1258
1766
|
block_ids?: Array<string> | null;
|
|
1259
1767
|
|
|
1768
|
+
/**
|
|
1769
|
+
* The context window limit used by the agent.
|
|
1770
|
+
*/
|
|
1771
|
+
context_window_limit?: number | null;
|
|
1772
|
+
|
|
1260
1773
|
/**
|
|
1261
1774
|
* The description of the agent.
|
|
1262
1775
|
*/
|
|
1263
1776
|
description?: string | null;
|
|
1264
1777
|
|
|
1265
1778
|
/**
|
|
1266
|
-
* The embedding
|
|
1267
|
-
* provider/model-name.
|
|
1779
|
+
* The embedding model handle used by the agent (format: provider/model-name).
|
|
1268
1780
|
*/
|
|
1269
1781
|
embedding?: string | null;
|
|
1270
1782
|
|
|
@@ -1278,6 +1790,11 @@ export interface AgentUpdateParams {
|
|
|
1278
1790
|
*/
|
|
1279
1791
|
enable_sleeptime?: boolean | null;
|
|
1280
1792
|
|
|
1793
|
+
/**
|
|
1794
|
+
* The ids of the folders used by the agent.
|
|
1795
|
+
*/
|
|
1796
|
+
folder_ids?: Array<string> | null;
|
|
1797
|
+
|
|
1281
1798
|
/**
|
|
1282
1799
|
* If set to True, the agent will be hidden.
|
|
1283
1800
|
*/
|
|
@@ -1298,8 +1815,18 @@ export interface AgentUpdateParams {
|
|
|
1298
1815
|
*/
|
|
1299
1816
|
last_run_duration_ms?: number | null;
|
|
1300
1817
|
|
|
1818
|
+
/**
|
|
1819
|
+
* The stop reason from the agent's last run.
|
|
1820
|
+
*/
|
|
1821
|
+
last_stop_reason?: RunsAPI.StopReasonType | null;
|
|
1822
|
+
|
|
1301
1823
|
/**
|
|
1302
1824
|
* Configuration for Language Model (LLM) connection and generation parameters.
|
|
1825
|
+
*
|
|
1826
|
+
* .. deprecated:: LLMConfig is deprecated and should not be used as an input or
|
|
1827
|
+
* return type in API calls. Use the schemas in letta.schemas.model (ModelSettings,
|
|
1828
|
+
* OpenAIModelSettings, etc.) instead. For conversion, use the \_to_model() method
|
|
1829
|
+
* or Model.\_from_llm_config() method.
|
|
1303
1830
|
*/
|
|
1304
1831
|
llm_config?: ModelsAPI.LlmConfig | null;
|
|
1305
1832
|
|
|
@@ -1309,6 +1836,12 @@ export interface AgentUpdateParams {
|
|
|
1309
1836
|
*/
|
|
1310
1837
|
max_files_open?: number | null;
|
|
1311
1838
|
|
|
1839
|
+
/**
|
|
1840
|
+
* @deprecated Deprecated: Use `model` field to configure max output tokens
|
|
1841
|
+
* instead. The maximum number of tokens to generate, including reasoning step.
|
|
1842
|
+
*/
|
|
1843
|
+
max_tokens?: number | null;
|
|
1844
|
+
|
|
1312
1845
|
/**
|
|
1313
1846
|
* If set to True, the agent will not remember previous messages (though the agent
|
|
1314
1847
|
* will still retain state via core memory blocks and archival/recall memory). Not
|
|
@@ -1327,16 +1860,37 @@ export interface AgentUpdateParams {
|
|
|
1327
1860
|
metadata?: { [key: string]: unknown } | null;
|
|
1328
1861
|
|
|
1329
1862
|
/**
|
|
1330
|
-
* The
|
|
1331
|
-
* provider/model-name, as an alternative to specifying llm_config.
|
|
1863
|
+
* The model handle used by the agent (format: provider/model-name).
|
|
1332
1864
|
*/
|
|
1333
1865
|
model?: string | null;
|
|
1334
1866
|
|
|
1867
|
+
/**
|
|
1868
|
+
* The model settings for the agent.
|
|
1869
|
+
*/
|
|
1870
|
+
model_settings?:
|
|
1871
|
+
| OpenAIModelSettings
|
|
1872
|
+
| AnthropicModelSettings
|
|
1873
|
+
| GoogleAIModelSettings
|
|
1874
|
+
| GoogleVertexModelSettings
|
|
1875
|
+
| AzureModelSettings
|
|
1876
|
+
| XaiModelSettings
|
|
1877
|
+
| GroqModelSettings
|
|
1878
|
+
| DeepseekModelSettings
|
|
1879
|
+
| TogetherModelSettings
|
|
1880
|
+
| BedrockModelSettings
|
|
1881
|
+
| null;
|
|
1882
|
+
|
|
1335
1883
|
/**
|
|
1336
1884
|
* The name of the agent.
|
|
1337
1885
|
*/
|
|
1338
1886
|
name?: string | null;
|
|
1339
1887
|
|
|
1888
|
+
/**
|
|
1889
|
+
* @deprecated Deprecated: Use `model` field to configure parallel tool calls
|
|
1890
|
+
* instead. If set to True, enables parallel tool calling.
|
|
1891
|
+
*/
|
|
1892
|
+
parallel_tool_calls?: boolean | null;
|
|
1893
|
+
|
|
1340
1894
|
/**
|
|
1341
1895
|
* The per-file view window character limit for this agent. Setting this too high
|
|
1342
1896
|
* may exceed the context window, which will break the agent.
|
|
@@ -1349,11 +1903,13 @@ export interface AgentUpdateParams {
|
|
|
1349
1903
|
project_id?: string | null;
|
|
1350
1904
|
|
|
1351
1905
|
/**
|
|
1906
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning instead.
|
|
1352
1907
|
* Whether to enable reasoning for this agent.
|
|
1353
1908
|
*/
|
|
1354
1909
|
reasoning?: boolean | null;
|
|
1355
1910
|
|
|
1356
1911
|
/**
|
|
1912
|
+
* @deprecated Deprecated: Use `model` field to configure response format instead.
|
|
1357
1913
|
* The response format for the agent.
|
|
1358
1914
|
*/
|
|
1359
1915
|
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
@@ -1364,7 +1920,8 @@ export interface AgentUpdateParams {
|
|
|
1364
1920
|
secrets?: { [key: string]: string } | null;
|
|
1365
1921
|
|
|
1366
1922
|
/**
|
|
1367
|
-
* The ids of the sources
|
|
1923
|
+
* @deprecated Deprecated: Use `folder_ids` field instead. The ids of the sources
|
|
1924
|
+
* used by the agent.
|
|
1368
1925
|
*/
|
|
1369
1926
|
source_ids?: Array<string> | null;
|
|
1370
1927
|
|
|
@@ -1414,12 +1971,7 @@ export interface AgentUpdateParams {
|
|
|
1414
1971
|
> | null;
|
|
1415
1972
|
}
|
|
1416
1973
|
|
|
1417
|
-
export interface AgentListParams {
|
|
1418
|
-
/**
|
|
1419
|
-
* Cursor for pagination
|
|
1420
|
-
*/
|
|
1421
|
-
after?: string | null;
|
|
1422
|
-
|
|
1974
|
+
export interface AgentListParams extends ArrayPageParams {
|
|
1423
1975
|
/**
|
|
1424
1976
|
* @deprecated Whether to sort agents oldest to newest (True) or newest to oldest
|
|
1425
1977
|
* (False, default)
|
|
@@ -1431,11 +1983,6 @@ export interface AgentListParams {
|
|
|
1431
1983
|
*/
|
|
1432
1984
|
base_template_id?: string | null;
|
|
1433
1985
|
|
|
1434
|
-
/**
|
|
1435
|
-
* Cursor for pagination
|
|
1436
|
-
*/
|
|
1437
|
-
before?: string | null;
|
|
1438
|
-
|
|
1439
1986
|
/**
|
|
1440
1987
|
* Search agents by identifier keys
|
|
1441
1988
|
*/
|
|
@@ -1446,17 +1993,32 @@ export interface AgentListParams {
|
|
|
1446
1993
|
*/
|
|
1447
1994
|
identity_id?: string | null;
|
|
1448
1995
|
|
|
1996
|
+
/**
|
|
1997
|
+
* Specify which relational fields to include in the response. No relationships are
|
|
1998
|
+
* included by default.
|
|
1999
|
+
*/
|
|
2000
|
+
include?: Array<
|
|
2001
|
+
| 'agent.blocks'
|
|
2002
|
+
| 'agent.identities'
|
|
2003
|
+
| 'agent.managed_group'
|
|
2004
|
+
| 'agent.secrets'
|
|
2005
|
+
| 'agent.sources'
|
|
2006
|
+
| 'agent.tags'
|
|
2007
|
+
| 'agent.tools'
|
|
2008
|
+
>;
|
|
2009
|
+
|
|
1449
2010
|
/**
|
|
1450
2011
|
* Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include
|
|
1451
2012
|
* in the response. If not provided, all relationships are loaded by default. Using
|
|
1452
|
-
* this can optimize performance by reducing unnecessary joins.
|
|
2013
|
+
* this can optimize performance by reducing unnecessary joins.This is a legacy
|
|
2014
|
+
* parameter, and no longer supported after 1.0.0 SDK versions.
|
|
1453
2015
|
*/
|
|
1454
2016
|
include_relationships?: Array<string> | null;
|
|
1455
2017
|
|
|
1456
2018
|
/**
|
|
1457
|
-
*
|
|
2019
|
+
* Filter agents by their last stop reason.
|
|
1458
2020
|
*/
|
|
1459
|
-
|
|
2021
|
+
last_stop_reason?: RunsAPI.StopReasonType | null;
|
|
1460
2022
|
|
|
1461
2023
|
/**
|
|
1462
2024
|
* If True, only returns agents that match ALL given tags. Otherwise, return agents
|
|
@@ -1469,17 +2031,6 @@ export interface AgentListParams {
|
|
|
1469
2031
|
*/
|
|
1470
2032
|
name?: string | null;
|
|
1471
2033
|
|
|
1472
|
-
/**
|
|
1473
|
-
* Sort order for agents by creation time. 'asc' for oldest first, 'desc' for
|
|
1474
|
-
* newest first
|
|
1475
|
-
*/
|
|
1476
|
-
order?: 'asc' | 'desc';
|
|
1477
|
-
|
|
1478
|
-
/**
|
|
1479
|
-
* Field to sort by
|
|
1480
|
-
*/
|
|
1481
|
-
order_by?: 'created_at' | 'last_run_completion';
|
|
1482
|
-
|
|
1483
2034
|
/**
|
|
1484
2035
|
* Search agents by project ID - this will default to your default project on cloud
|
|
1485
2036
|
*/
|
|
@@ -1507,254 +2058,137 @@ export interface AgentListParams {
|
|
|
1507
2058
|
template_id?: string | null;
|
|
1508
2059
|
}
|
|
1509
2060
|
|
|
1510
|
-
export interface
|
|
2061
|
+
export interface AgentExportFileParams {
|
|
2062
|
+
/**
|
|
2063
|
+
* @deprecated
|
|
2064
|
+
*/
|
|
1511
2065
|
max_steps?: number;
|
|
1512
2066
|
|
|
1513
2067
|
/**
|
|
1514
|
-
* If
|
|
1515
|
-
* using the new multi-entity format
|
|
2068
|
+
* @deprecated If True, exports using the legacy single-agent 'v1' format with
|
|
2069
|
+
* inline tools/blocks. If False, exports using the new multi-entity 'v2' format,
|
|
2070
|
+
* with separate agents, tools, blocks, files, etc.
|
|
1516
2071
|
*/
|
|
1517
2072
|
use_legacy_format?: boolean;
|
|
1518
2073
|
}
|
|
1519
2074
|
|
|
1520
|
-
export interface
|
|
2075
|
+
export interface AgentImportFileParams {
|
|
1521
2076
|
/**
|
|
1522
2077
|
* Body param:
|
|
1523
2078
|
*/
|
|
1524
2079
|
file: Uploadable;
|
|
1525
2080
|
|
|
1526
2081
|
/**
|
|
1527
|
-
* Body param: If set to True, appends "\_copy" to the end of the agent
|
|
2082
|
+
* @deprecated Body param: If set to True, appends "\_copy" to the end of the agent
|
|
2083
|
+
* name.
|
|
1528
2084
|
*/
|
|
1529
2085
|
append_copy_suffix?: boolean;
|
|
1530
2086
|
|
|
1531
2087
|
/**
|
|
1532
|
-
* Body param:
|
|
1533
|
-
* execution.
|
|
2088
|
+
* Body param: Embedding handle to override with.
|
|
1534
2089
|
*/
|
|
1535
|
-
|
|
2090
|
+
embedding?: string | null;
|
|
1536
2091
|
|
|
1537
2092
|
/**
|
|
1538
|
-
* Body param:
|
|
2093
|
+
* @deprecated Body param: Environment variables as a JSON string to pass to the
|
|
2094
|
+
* agent for tool execution. Use 'secrets' instead.
|
|
1539
2095
|
*/
|
|
1540
|
-
|
|
2096
|
+
env_vars_json?: string | null;
|
|
1541
2097
|
|
|
1542
2098
|
/**
|
|
1543
|
-
* Body param: If
|
|
1544
|
-
* by the uploaded tool definitions. Note that Letta core tools can never be
|
|
1545
|
-
* updated externally.
|
|
2099
|
+
* Body param: If provided, overrides the agent name with this value.
|
|
1546
2100
|
*/
|
|
1547
|
-
|
|
2101
|
+
name?: string | null;
|
|
1548
2102
|
|
|
1549
2103
|
/**
|
|
1550
|
-
* Body param:
|
|
2104
|
+
* @deprecated Body param: Override import with specific embedding handle. Use
|
|
2105
|
+
* 'embedding' instead.
|
|
1551
2106
|
*/
|
|
1552
|
-
|
|
2107
|
+
override_embedding_handle?: string | null;
|
|
1553
2108
|
|
|
1554
2109
|
/**
|
|
1555
|
-
* Body param: If set to True,
|
|
2110
|
+
* Body param: If set to True, existing tools can get their source code overwritten
|
|
2111
|
+
* by the uploaded tool definitions. Note that Letta core tools can never be
|
|
2112
|
+
* updated externally.
|
|
1556
2113
|
*/
|
|
1557
|
-
|
|
2114
|
+
override_existing_tools?: boolean;
|
|
1558
2115
|
|
|
1559
2116
|
/**
|
|
1560
|
-
*
|
|
2117
|
+
* @deprecated Body param: If provided, overrides the agent name with this value.
|
|
2118
|
+
* Use 'name' instead.
|
|
1561
2119
|
*/
|
|
1562
|
-
|
|
1563
|
-
}
|
|
2120
|
+
override_name?: string | null;
|
|
1564
2121
|
|
|
1565
|
-
export interface AgentListGroupsParams {
|
|
1566
2122
|
/**
|
|
1567
|
-
*
|
|
2123
|
+
* @deprecated Body param: The project ID to associate the uploaded agent with.
|
|
2124
|
+
* This is now passed via headers.
|
|
1568
2125
|
*/
|
|
1569
|
-
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
export interface AgentMigrateParams {
|
|
1573
|
-
preserve_core_memories: boolean;
|
|
1574
|
-
|
|
1575
|
-
to_template: string;
|
|
2126
|
+
project_id?: string | null;
|
|
1576
2127
|
|
|
1577
2128
|
/**
|
|
1578
|
-
*
|
|
1579
|
-
* using the template's variables
|
|
2129
|
+
* Body param: Secrets as a JSON string to pass to the agent for tool execution.
|
|
1580
2130
|
*/
|
|
1581
|
-
|
|
1582
|
-
}
|
|
2131
|
+
secrets?: string | null;
|
|
1583
2132
|
|
|
1584
|
-
export interface AgentResetMessagesParams {
|
|
1585
2133
|
/**
|
|
1586
|
-
* If
|
|
2134
|
+
* Body param: If set to True, strips all messages from the agent before importing.
|
|
1587
2135
|
*/
|
|
1588
|
-
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
export interface AgentSearchParams {
|
|
1592
|
-
after?: string | null;
|
|
1593
|
-
|
|
1594
|
-
ascending?: boolean;
|
|
1595
|
-
|
|
1596
|
-
combinator?: 'AND';
|
|
1597
|
-
|
|
1598
|
-
limit?: number;
|
|
1599
|
-
|
|
1600
|
-
project_id?: string;
|
|
1601
|
-
|
|
1602
|
-
search?: Array<
|
|
1603
|
-
| AgentSearchParams.UnionMember0
|
|
1604
|
-
| AgentSearchParams.UnionMember1
|
|
1605
|
-
| AgentSearchParams.UnionMember2
|
|
1606
|
-
| AgentSearchParams.UnionMember3
|
|
1607
|
-
| AgentSearchParams.UnionMember4
|
|
1608
|
-
>;
|
|
1609
|
-
|
|
1610
|
-
sortBy?: 'created_at' | 'last_run_completion';
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
export namespace AgentSearchParams {
|
|
1614
|
-
export interface UnionMember0 {
|
|
1615
|
-
field: 'version';
|
|
1616
|
-
|
|
1617
|
-
value: string;
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
export interface UnionMember1 {
|
|
1621
|
-
field: 'name';
|
|
1622
|
-
|
|
1623
|
-
operator: 'eq' | 'contains';
|
|
1624
|
-
|
|
1625
|
-
value: string;
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
export interface UnionMember2 {
|
|
1629
|
-
field: 'tags';
|
|
1630
|
-
|
|
1631
|
-
operator: 'contains';
|
|
1632
|
-
|
|
1633
|
-
value: Array<string>;
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
export interface UnionMember3 {
|
|
1637
|
-
field: 'identity';
|
|
1638
|
-
|
|
1639
|
-
operator: 'eq';
|
|
1640
|
-
|
|
1641
|
-
value: string;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
export interface UnionMember4 {
|
|
1645
|
-
field: 'templateName';
|
|
1646
|
-
|
|
1647
|
-
operator: 'eq';
|
|
1648
|
-
|
|
1649
|
-
value: string;
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
2136
|
+
strip_messages?: boolean;
|
|
1652
2137
|
|
|
1653
|
-
export interface AgentSummarizeParams {
|
|
1654
2138
|
/**
|
|
1655
|
-
*
|
|
2139
|
+
* Header param:
|
|
1656
2140
|
*/
|
|
1657
|
-
|
|
2141
|
+
'x-override-embedding-model'?: string;
|
|
1658
2142
|
}
|
|
1659
2143
|
|
|
2144
|
+
Agents.Messages = Messages;
|
|
2145
|
+
Agents.Blocks = Blocks;
|
|
1660
2146
|
Agents.Tools = Tools;
|
|
1661
|
-
Agents.Sources = Sources;
|
|
1662
2147
|
Agents.Folders = Folders;
|
|
1663
2148
|
Agents.Files = Files;
|
|
1664
|
-
Agents.
|
|
1665
|
-
Agents.
|
|
1666
|
-
Agents.
|
|
2149
|
+
Agents.Groups = Groups;
|
|
2150
|
+
Agents.Archives = Archives;
|
|
2151
|
+
Agents.Identities = Identities;
|
|
1667
2152
|
|
|
1668
2153
|
export declare namespace Agents {
|
|
1669
2154
|
export {
|
|
1670
2155
|
type AgentEnvironmentVariable as AgentEnvironmentVariable,
|
|
1671
2156
|
type AgentState as AgentState,
|
|
1672
2157
|
type AgentType as AgentType,
|
|
2158
|
+
type AnthropicModelSettings as AnthropicModelSettings,
|
|
2159
|
+
type AzureModelSettings as AzureModelSettings,
|
|
2160
|
+
type BedrockModelSettings as BedrockModelSettings,
|
|
1673
2161
|
type ChildToolRule as ChildToolRule,
|
|
1674
2162
|
type ConditionalToolRule as ConditionalToolRule,
|
|
1675
2163
|
type ContinueToolRule as ContinueToolRule,
|
|
2164
|
+
type DeepseekModelSettings as DeepseekModelSettings,
|
|
2165
|
+
type GoogleAIModelSettings as GoogleAIModelSettings,
|
|
2166
|
+
type GoogleVertexModelSettings as GoogleVertexModelSettings,
|
|
2167
|
+
type GroqModelSettings as GroqModelSettings,
|
|
1676
2168
|
type InitToolRule as InitToolRule,
|
|
1677
2169
|
type JsonObjectResponseFormat as JsonObjectResponseFormat,
|
|
1678
2170
|
type JsonSchemaResponseFormat as JsonSchemaResponseFormat,
|
|
1679
2171
|
type LettaMessageContentUnion as LettaMessageContentUnion,
|
|
1680
2172
|
type MaxCountPerStepToolRule as MaxCountPerStepToolRule,
|
|
1681
2173
|
type MessageCreate as MessageCreate,
|
|
2174
|
+
type OpenAIModelSettings as OpenAIModelSettings,
|
|
1682
2175
|
type ParentToolRule as ParentToolRule,
|
|
1683
2176
|
type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule,
|
|
1684
2177
|
type RequiresApprovalToolRule as RequiresApprovalToolRule,
|
|
1685
2178
|
type TerminalToolRule as TerminalToolRule,
|
|
1686
2179
|
type TextResponseFormat as TextResponseFormat,
|
|
1687
|
-
type
|
|
2180
|
+
type TogetherModelSettings as TogetherModelSettings,
|
|
2181
|
+
type XaiModelSettings as XaiModelSettings,
|
|
1688
2182
|
type AgentDeleteResponse as AgentDeleteResponse,
|
|
1689
|
-
type
|
|
1690
|
-
type
|
|
1691
|
-
type
|
|
1692
|
-
type AgentListGroupsResponse as AgentListGroupsResponse,
|
|
1693
|
-
type AgentMigrateResponse as AgentMigrateResponse,
|
|
1694
|
-
type AgentRetrieveContextResponse as AgentRetrieveContextResponse,
|
|
1695
|
-
type AgentSearchResponse as AgentSearchResponse,
|
|
2183
|
+
type AgentExportFileResponse as AgentExportFileResponse,
|
|
2184
|
+
type AgentImportFileResponse as AgentImportFileResponse,
|
|
2185
|
+
type AgentStatesArrayPage as AgentStatesArrayPage,
|
|
1696
2186
|
type AgentCreateParams as AgentCreateParams,
|
|
1697
2187
|
type AgentRetrieveParams as AgentRetrieveParams,
|
|
1698
2188
|
type AgentUpdateParams as AgentUpdateParams,
|
|
1699
2189
|
type AgentListParams as AgentListParams,
|
|
1700
|
-
type
|
|
1701
|
-
type
|
|
1702
|
-
type AgentListGroupsParams as AgentListGroupsParams,
|
|
1703
|
-
type AgentMigrateParams as AgentMigrateParams,
|
|
1704
|
-
type AgentResetMessagesParams as AgentResetMessagesParams,
|
|
1705
|
-
type AgentSearchParams as AgentSearchParams,
|
|
1706
|
-
type AgentSummarizeParams as AgentSummarizeParams,
|
|
1707
|
-
};
|
|
1708
|
-
|
|
1709
|
-
export {
|
|
1710
|
-
Tools as Tools,
|
|
1711
|
-
type ToolListResponse as ToolListResponse,
|
|
1712
|
-
type ToolAttachParams as ToolAttachParams,
|
|
1713
|
-
type ToolDetachParams as ToolDetachParams,
|
|
1714
|
-
type ToolModifyApprovalParams as ToolModifyApprovalParams,
|
|
1715
|
-
};
|
|
1716
|
-
|
|
1717
|
-
export {
|
|
1718
|
-
Sources as Sources,
|
|
1719
|
-
type SourceListResponse as SourceListResponse,
|
|
1720
|
-
type SourceAttachParams as SourceAttachParams,
|
|
1721
|
-
type SourceDetachParams as SourceDetachParams,
|
|
1722
|
-
};
|
|
1723
|
-
|
|
1724
|
-
export {
|
|
1725
|
-
Folders as Folders,
|
|
1726
|
-
type FolderListResponse as FolderListResponse,
|
|
1727
|
-
type FolderAttachParams as FolderAttachParams,
|
|
1728
|
-
type FolderDetachParams as FolderDetachParams,
|
|
1729
|
-
};
|
|
1730
|
-
|
|
1731
|
-
export {
|
|
1732
|
-
Files as Files,
|
|
1733
|
-
type FileListResponse as FileListResponse,
|
|
1734
|
-
type FileCloseResponse as FileCloseResponse,
|
|
1735
|
-
type FileCloseAllResponse as FileCloseAllResponse,
|
|
1736
|
-
type FileOpenResponse as FileOpenResponse,
|
|
1737
|
-
type FileListParams as FileListParams,
|
|
1738
|
-
type FileCloseParams as FileCloseParams,
|
|
1739
|
-
type FileOpenParams as FileOpenParams,
|
|
1740
|
-
};
|
|
1741
|
-
|
|
1742
|
-
export {
|
|
1743
|
-
CoreMemory as CoreMemory,
|
|
1744
|
-
type Memory as Memory,
|
|
1745
|
-
type CoreMemoryRetrieveVariablesResponse as CoreMemoryRetrieveVariablesResponse,
|
|
1746
|
-
};
|
|
1747
|
-
|
|
1748
|
-
export {
|
|
1749
|
-
ArchivalMemory as ArchivalMemory,
|
|
1750
|
-
type ArchivalMemoryCreateResponse as ArchivalMemoryCreateResponse,
|
|
1751
|
-
type ArchivalMemoryListResponse as ArchivalMemoryListResponse,
|
|
1752
|
-
type ArchivalMemoryDeleteResponse as ArchivalMemoryDeleteResponse,
|
|
1753
|
-
type ArchivalMemorySearchResponse as ArchivalMemorySearchResponse,
|
|
1754
|
-
type ArchivalMemoryCreateParams as ArchivalMemoryCreateParams,
|
|
1755
|
-
type ArchivalMemoryListParams as ArchivalMemoryListParams,
|
|
1756
|
-
type ArchivalMemoryDeleteParams as ArchivalMemoryDeleteParams,
|
|
1757
|
-
type ArchivalMemorySearchParams as ArchivalMemorySearchParams,
|
|
2190
|
+
type AgentExportFileParams as AgentExportFileParams,
|
|
2191
|
+
type AgentImportFileParams as AgentImportFileParams,
|
|
1758
2192
|
};
|
|
1759
2193
|
|
|
1760
2194
|
export {
|
|
@@ -1762,16 +2196,19 @@ export declare namespace Agents {
|
|
|
1762
2196
|
type ApprovalCreate as ApprovalCreate,
|
|
1763
2197
|
type ApprovalRequestMessage as ApprovalRequestMessage,
|
|
1764
2198
|
type ApprovalResponseMessage as ApprovalResponseMessage,
|
|
2199
|
+
type ApprovalReturn as ApprovalReturn,
|
|
1765
2200
|
type AssistantMessage as AssistantMessage,
|
|
2201
|
+
type EventMessage as EventMessage,
|
|
1766
2202
|
type HiddenReasoningMessage as HiddenReasoningMessage,
|
|
1767
2203
|
type ImageContent as ImageContent,
|
|
2204
|
+
type InternalMessage as InternalMessage,
|
|
1768
2205
|
type JobStatus as JobStatus,
|
|
1769
2206
|
type JobType as JobType,
|
|
1770
2207
|
type LettaAssistantMessageContentUnion as LettaAssistantMessageContentUnion,
|
|
1771
|
-
type LettaMessageUnion as LettaMessageUnion,
|
|
1772
2208
|
type LettaRequest as LettaRequest,
|
|
1773
2209
|
type LettaResponse as LettaResponse,
|
|
1774
2210
|
type LettaStreamingRequest as LettaStreamingRequest,
|
|
2211
|
+
type LettaStreamingResponse as LettaStreamingResponse,
|
|
1775
2212
|
type LettaUserMessageContentUnion as LettaUserMessageContentUnion,
|
|
1776
2213
|
type Message as Message,
|
|
1777
2214
|
type MessageRole as MessageRole,
|
|
@@ -1781,6 +2218,7 @@ export declare namespace Agents {
|
|
|
1781
2218
|
type ReasoningMessage as ReasoningMessage,
|
|
1782
2219
|
type RedactedReasoningContent as RedactedReasoningContent,
|
|
1783
2220
|
type Run as Run,
|
|
2221
|
+
type SummaryMessage as SummaryMessage,
|
|
1784
2222
|
type SystemMessage as SystemMessage,
|
|
1785
2223
|
type TextContent as TextContent,
|
|
1786
2224
|
type ToolCall as ToolCall,
|
|
@@ -1794,19 +2232,73 @@ export declare namespace Agents {
|
|
|
1794
2232
|
type UpdateSystemMessage as UpdateSystemMessage,
|
|
1795
2233
|
type UpdateUserMessage as UpdateUserMessage,
|
|
1796
2234
|
type UserMessage as UserMessage,
|
|
1797
|
-
type MessageUpdateResponse as MessageUpdateResponse,
|
|
1798
|
-
type MessageListResponse as MessageListResponse,
|
|
1799
2235
|
type MessageCancelResponse as MessageCancelResponse,
|
|
1800
|
-
type
|
|
1801
|
-
type
|
|
1802
|
-
type
|
|
1803
|
-
type
|
|
2236
|
+
type MessagesArrayPage as MessagesArrayPage,
|
|
2237
|
+
type MessageCreateParams as MessageCreateParams,
|
|
2238
|
+
type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming,
|
|
2239
|
+
type MessageCreateParamsStreaming as MessageCreateParamsStreaming,
|
|
1804
2240
|
type MessageListParams as MessageListParams,
|
|
1805
2241
|
type MessageCancelParams as MessageCancelParams,
|
|
1806
|
-
type
|
|
1807
|
-
type
|
|
1808
|
-
type
|
|
1809
|
-
|
|
1810
|
-
|
|
2242
|
+
type MessageCreateAsyncParams as MessageCreateAsyncParams,
|
|
2243
|
+
type MessageResetParams as MessageResetParams,
|
|
2244
|
+
type MessageStreamParams as MessageStreamParams,
|
|
2245
|
+
};
|
|
2246
|
+
|
|
2247
|
+
export {
|
|
2248
|
+
Blocks as Blocks,
|
|
2249
|
+
type Block as Block,
|
|
2250
|
+
type BlockUpdate as BlockUpdate,
|
|
2251
|
+
type BlockRetrieveParams as BlockRetrieveParams,
|
|
2252
|
+
type BlockUpdateParams as BlockUpdateParams,
|
|
2253
|
+
type BlockListParams as BlockListParams,
|
|
2254
|
+
type BlockAttachParams as BlockAttachParams,
|
|
2255
|
+
type BlockDetachParams as BlockDetachParams,
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
export {
|
|
2259
|
+
Tools as Tools,
|
|
2260
|
+
type ToolListParams as ToolListParams,
|
|
2261
|
+
type ToolAttachParams as ToolAttachParams,
|
|
2262
|
+
type ToolDetachParams as ToolDetachParams,
|
|
2263
|
+
type ToolUpdateApprovalParams as ToolUpdateApprovalParams,
|
|
2264
|
+
};
|
|
2265
|
+
|
|
2266
|
+
export {
|
|
2267
|
+
Folders as Folders,
|
|
2268
|
+
type FolderListResponse as FolderListResponse,
|
|
2269
|
+
type FolderListResponsesArrayPage as FolderListResponsesArrayPage,
|
|
2270
|
+
type FolderListParams as FolderListParams,
|
|
2271
|
+
type FolderAttachParams as FolderAttachParams,
|
|
2272
|
+
type FolderDetachParams as FolderDetachParams,
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2275
|
+
export {
|
|
2276
|
+
Files as Files,
|
|
2277
|
+
type FileListResponse as FileListResponse,
|
|
2278
|
+
type FileCloseResponse as FileCloseResponse,
|
|
2279
|
+
type FileCloseAllResponse as FileCloseAllResponse,
|
|
2280
|
+
type FileOpenResponse as FileOpenResponse,
|
|
2281
|
+
type FileListResponsesNextFilesPage as FileListResponsesNextFilesPage,
|
|
2282
|
+
type FileListParams as FileListParams,
|
|
2283
|
+
type FileCloseParams as FileCloseParams,
|
|
2284
|
+
type FileOpenParams as FileOpenParams,
|
|
2285
|
+
};
|
|
2286
|
+
|
|
2287
|
+
export { Groups as Groups, type GroupListParams as GroupListParams };
|
|
2288
|
+
|
|
2289
|
+
export {
|
|
2290
|
+
Archives as Archives,
|
|
2291
|
+
type ArchiveAttachResponse as ArchiveAttachResponse,
|
|
2292
|
+
type ArchiveDetachResponse as ArchiveDetachResponse,
|
|
2293
|
+
type ArchiveAttachParams as ArchiveAttachParams,
|
|
2294
|
+
type ArchiveDetachParams as ArchiveDetachParams,
|
|
2295
|
+
};
|
|
2296
|
+
|
|
2297
|
+
export {
|
|
2298
|
+
Identities as Identities,
|
|
2299
|
+
type IdentityAttachResponse as IdentityAttachResponse,
|
|
2300
|
+
type IdentityDetachResponse as IdentityDetachResponse,
|
|
2301
|
+
type IdentityAttachParams as IdentityAttachParams,
|
|
2302
|
+
type IdentityDetachParams as IdentityDetachParams,
|
|
1811
2303
|
};
|
|
1812
2304
|
}
|