@letta-ai/letta-client 0.0.68640 → 0.0.68642
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/api/resources/agents/client/Client.js +11 -11
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +9 -9
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +4 -4
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.d.ts +3 -11
- package/api/resources/providers/client/Client.js +9 -60
- package/api/resources/runs/client/Client.js +5 -5
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.d.ts +6 -13
- package/api/resources/steps/client/Client.js +14 -80
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/index.d.ts +2 -0
- package/api/resources/steps/resources/index.js +3 -1
- package/api/resources/steps/resources/metrics/client/Client.d.ts +49 -0
- package/api/resources/steps/resources/metrics/client/Client.js +145 -0
- package/api/resources/steps/resources/metrics/client/index.d.ts +1 -0
- package/api/resources/steps/resources/metrics/client/index.js +2 -0
- package/api/resources/steps/resources/metrics/index.d.ts +1 -0
- package/api/resources/steps/resources/metrics/index.js +17 -0
- package/api/resources/steps/resources/trace/client/Client.d.ts +44 -0
- package/api/resources/steps/resources/trace/client/Client.js +119 -0
- package/api/resources/steps/resources/trace/client/index.d.ts +1 -0
- package/api/resources/steps/resources/trace/client/index.js +2 -0
- package/api/resources/steps/resources/trace/index.d.ts +1 -0
- package/api/resources/steps/resources/trace/index.js +17 -0
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/dist/api/resources/agents/client/Client.js +11 -11
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.d.ts +3 -11
- package/dist/api/resources/providers/client/Client.js +9 -60
- package/dist/api/resources/runs/client/Client.js +5 -5
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.d.ts +6 -13
- package/dist/api/resources/steps/client/Client.js +14 -80
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/index.d.ts +2 -0
- package/dist/api/resources/steps/resources/index.js +3 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.d.ts +49 -0
- package/dist/api/resources/steps/resources/metrics/client/Client.js +145 -0
- package/dist/api/resources/steps/resources/metrics/client/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/metrics/client/index.js +2 -0
- package/dist/api/resources/steps/resources/metrics/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/metrics/index.js +17 -0
- package/dist/api/resources/steps/resources/trace/client/Client.d.ts +44 -0
- package/dist/api/resources/steps/resources/trace/client/Client.js +119 -0
- package/dist/api/resources/steps/resources/trace/client/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/trace/client/index.js +2 -0
- package/dist/api/resources/steps/resources/trace/index.d.ts +1 -0
- package/dist/api/resources/steps/resources/trace/index.js +17 -0
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +117 -105
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -5146,7 +5146,7 @@ await client.providers.modify("provider_id", {
|
|
|
5146
5146
|
</dl>
|
|
5147
5147
|
</details>
|
|
5148
5148
|
|
|
5149
|
-
<details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>() ->
|
|
5149
|
+
<details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>({ ...params }) -> unknown</code></summary>
|
|
5150
5150
|
<dl>
|
|
5151
5151
|
<dd>
|
|
5152
5152
|
|
|
@@ -5159,47 +5159,7 @@ await client.providers.modify("provider_id", {
|
|
|
5159
5159
|
<dd>
|
|
5160
5160
|
|
|
5161
5161
|
```typescript
|
|
5162
|
-
await client.providers.check(
|
|
5163
|
-
```
|
|
5164
|
-
|
|
5165
|
-
</dd>
|
|
5166
|
-
</dl>
|
|
5167
|
-
</dd>
|
|
5168
|
-
</dl>
|
|
5169
|
-
|
|
5170
|
-
#### ⚙️ Parameters
|
|
5171
|
-
|
|
5172
|
-
<dl>
|
|
5173
|
-
<dd>
|
|
5174
|
-
|
|
5175
|
-
<dl>
|
|
5176
|
-
<dd>
|
|
5177
|
-
|
|
5178
|
-
**requestOptions:** `Providers.RequestOptions`
|
|
5179
|
-
|
|
5180
|
-
</dd>
|
|
5181
|
-
</dl>
|
|
5182
|
-
</dd>
|
|
5183
|
-
</dl>
|
|
5184
|
-
|
|
5185
|
-
</dd>
|
|
5186
|
-
</dl>
|
|
5187
|
-
</details>
|
|
5188
|
-
|
|
5189
|
-
<details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">checkProvider</a>({ ...params }) -> unknown</code></summary>
|
|
5190
|
-
<dl>
|
|
5191
|
-
<dd>
|
|
5192
|
-
|
|
5193
|
-
#### 🔌 Usage
|
|
5194
|
-
|
|
5195
|
-
<dl>
|
|
5196
|
-
<dd>
|
|
5197
|
-
|
|
5198
|
-
<dl>
|
|
5199
|
-
<dd>
|
|
5200
|
-
|
|
5201
|
-
```typescript
|
|
5202
|
-
await client.providers.checkProvider({
|
|
5162
|
+
await client.providers.check({
|
|
5203
5163
|
providerType: "anthropic",
|
|
5204
5164
|
apiKey: "api_key",
|
|
5205
5165
|
});
|
|
@@ -5679,69 +5639,6 @@ await client.steps.retrieve("step_id");
|
|
|
5679
5639
|
</dl>
|
|
5680
5640
|
</details>
|
|
5681
5641
|
|
|
5682
|
-
<details><summary><code>client.steps.<a href="/src/api/resources/steps/client/Client.ts">retrieveStepMetrics</a>(stepId) -> Letta.StepMetrics</code></summary>
|
|
5683
|
-
<dl>
|
|
5684
|
-
<dd>
|
|
5685
|
-
|
|
5686
|
-
#### 📝 Description
|
|
5687
|
-
|
|
5688
|
-
<dl>
|
|
5689
|
-
<dd>
|
|
5690
|
-
|
|
5691
|
-
<dl>
|
|
5692
|
-
<dd>
|
|
5693
|
-
|
|
5694
|
-
Get step metrics by step ID.
|
|
5695
|
-
|
|
5696
|
-
</dd>
|
|
5697
|
-
</dl>
|
|
5698
|
-
</dd>
|
|
5699
|
-
</dl>
|
|
5700
|
-
|
|
5701
|
-
#### 🔌 Usage
|
|
5702
|
-
|
|
5703
|
-
<dl>
|
|
5704
|
-
<dd>
|
|
5705
|
-
|
|
5706
|
-
<dl>
|
|
5707
|
-
<dd>
|
|
5708
|
-
|
|
5709
|
-
```typescript
|
|
5710
|
-
await client.steps.retrieveStepMetrics("step_id");
|
|
5711
|
-
```
|
|
5712
|
-
|
|
5713
|
-
</dd>
|
|
5714
|
-
</dl>
|
|
5715
|
-
</dd>
|
|
5716
|
-
</dl>
|
|
5717
|
-
|
|
5718
|
-
#### ⚙️ Parameters
|
|
5719
|
-
|
|
5720
|
-
<dl>
|
|
5721
|
-
<dd>
|
|
5722
|
-
|
|
5723
|
-
<dl>
|
|
5724
|
-
<dd>
|
|
5725
|
-
|
|
5726
|
-
**stepId:** `string`
|
|
5727
|
-
|
|
5728
|
-
</dd>
|
|
5729
|
-
</dl>
|
|
5730
|
-
|
|
5731
|
-
<dl>
|
|
5732
|
-
<dd>
|
|
5733
|
-
|
|
5734
|
-
**requestOptions:** `Steps.RequestOptions`
|
|
5735
|
-
|
|
5736
|
-
</dd>
|
|
5737
|
-
</dl>
|
|
5738
|
-
</dd>
|
|
5739
|
-
</dl>
|
|
5740
|
-
|
|
5741
|
-
</dd>
|
|
5742
|
-
</dl>
|
|
5743
|
-
</details>
|
|
5744
|
-
|
|
5745
5642
|
## Tags
|
|
5746
5643
|
|
|
5747
5644
|
<details><summary><code>client.tags.<a href="/src/api/resources/tags/client/Client.ts">list</a>({ ...params }) -> string[]</code></summary>
|
|
@@ -11419,6 +11316,71 @@ await client.sources.passages.list("source_id");
|
|
|
11419
11316
|
</dl>
|
|
11420
11317
|
</details>
|
|
11421
11318
|
|
|
11319
|
+
## Steps Metrics
|
|
11320
|
+
|
|
11321
|
+
<details><summary><code>client.steps.metrics.<a href="/src/api/resources/steps/resources/metrics/client/Client.ts">retrieve</a>(stepId) -> Letta.StepMetrics</code></summary>
|
|
11322
|
+
<dl>
|
|
11323
|
+
<dd>
|
|
11324
|
+
|
|
11325
|
+
#### 📝 Description
|
|
11326
|
+
|
|
11327
|
+
<dl>
|
|
11328
|
+
<dd>
|
|
11329
|
+
|
|
11330
|
+
<dl>
|
|
11331
|
+
<dd>
|
|
11332
|
+
|
|
11333
|
+
Get step metrics by step ID.
|
|
11334
|
+
|
|
11335
|
+
</dd>
|
|
11336
|
+
</dl>
|
|
11337
|
+
</dd>
|
|
11338
|
+
</dl>
|
|
11339
|
+
|
|
11340
|
+
#### 🔌 Usage
|
|
11341
|
+
|
|
11342
|
+
<dl>
|
|
11343
|
+
<dd>
|
|
11344
|
+
|
|
11345
|
+
<dl>
|
|
11346
|
+
<dd>
|
|
11347
|
+
|
|
11348
|
+
```typescript
|
|
11349
|
+
await client.steps.metrics.retrieve("step_id");
|
|
11350
|
+
```
|
|
11351
|
+
|
|
11352
|
+
</dd>
|
|
11353
|
+
</dl>
|
|
11354
|
+
</dd>
|
|
11355
|
+
</dl>
|
|
11356
|
+
|
|
11357
|
+
#### ⚙️ Parameters
|
|
11358
|
+
|
|
11359
|
+
<dl>
|
|
11360
|
+
<dd>
|
|
11361
|
+
|
|
11362
|
+
<dl>
|
|
11363
|
+
<dd>
|
|
11364
|
+
|
|
11365
|
+
**stepId:** `string`
|
|
11366
|
+
|
|
11367
|
+
</dd>
|
|
11368
|
+
</dl>
|
|
11369
|
+
|
|
11370
|
+
<dl>
|
|
11371
|
+
<dd>
|
|
11372
|
+
|
|
11373
|
+
**requestOptions:** `Metrics.RequestOptions`
|
|
11374
|
+
|
|
11375
|
+
</dd>
|
|
11376
|
+
</dl>
|
|
11377
|
+
</dd>
|
|
11378
|
+
</dl>
|
|
11379
|
+
|
|
11380
|
+
</dd>
|
|
11381
|
+
</dl>
|
|
11382
|
+
</details>
|
|
11383
|
+
|
|
11422
11384
|
## Steps Feedback
|
|
11423
11385
|
|
|
11424
11386
|
<details><summary><code>client.steps.feedback.<a href="/src/api/resources/steps/resources/feedback/client/Client.ts">create</a>(stepId, { ...params }) -> Letta.Step</code></summary>
|
|
@@ -11492,6 +11454,56 @@ await client.steps.feedback.create("step_id");
|
|
|
11492
11454
|
</dl>
|
|
11493
11455
|
</details>
|
|
11494
11456
|
|
|
11457
|
+
## Steps Trace
|
|
11458
|
+
|
|
11459
|
+
<details><summary><code>client.steps.trace.<a href="/src/api/resources/steps/resources/trace/client/Client.ts">retrieve</a>(stepId) -> void</code></summary>
|
|
11460
|
+
<dl>
|
|
11461
|
+
<dd>
|
|
11462
|
+
|
|
11463
|
+
#### 🔌 Usage
|
|
11464
|
+
|
|
11465
|
+
<dl>
|
|
11466
|
+
<dd>
|
|
11467
|
+
|
|
11468
|
+
<dl>
|
|
11469
|
+
<dd>
|
|
11470
|
+
|
|
11471
|
+
```typescript
|
|
11472
|
+
await client.steps.trace.retrieve("step_id");
|
|
11473
|
+
```
|
|
11474
|
+
|
|
11475
|
+
</dd>
|
|
11476
|
+
</dl>
|
|
11477
|
+
</dd>
|
|
11478
|
+
</dl>
|
|
11479
|
+
|
|
11480
|
+
#### ⚙️ Parameters
|
|
11481
|
+
|
|
11482
|
+
<dl>
|
|
11483
|
+
<dd>
|
|
11484
|
+
|
|
11485
|
+
<dl>
|
|
11486
|
+
<dd>
|
|
11487
|
+
|
|
11488
|
+
**stepId:** `string`
|
|
11489
|
+
|
|
11490
|
+
</dd>
|
|
11491
|
+
</dl>
|
|
11492
|
+
|
|
11493
|
+
<dl>
|
|
11494
|
+
<dd>
|
|
11495
|
+
|
|
11496
|
+
**requestOptions:** `Trace.RequestOptions`
|
|
11497
|
+
|
|
11498
|
+
</dd>
|
|
11499
|
+
</dl>
|
|
11500
|
+
</dd>
|
|
11501
|
+
</dl>
|
|
11502
|
+
|
|
11503
|
+
</dd>
|
|
11504
|
+
</dl>
|
|
11505
|
+
</details>
|
|
11506
|
+
|
|
11495
11507
|
## Templates Agents
|
|
11496
11508
|
|
|
11497
11509
|
<details><summary><code>client.templates.agents.<a href="/src/api/resources/templates/resources/agents/client/Client.ts">create</a>(project, templateVersion, { ...params }) -> Letta.AgentsCreateResponse</code></summary>
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.68642";
|
package/version.js
CHANGED