@letta-ai/letta-client 1.6.5 → 1.6.6

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.
Files changed (119) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
  3. package/resources/agents/agents.d.mts +21 -4
  4. package/resources/agents/agents.d.mts.map +1 -1
  5. package/resources/agents/agents.d.ts +21 -4
  6. package/resources/agents/agents.d.ts.map +1 -1
  7. package/resources/agents/agents.js +4 -0
  8. package/resources/agents/agents.js.map +1 -1
  9. package/resources/agents/agents.mjs +4 -0
  10. package/resources/agents/agents.mjs.map +1 -1
  11. package/resources/agents/blocks.d.mts +12 -0
  12. package/resources/agents/blocks.d.mts.map +1 -1
  13. package/resources/agents/blocks.d.ts +12 -0
  14. package/resources/agents/blocks.d.ts.map +1 -1
  15. package/resources/agents/index.d.mts +1 -0
  16. package/resources/agents/index.d.mts.map +1 -1
  17. package/resources/agents/index.d.ts +1 -0
  18. package/resources/agents/index.d.ts.map +1 -1
  19. package/resources/agents/index.js +3 -1
  20. package/resources/agents/index.js.map +1 -1
  21. package/resources/agents/index.mjs +1 -0
  22. package/resources/agents/index.mjs.map +1 -1
  23. package/resources/agents/messages.d.mts +9 -5
  24. package/resources/agents/messages.d.mts.map +1 -1
  25. package/resources/agents/messages.d.ts +9 -5
  26. package/resources/agents/messages.d.ts.map +1 -1
  27. package/resources/agents/passages.d.mts +4 -0
  28. package/resources/agents/passages.d.mts.map +1 -1
  29. package/resources/agents/passages.d.ts +4 -0
  30. package/resources/agents/passages.d.ts.map +1 -1
  31. package/resources/agents/schedule.d.mts +197 -0
  32. package/resources/agents/schedule.d.mts.map +1 -0
  33. package/resources/agents/schedule.d.ts +197 -0
  34. package/resources/agents/schedule.d.ts.map +1 -0
  35. package/resources/agents/schedule.js +40 -0
  36. package/resources/agents/schedule.js.map +1 -0
  37. package/resources/agents/schedule.mjs +36 -0
  38. package/resources/agents/schedule.mjs.map +1 -0
  39. package/resources/blocks/agents.d.mts +1 -1
  40. package/resources/blocks/agents.d.mts.map +1 -1
  41. package/resources/blocks/agents.d.ts +1 -1
  42. package/resources/blocks/agents.d.ts.map +1 -1
  43. package/resources/blocks/blocks.d.mts +25 -0
  44. package/resources/blocks/blocks.d.mts.map +1 -1
  45. package/resources/blocks/blocks.d.ts +25 -0
  46. package/resources/blocks/blocks.d.ts.map +1 -1
  47. package/resources/blocks/blocks.js.map +1 -1
  48. package/resources/blocks/blocks.mjs.map +1 -1
  49. package/resources/conversations/conversations.d.mts +17 -0
  50. package/resources/conversations/conversations.d.mts.map +1 -1
  51. package/resources/conversations/conversations.d.ts +17 -0
  52. package/resources/conversations/conversations.d.ts.map +1 -1
  53. package/resources/conversations/conversations.js.map +1 -1
  54. package/resources/conversations/conversations.mjs.map +1 -1
  55. package/resources/folders/files.d.mts +1 -1
  56. package/resources/folders/files.d.ts +1 -1
  57. package/resources/groups/messages.d.mts +5 -5
  58. package/resources/groups/messages.d.ts +5 -5
  59. package/resources/identities/agents.d.mts +1 -1
  60. package/resources/identities/agents.d.mts.map +1 -1
  61. package/resources/identities/agents.d.ts +1 -1
  62. package/resources/identities/agents.d.ts.map +1 -1
  63. package/resources/mcp-servers/tools.d.mts +1 -1
  64. package/resources/mcp-servers/tools.d.ts +1 -1
  65. package/resources/messages.d.mts +12 -0
  66. package/resources/messages.d.mts.map +1 -1
  67. package/resources/messages.d.ts +12 -0
  68. package/resources/messages.d.ts.map +1 -1
  69. package/resources/runs/index.d.mts +1 -0
  70. package/resources/runs/index.d.mts.map +1 -1
  71. package/resources/runs/index.d.ts +1 -0
  72. package/resources/runs/index.d.ts.map +1 -1
  73. package/resources/runs/index.js +3 -1
  74. package/resources/runs/index.js.map +1 -1
  75. package/resources/runs/index.mjs +1 -0
  76. package/resources/runs/index.mjs.map +1 -1
  77. package/resources/runs/runs.d.mts +8 -0
  78. package/resources/runs/runs.d.mts.map +1 -1
  79. package/resources/runs/runs.d.ts +8 -0
  80. package/resources/runs/runs.d.ts.map +1 -1
  81. package/resources/runs/runs.js +4 -0
  82. package/resources/runs/runs.js.map +1 -1
  83. package/resources/runs/runs.mjs +4 -0
  84. package/resources/runs/runs.mjs.map +1 -1
  85. package/resources/runs/trace.d.mts +31 -0
  86. package/resources/runs/trace.d.mts.map +1 -0
  87. package/resources/runs/trace.d.ts +31 -0
  88. package/resources/runs/trace.d.ts.map +1 -0
  89. package/resources/runs/trace.js +25 -0
  90. package/resources/runs/trace.js.map +1 -0
  91. package/resources/runs/trace.mjs +21 -0
  92. package/resources/runs/trace.mjs.map +1 -0
  93. package/resources/tags.d.mts +1 -1
  94. package/resources/tags.d.ts +1 -1
  95. package/resources/tags.js +1 -1
  96. package/resources/tags.mjs +1 -1
  97. package/src/resources/agents/agents.ts +45 -2
  98. package/src/resources/agents/blocks.ts +15 -0
  99. package/src/resources/agents/index.ts +11 -0
  100. package/src/resources/agents/messages.ts +11 -6
  101. package/src/resources/agents/passages.ts +5 -0
  102. package/src/resources/agents/schedule.ts +361 -0
  103. package/src/resources/blocks/agents.ts +1 -0
  104. package/src/resources/blocks/blocks.ts +31 -0
  105. package/src/resources/conversations/conversations.ts +20 -0
  106. package/src/resources/folders/files.ts +1 -1
  107. package/src/resources/groups/messages.ts +5 -5
  108. package/src/resources/identities/agents.ts +1 -0
  109. package/src/resources/mcp-servers/tools.ts +1 -1
  110. package/src/resources/messages.ts +15 -0
  111. package/src/resources/runs/index.ts +1 -0
  112. package/src/resources/runs/runs.ts +15 -0
  113. package/src/resources/runs/trace.ts +44 -0
  114. package/src/resources/tags.ts +1 -1
  115. package/src/version.ts +1 -1
  116. package/version.d.mts +1 -1
  117. package/version.d.ts +1 -1
  118. package/version.js +1 -1
  119. package/version.mjs +1 -1
@@ -5,6 +5,8 @@ import * as RunsMessagesAPI from "./messages.js";
5
5
  import { MessageListParams, MessageStreamParams, MessageStreamResponse, Messages } from "./messages.js";
6
6
  import * as StepsAPI from "./steps.js";
7
7
  import { StepListParams, Steps } from "./steps.js";
8
+ import * as TraceAPI from "./trace.js";
9
+ import { Trace, TraceRetrieveParams, TraceRetrieveResponse } from "./trace.js";
8
10
  import * as UsageAPI from "./usage.js";
9
11
  import { Usage, UsageRetrieveResponse } from "./usage.js";
10
12
  import { APIPromise } from "../../core/api-promise.js";
@@ -14,6 +16,7 @@ export declare class Runs extends APIResource {
14
16
  messages: RunsMessagesAPI.Messages;
15
17
  usage: UsageAPI.Usage;
16
18
  steps: StepsAPI.Steps;
19
+ trace: TraceAPI.Trace;
17
20
  /**
18
21
  * Get the status of a run.
19
22
  */
@@ -127,6 +130,10 @@ export interface RunListParams extends ArrayPageParams {
127
130
  * If True, filters for runs that were created in background mode.
128
131
  */
129
132
  background?: boolean | null;
133
+ /**
134
+ * Filter runs by conversation ID.
135
+ */
136
+ conversation_id?: string | null;
130
137
  /**
131
138
  * Filter runs by status. Can specify multiple statuses.
132
139
  */
@@ -141,6 +148,7 @@ export declare namespace Runs {
141
148
  export { Messages as Messages, type MessageStreamResponse as MessageStreamResponse, type MessageListParams as MessageListParams, type MessageStreamParams as MessageStreamParams, };
142
149
  export { Usage as Usage, type UsageRetrieveResponse as UsageRetrieveResponse };
143
150
  export { Steps as Steps, type StepListParams as StepListParams };
151
+ export { Trace as Trace, type TraceRetrieveResponse as TraceRetrieveResponse, type TraceRetrieveParams as TraceRetrieveParams, };
144
152
  }
145
153
  export { type RunsArrayPage };
146
154
  //# sourceMappingURL=runs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../src/resources/runs/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,aAAa,EAAE;OACjB,KAAK,eAAe;OACpB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,QAAQ,EAAE;OAC3E,KAAK,QAAQ;OACb,EAAE,cAAc,EAAE,KAAK,EAAE;OACzB,KAAK,QAAQ;OACb,EAAE,KAAK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;IAEF,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;IAE/E,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;IAEjE,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,aAAa,EAAE,CAAC"}
@@ -8,6 +8,8 @@ const RunsMessagesAPI = tslib_1.__importStar(require("./messages.js"));
8
8
  const messages_1 = require("./messages.js");
9
9
  const StepsAPI = tslib_1.__importStar(require("./steps.js"));
10
10
  const steps_1 = require("./steps.js");
11
+ const TraceAPI = tslib_1.__importStar(require("./trace.js"));
12
+ const trace_1 = require("./trace.js");
11
13
  const UsageAPI = tslib_1.__importStar(require("./usage.js"));
12
14
  const usage_1 = require("./usage.js");
13
15
  const pagination_1 = require("../../core/pagination.js");
@@ -18,6 +20,7 @@ class Runs extends resource_1.APIResource {
18
20
  this.messages = new RunsMessagesAPI.Messages(this._client);
19
21
  this.usage = new UsageAPI.Usage(this._client);
20
22
  this.steps = new StepsAPI.Steps(this._client);
23
+ this.trace = new TraceAPI.Trace(this._client);
21
24
  }
22
25
  /**
23
26
  * Get the status of a run.
@@ -36,4 +39,5 @@ exports.Runs = Runs;
36
39
  Runs.Messages = messages_1.Messages;
37
40
  Runs.Usage = usage_1.Usage;
38
41
  Runs.Steps = steps_1.Steps;
42
+ Runs.Trace = trace_1.Trace;
39
43
  //# sourceMappingURL=runs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runs.js","sourceRoot":"","sources":["../../src/resources/runs/runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAGlD,uEAA8C;AAC9C,4CAAqG;AACrG,6DAAoC;AACpC,sCAAgD;AAChD,6DAAoC;AACpC,sCAAuD;AAE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ChF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkB3D,CAAC;IAhBC;;OAEG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,sBAA0B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;CACF;AAtBD,oBAsBC;AA4JD,IAAI,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACzB,IAAI,CAAC,KAAK,GAAG,aAAK,CAAC;AACnB,IAAI,CAAC,KAAK,GAAG,aAAK,CAAC;AACnB,IAAI,CAAC,KAAK,GAAG,aAAK,CAAC"}
@@ -4,6 +4,8 @@ import * as RunsMessagesAPI from "./messages.mjs";
4
4
  import { Messages } from "./messages.mjs";
5
5
  import * as StepsAPI from "./steps.mjs";
6
6
  import { Steps } from "./steps.mjs";
7
+ import * as TraceAPI from "./trace.mjs";
8
+ import { Trace } from "./trace.mjs";
7
9
  import * as UsageAPI from "./usage.mjs";
8
10
  import { Usage } from "./usage.mjs";
9
11
  import { ArrayPage } from "../../core/pagination.mjs";
@@ -14,6 +16,7 @@ export class Runs extends APIResource {
14
16
  this.messages = new RunsMessagesAPI.Messages(this._client);
15
17
  this.usage = new UsageAPI.Usage(this._client);
16
18
  this.steps = new StepsAPI.Steps(this._client);
19
+ this.trace = new TraceAPI.Trace(this._client);
17
20
  }
18
21
  /**
19
22
  * Get the status of a run.
@@ -31,4 +34,5 @@ export class Runs extends APIResource {
31
34
  Runs.Messages = Messages;
32
35
  Runs.Usage = Usage;
33
36
  Runs.Steps = Steps;
37
+ Runs.Trace = Trace;
34
38
  //# sourceMappingURL=runs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../src/resources/runs/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,eAAe;OACpB,EAAiE,QAAQ,EAAE;OAC3E,KAAK,QAAQ;OACb,EAAkB,KAAK,EAAE;OACzB,KAAK,QAAQ;OACb,EAAE,KAAK,EAAyB;OAEhC,EAAE,SAAS,EAAqC;OAEhD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,aAAQ,GAA6B,IAAI,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkB3D,CAAC;IAhBC;;OAEG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,SAA0B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;CACF;AAuJD,IAAI,CAAC,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AQ,GAAG,QAAQ,CAAC;AACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class Trace extends APIResource {
5
+ /**
6
+ * Retrieve OTEL trace spans for a run.
7
+ *
8
+ * Returns a filtered set of spans relevant for observability:
9
+ *
10
+ * - agent_step: Individual agent reasoning steps
11
+ * - tool executions: Tool call spans
12
+ * - Root span: The top-level request span
13
+ * - time_to_first_token: TTFT measurement span
14
+ *
15
+ * Requires ClickHouse to be configured for trace storage.
16
+ */
17
+ retrieve(runID: string, query?: TraceRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<TraceRetrieveResponse>;
18
+ }
19
+ export type TraceRetrieveResponse = Array<{
20
+ [key: string]: unknown;
21
+ }>;
22
+ export interface TraceRetrieveParams {
23
+ /**
24
+ * Maximum number of spans to return
25
+ */
26
+ limit?: number;
27
+ }
28
+ export declare namespace Trace {
29
+ export { type TraceRetrieveResponse as TraceRetrieveResponse, type TraceRetrieveParams as TraceRetrieveParams, };
30
+ }
31
+ //# sourceMappingURL=trace.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.d.mts","sourceRoot":"","sources":["../../src/resources/runs/trace.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;CAGrC;AAED,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC,CAAC;AAEtE,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -0,0 +1,31 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class Trace extends APIResource {
5
+ /**
6
+ * Retrieve OTEL trace spans for a run.
7
+ *
8
+ * Returns a filtered set of spans relevant for observability:
9
+ *
10
+ * - agent_step: Individual agent reasoning steps
11
+ * - tool executions: Tool call spans
12
+ * - Root span: The top-level request span
13
+ * - time_to_first_token: TTFT measurement span
14
+ *
15
+ * Requires ClickHouse to be configured for trace storage.
16
+ */
17
+ retrieve(runID: string, query?: TraceRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<TraceRetrieveResponse>;
18
+ }
19
+ export type TraceRetrieveResponse = Array<{
20
+ [key: string]: unknown;
21
+ }>;
22
+ export interface TraceRetrieveParams {
23
+ /**
24
+ * Maximum number of spans to return
25
+ */
26
+ limit?: number;
27
+ }
28
+ export declare namespace Trace {
29
+ export { type TraceRetrieveResponse as TraceRetrieveResponse, type TraceRetrieveParams as TraceRetrieveParams, };
30
+ }
31
+ //# sourceMappingURL=trace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.d.ts","sourceRoot":"","sources":["../../src/resources/runs/trace.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;CAGrC;AAED,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC,CAAC;AAEtE,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Trace = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Trace extends resource_1.APIResource {
8
+ /**
9
+ * Retrieve OTEL trace spans for a run.
10
+ *
11
+ * Returns a filtered set of spans relevant for observability:
12
+ *
13
+ * - agent_step: Individual agent reasoning steps
14
+ * - tool executions: Tool call spans
15
+ * - Root span: The top-level request span
16
+ * - time_to_first_token: TTFT measurement span
17
+ *
18
+ * Requires ClickHouse to be configured for trace storage.
19
+ */
20
+ retrieve(runID, query = {}, options) {
21
+ return this._client.get((0, path_1.path) `/v1/runs/${runID}/trace`, { query, ...options });
22
+ }
23
+ }
24
+ exports.Trace = Trace;
25
+ //# sourceMappingURL=trace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../src/resources/runs/trace.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,KAAa,EACb,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,KAAK,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AApBD,sBAoBC"}
@@ -0,0 +1,21 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class Trace extends APIResource {
5
+ /**
6
+ * Retrieve OTEL trace spans for a run.
7
+ *
8
+ * Returns a filtered set of spans relevant for observability:
9
+ *
10
+ * - agent_step: Individual agent reasoning steps
11
+ * - tool executions: Tool call spans
12
+ * - Root span: The top-level request span
13
+ * - time_to_first_token: TTFT measurement span
14
+ *
15
+ * Requires ClickHouse to be configured for trace storage.
16
+ */
17
+ retrieve(runID, query = {}, options) {
18
+ return this._client.get(path `/v1/runs/${runID}/trace`, { query, ...options });
19
+ }
20
+ }
21
+ //# sourceMappingURL=trace.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.mjs","sourceRoot":"","sources":["../../src/resources/runs/trace.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,KAAa,EACb,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,KAAK,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -3,7 +3,7 @@ import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../internal/request-options.mjs";
4
4
  export declare class Tags extends APIResource {
5
5
  /**
6
- * Get the list of all agent tags that have been created.
6
+ * Get the list of all tags (from agents and blocks) that have been created.
7
7
  */
8
8
  list(query?: TagListParams | null | undefined, options?: RequestOptions): APIPromise<TagListResponse>;
9
9
  }
@@ -3,7 +3,7 @@ import { APIPromise } from "../core/api-promise.js";
3
3
  import { RequestOptions } from "../internal/request-options.js";
4
4
  export declare class Tags extends APIResource {
5
5
  /**
6
- * Get the list of all agent tags that have been created.
6
+ * Get the list of all tags (from agents and blocks) that have been created.
7
7
  */
8
8
  list(query?: TagListParams | null | undefined, options?: RequestOptions): APIPromise<TagListResponse>;
9
9
  }
package/resources/tags.js CHANGED
@@ -5,7 +5,7 @@ exports.Tags = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
6
  class Tags extends resource_1.APIResource {
7
7
  /**
8
- * Get the list of all agent tags that have been created.
8
+ * Get the list of all tags (from agents and blocks) that have been created.
9
9
  */
10
10
  list(query = {}, options) {
11
11
  return this._client.get('/v1/tags/', { query, ...options });
@@ -2,7 +2,7 @@
2
2
  import { APIResource } from "../core/resource.mjs";
3
3
  export class Tags extends APIResource {
4
4
  /**
5
- * Get the list of all agent tags that have been created.
5
+ * Get the list of all tags (from agents and blocks) that have been created.
6
6
  */
7
7
  list(query = {}, options) {
8
8
  return this._client.get('/v1/tags/', { query, ...options });
@@ -120,6 +120,18 @@ import {
120
120
  PassageSearchResponse,
121
121
  Passages,
122
122
  } from './passages';
123
+ import * as ScheduleAPI from './schedule';
124
+ import {
125
+ Schedule,
126
+ ScheduleCreateParams,
127
+ ScheduleCreateResponse,
128
+ ScheduleDeleteParams,
129
+ ScheduleDeleteResponse,
130
+ ScheduleListParams,
131
+ ScheduleListResponse,
132
+ ScheduleRetrieveParams,
133
+ ScheduleRetrieveResponse,
134
+ } from './schedule';
123
135
  import * as AgentsToolsAPI from './tools';
124
136
  import {
125
137
  ToolAttachParams,
@@ -147,6 +159,7 @@ import { path } from '../../internal/utils/path';
147
159
 
148
160
  export class Agents extends APIResource {
149
161
  messages: MessagesAPI.Messages = new MessagesAPI.Messages(this._client);
162
+ schedule: ScheduleAPI.Schedule = new ScheduleAPI.Schedule(this._client);
150
163
  blocks: BlocksAPI.Blocks = new BlocksAPI.Blocks(this._client);
151
164
  tools: AgentsToolsAPI.Tools = new AgentsToolsAPI.Tools(this._client);
152
165
  folders: FoldersAPI.Folders = new FoldersAPI.Folders(this._client);
@@ -497,6 +510,16 @@ export interface AgentState {
497
510
  */
498
511
  multi_agent_group?: GroupsGroupsAPI.Group | null;
499
512
 
513
+ /**
514
+ * A message representing a request for approval to call a tool (generated by the
515
+ * LLM to trigger tool execution).
516
+ *
517
+ * Args: id (str): The ID of the message date (datetime): The date the message was
518
+ * created in ISO format name (Optional[str]): The name of the sender of the
519
+ * message tool_call (ToolCall): The tool call
520
+ */
521
+ pending_approval?: MessagesAPI.ApprovalRequestMessage | null;
522
+
500
523
  /**
501
524
  * The per-file view window character limit for this agent. Setting this too high
502
525
  * may exceed the context window, which will break the agent.
@@ -685,6 +708,11 @@ export namespace AgentState {
685
708
  */
686
709
  read_only?: boolean;
687
710
 
711
+ /**
712
+ * The tags associated with the block.
713
+ */
714
+ tags?: Array<string> | null;
715
+
688
716
  /**
689
717
  * The id of the template.
690
718
  */
@@ -2055,6 +2083,7 @@ export interface AgentRetrieveParams {
2055
2083
  | 'agent.blocks'
2056
2084
  | 'agent.identities'
2057
2085
  | 'agent.managed_group'
2086
+ | 'agent.pending_approval'
2058
2087
  | 'agent.secrets'
2059
2088
  | 'agent.sources'
2060
2089
  | 'agent.tags'
@@ -2458,6 +2487,7 @@ export interface AgentListParams extends ArrayPageParams {
2458
2487
  | 'agent.blocks'
2459
2488
  | 'agent.identities'
2460
2489
  | 'agent.managed_group'
2490
+ | 'agent.pending_approval'
2461
2491
  | 'agent.secrets'
2462
2492
  | 'agent.sources'
2463
2493
  | 'agent.tags'
@@ -2531,7 +2561,7 @@ export interface AgentExportFileParams {
2531
2561
 
2532
2562
  export interface AgentImportFileParams {
2533
2563
  /**
2534
- * Body param:
2564
+ * Body param
2535
2565
  */
2536
2566
  file: Uploadable;
2537
2567
 
@@ -2593,12 +2623,13 @@ export interface AgentImportFileParams {
2593
2623
  strip_messages?: boolean;
2594
2624
 
2595
2625
  /**
2596
- * Header param:
2626
+ * Header param
2597
2627
  */
2598
2628
  'x-override-embedding-model'?: string;
2599
2629
  }
2600
2630
 
2601
2631
  Agents.Messages = Messages;
2632
+ Agents.Schedule = Schedule;
2602
2633
  Agents.Blocks = Blocks;
2603
2634
  Agents.Tools = Tools;
2604
2635
  Agents.Folders = Folders;
@@ -2704,6 +2735,18 @@ export declare namespace Agents {
2704
2735
  type MessageStreamParams as MessageStreamParams,
2705
2736
  };
2706
2737
 
2738
+ export {
2739
+ Schedule as Schedule,
2740
+ type ScheduleCreateResponse as ScheduleCreateResponse,
2741
+ type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
2742
+ type ScheduleListResponse as ScheduleListResponse,
2743
+ type ScheduleDeleteResponse as ScheduleDeleteResponse,
2744
+ type ScheduleCreateParams as ScheduleCreateParams,
2745
+ type ScheduleRetrieveParams as ScheduleRetrieveParams,
2746
+ type ScheduleListParams as ScheduleListParams,
2747
+ type ScheduleDeleteParams as ScheduleDeleteParams,
2748
+ };
2749
+
2707
2750
  export {
2708
2751
  Blocks as Blocks,
2709
2752
  type Block as Block,
@@ -161,6 +161,11 @@ export interface Block {
161
161
  */
162
162
  read_only?: boolean;
163
163
 
164
+ /**
165
+ * The tags associated with the block.
166
+ */
167
+ tags?: Array<string> | null;
168
+
164
169
  /**
165
170
  * The id of the template.
166
171
  */
@@ -236,6 +241,11 @@ export interface BlockUpdate {
236
241
  */
237
242
  read_only?: boolean;
238
243
 
244
+ /**
245
+ * The tags to associate with the block.
246
+ */
247
+ tags?: Array<string> | null;
248
+
239
249
  /**
240
250
  * The id of the template.
241
251
  */
@@ -325,6 +335,11 @@ export interface BlockUpdateParams {
325
335
  */
326
336
  read_only?: boolean;
327
337
 
338
+ /**
339
+ * Body param: The tags to associate with the block.
340
+ */
341
+ tags?: Array<string> | null;
342
+
328
343
  /**
329
344
  * Body param: The id of the template.
330
345
  */
@@ -151,6 +151,17 @@ export {
151
151
  type PassageDeleteParams,
152
152
  type PassageSearchParams,
153
153
  } from './passages';
154
+ export {
155
+ Schedule,
156
+ type ScheduleCreateResponse,
157
+ type ScheduleRetrieveResponse,
158
+ type ScheduleListResponse,
159
+ type ScheduleDeleteResponse,
160
+ type ScheduleCreateParams,
161
+ type ScheduleRetrieveParams,
162
+ type ScheduleListParams,
163
+ type ScheduleDeleteParams,
164
+ } from './schedule';
154
165
  export {
155
166
  Tools,
156
167
  type ToolExecuteRequest,
@@ -508,6 +508,7 @@ export namespace ImageContent {
508
508
  * tool_returns (List[ToolReturn]): The list of tool returns requested.
509
509
  * group_id (str): The multi-agent group that the message was sent in.
510
510
  * sender_id (str): The id of the sender of the message, can be an identity id or agent id.
511
+ * conversation_id (str): The conversation this message belongs to.
511
512
  *
512
513
  * t
513
514
  */
@@ -562,6 +563,11 @@ export interface InternalMessage {
562
563
  | InternalMessage.SummarizedReasoningContent
563
564
  > | null;
564
565
 
566
+ /**
567
+ * The conversation this message belongs to
568
+ */
569
+ conversation_id?: string | null;
570
+
565
571
  /**
566
572
  * The timestamp when the object was created.
567
573
  */
@@ -2050,6 +2056,11 @@ export interface MessageListParams extends ArrayPageParams {
2050
2056
  */
2051
2057
  assistant_message_tool_name?: string;
2052
2058
 
2059
+ /**
2060
+ * Conversation ID to filter messages by.
2061
+ */
2062
+ conversation_id?: string | null;
2063
+
2053
2064
  /**
2054
2065
  * Group ID to filter messages by.
2055
2066
  */
@@ -2061,12 +2072,6 @@ export interface MessageListParams extends ArrayPageParams {
2061
2072
  */
2062
2073
  include_err?: boolean | null;
2063
2074
 
2064
- /**
2065
- * Filter to only return specified message types. If None (default), returns all
2066
- * message types.
2067
- */
2068
- message_types?: Array<MessageType> | null;
2069
-
2070
2075
  /**
2071
2076
  * @deprecated Whether to use assistant messages
2072
2077
  */
@@ -83,6 +83,11 @@ export interface PassageSearchResponse {
83
83
 
84
84
  export namespace PassageSearchResponse {
85
85
  export interface Result {
86
+ /**
87
+ * Unique identifier of the archival memory passage
88
+ */
89
+ id: string;
90
+
86
91
  /**
87
92
  * Text content of the archival memory passage
88
93
  */