@agents24/node 0.5.27 → 0.5.28

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 (80) hide show
  1. package/README.md +7 -1
  2. package/compatibility.json +5 -5
  3. package/dist/artifacts.cjs +2 -1
  4. package/dist/artifacts.cjs.map +1 -1
  5. package/dist/artifacts.d.cts +23 -2
  6. package/dist/artifacts.d.ts +23 -2
  7. package/dist/artifacts.js +2 -1
  8. package/dist/artifacts.js.map +1 -1
  9. package/dist/bff.cjs +60 -11
  10. package/dist/bff.cjs.map +1 -1
  11. package/dist/bff.d.cts +2 -1
  12. package/dist/bff.d.ts +2 -1
  13. package/dist/bff.js +60 -11
  14. package/dist/bff.js.map +1 -1
  15. package/dist/{client-Dr0U2u5Q.d.cts → client-yHQmkcMz.d.cts} +240 -9
  16. package/dist/{client-Dr0U2u5Q.d.ts → client-yHQmkcMz.d.ts} +240 -9
  17. package/dist/index.cjs +165 -14
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +12 -3
  20. package/dist/index.d.ts +12 -3
  21. package/dist/index.js +164 -15
  22. package/dist/index.js.map +1 -1
  23. package/dist/relay.cjs +514 -0
  24. package/dist/relay.cjs.map +1 -0
  25. package/dist/relay.d.cts +98 -0
  26. package/dist/relay.d.ts +98 -0
  27. package/dist/relay.js +511 -0
  28. package/dist/relay.js.map +1 -0
  29. package/dist/server.cjs +80 -10
  30. package/dist/server.cjs.map +1 -1
  31. package/dist/server.d.cts +3 -0
  32. package/dist/server.d.ts +3 -0
  33. package/dist/server.js +80 -10
  34. package/dist/server.js.map +1 -1
  35. package/dist/types/agents.d.ts +1 -0
  36. package/dist/types/agents.d.ts.map +1 -1
  37. package/dist/types/artifacts.d.ts +22 -1
  38. package/dist/types/artifacts.d.ts.map +1 -1
  39. package/dist/types/bff-request.d.ts +5 -3
  40. package/dist/types/bff-request.d.ts.map +1 -1
  41. package/dist/types/bff.d.ts.map +1 -1
  42. package/dist/types/client.d.ts +4 -0
  43. package/dist/types/client.d.ts.map +1 -1
  44. package/dist/types/embed-run-wait.d.ts +9 -0
  45. package/dist/types/embed-run-wait.d.ts.map +1 -0
  46. package/dist/types/embed-types.d.ts +15 -2
  47. package/dist/types/embed-types.d.ts.map +1 -1
  48. package/dist/types/embed.d.ts +5 -1
  49. package/dist/types/embed.d.ts.map +1 -1
  50. package/dist/types/generated/delegation-types.d.ts +3 -2
  51. package/dist/types/generated/delegation-types.d.ts.map +1 -1
  52. package/dist/types/generated/ingestion-types.d.ts +11 -0
  53. package/dist/types/generated/ingestion-types.d.ts.map +1 -1
  54. package/dist/types/generated/ingestionJobs.d.ts +2 -2
  55. package/dist/types/generated/ingestionJobs.d.ts.map +1 -1
  56. package/dist/types/generated/manifest.d.ts +1 -1
  57. package/dist/types/generated/manifest.d.ts.map +1 -1
  58. package/dist/types/generated/model-capabilities.d.ts +1 -1
  59. package/dist/types/generated/model-capabilities.d.ts.map +1 -1
  60. package/dist/types/generated/relayClients.d.ts +13 -0
  61. package/dist/types/generated/relayClients.d.ts.map +1 -0
  62. package/dist/types/generated/resourceInstallations.d.ts +1 -2
  63. package/dist/types/generated/resourceInstallations.d.ts.map +1 -1
  64. package/dist/types/generated/run-usage.d.ts +12 -0
  65. package/dist/types/generated/run-usage.d.ts.map +1 -0
  66. package/dist/types/http.d.ts +1 -0
  67. package/dist/types/http.d.ts.map +1 -1
  68. package/dist/types/index.d.ts +3 -0
  69. package/dist/types/index.d.ts.map +1 -1
  70. package/dist/types/models.d.ts +92 -0
  71. package/dist/types/models.d.ts.map +1 -0
  72. package/dist/types/relay-http.d.ts +14 -0
  73. package/dist/types/relay-http.d.ts.map +1 -0
  74. package/dist/types/relay.d.ts +89 -0
  75. package/dist/types/relay.d.ts.map +1 -0
  76. package/dist/types/server.d.ts +3 -0
  77. package/dist/types/server.d.ts.map +1 -1
  78. package/dist/types/types.d.ts +91 -2
  79. package/dist/types/types.d.ts.map +1 -1
  80. package/package.json +9 -3
@@ -1,7 +1,22 @@
1
1
  import * as _agents24_client_protocol from '@agents24/client/protocol';
2
2
  import { ToolInputOverrides, PublicResponseBlock, ContextWindow, RuntimeEvent, ThreadMessagesPage, ThreadMessageSubmission, ThreadMessage, RunCancelResult, AttachmentUploadResult, AttachmentContentAccess, RunResumeResult, ThreadsResponse, ThreadSummaryEvent, ThreadDetail, ThreadDeleteResult, RunContext } from '@agents24/client/protocol';
3
+ import { ClientInputFeature } from '@agents24/client';
4
+
5
+ type RunUsage = {
6
+ source?: "exact" | "estimated" | "unknown";
7
+ input_tokens?: number | null;
8
+ output_tokens?: number | null;
9
+ total_tokens?: number;
10
+ cached_input_tokens?: number | null;
11
+ cache_write_input_tokens?: number | null;
12
+ cache_write_input_tokens_by_ttl?: Record<string, number>;
13
+ cached_output_tokens?: number | null;
14
+ reasoning_tokens?: number | null;
15
+ };
3
16
 
4
17
  type EmbedStreamRequest = {
18
+ relay_client_id?: string | null;
19
+ execution_limits?: RunExecutionLimits;
5
20
  client_submission_id?: string;
6
21
  agent_version_id?: string;
7
22
  input?: string;
@@ -90,7 +105,9 @@ type EmbedRuntimeBootstrap = {
90
105
  agent_aliases: string[];
91
106
  agent_version_id?: string;
92
107
  agent_version_number?: number;
93
- features: Record<string, unknown>;
108
+ features: Record<string, unknown> & {
109
+ inputs: ClientInputFeature;
110
+ };
94
111
  thread_events_path?: string | null;
95
112
  thread_events_url?: string | null;
96
113
  };
@@ -128,6 +145,8 @@ type EmbedThreadMessageScope = {
128
145
  chatScope?: string;
129
146
  };
130
147
  type EmbedThreadMessageSubmit = {
148
+ relayClientId?: string | null;
149
+ executionLimits?: RunExecutionLimits;
131
150
  knowledgeNamespaces?: Record<string, string>;
132
151
  } & EmbedThreadMessageScope & {
133
152
  agentVersionId?: string | null;
@@ -148,6 +167,7 @@ type EmbedThreadMessageEdit = EmbedThreadMessageScope & {
148
167
  attachmentIds?: string[];
149
168
  requestedModelId?: string;
150
169
  mode?: "steer";
170
+ metadata?: Record<string, unknown>;
151
171
  };
152
172
  type ThreadComputerStatus = {
153
173
  available: boolean;
@@ -242,6 +262,7 @@ type ConversationThreadOptions = ThreadDetailOptions & {
242
262
  chatScope?: string;
243
263
  };
244
264
  type ConversationRuntimeSelectionRequest = {
265
+ relay_client_id?: string | null;
245
266
  agent_ids: string[];
246
267
  preferred_agent_id: string;
247
268
  preferred_model_id?: string | null;
@@ -256,6 +277,7 @@ type ConversationRuntimeSelectionResult = {
256
277
  runtime_selection: {
257
278
  agent_id: string;
258
279
  model_id: string | null;
280
+ relay_client_id?: string | null;
259
281
  };
260
282
  models: {
261
283
  default_id: string | null;
@@ -295,6 +317,9 @@ type EmbedAttachmentContentAccessRequest = AttachmentContentAccessRequest & {
295
317
  chatScope?: string;
296
318
  };
297
319
  type ServerEmbedAttachmentUploadOptions = ServerAttachmentUploadOptions & {
320
+ /** Bind tool-produced media to the executing run/version. */
321
+ runId?: string;
322
+ signal?: AbortSignal;
298
323
  externalUserId: string;
299
324
  externalSessionId?: string;
300
325
  runtimeTarget?: "draft" | "published";
@@ -315,7 +340,7 @@ interface DelegationResult {
315
340
  interface DelegationInvocation {
316
341
  run_id: string;
317
342
  status: string;
318
- usage: Record<string, unknown>;
343
+ usage: RunUsage;
319
344
  }
320
345
  interface DelegationQuestionOption {
321
346
  id: string;
@@ -389,7 +414,7 @@ interface DelegationHistoryTurn {
389
414
  response_blocks: Array<PublicResponseBlock>;
390
415
  completed_at?: string | null;
391
416
  final_output?: unknown;
392
- run_usage?: Record<string, unknown>;
417
+ run_usage?: RunUsage | null;
393
418
  exchanges?: Array<DelegationExchange>;
394
419
  }
395
420
  interface DelegationHistoryPaging {
@@ -472,7 +497,7 @@ declare class DelegationsNamespace {
472
497
  }
473
498
 
474
499
  type ModelRuntimeKind = "chat" | "embedding" | "speech_to_text" | "image_generation" | "rerank" | "ocr";
475
- type ModelPricingDimension = "audio_input_second" | "audio_input_token" | "audio_output_token" | "cached_input_token" | "image_output" | "input_token" | "ocr_page" | "output_token" | "reasoning_token" | "request" | "search_request";
500
+ type ModelPricingDimension = "audio_input_second" | "audio_input_token" | "audio_output_token" | "cache_write_input_token" | "cached_input_token" | "image_output" | "input_token" | "ocr_page" | "output_token" | "reasoning_token" | "request" | "search_request";
476
501
  type ModelCapabilityFeatures = {
477
502
  tool_calling: boolean;
478
503
  structured_output: boolean;
@@ -506,6 +531,12 @@ type ModelRequirements = {
506
531
  runtime_kinds?: Array<"chat" | "embedding" | "speech_to_text" | "image_generation" | "rerank" | "ocr">;
507
532
  };
508
533
 
534
+ type RunExecutionLimits = {
535
+ max_tool_calls_per_run?: number;
536
+ max_run_seconds?: number;
537
+ deadline_at?: string;
538
+ };
539
+
509
540
  type Agents24NodeOptions = {
510
541
  baseUrl: string;
511
542
  apiKey: string;
@@ -514,6 +545,7 @@ type Agents24NodeOptions = {
514
545
  /** @deprecated Use Agents24NodeOptions. */
515
546
  type Agents24Options = Agents24NodeOptions;
516
547
  type RequestOptions = {
548
+ signal?: AbortSignal;
517
549
  idempotencyKey?: string;
518
550
  dryRun?: boolean;
519
551
  validateOnly?: boolean;
@@ -528,6 +560,7 @@ type StreamRequestOptions = RequestOptions & {
528
560
  onControl?: (control: _agents24_client_protocol.ObservationControl) => void | Promise<void>;
529
561
  };
530
562
  type AgentStreamRequest = {
563
+ relay_client_id?: string | null;
531
564
  client_submission_id?: string;
532
565
  input?: string;
533
566
  messages?: Array<Record<string, unknown>>;
@@ -543,6 +576,9 @@ type AgentStreamRequest = {
543
576
  agent_version_id?: string;
544
577
  };
545
578
  type ControlPlaneAgentRunRequest = {
579
+ relay_client_id?: string | null;
580
+ execution_limits?: RunExecutionLimits;
581
+ knowledge_namespaces?: Record<string, string>;
546
582
  input?: string;
547
583
  messages?: Array<Record<string, unknown>>;
548
584
  thread_id?: string;
@@ -749,6 +785,11 @@ type FailureView = {
749
785
  details: Record<string, unknown>;
750
786
  };
751
787
  type RunStatus = {
788
+ execution_budget?: {
789
+ max_tool_calls_per_run: number;
790
+ tool_calls_used: number;
791
+ deadline_at: string;
792
+ } | null;
752
793
  id: string;
753
794
  status: string;
754
795
  result?: unknown;
@@ -760,7 +801,7 @@ type RunStatus = {
760
801
  model_context_summary?: Record<string, unknown>;
761
802
  failure?: FailureView | null;
762
803
  checkpoint?: Record<string, unknown> | null;
763
- run_usage?: Record<string, unknown>;
804
+ run_usage?: RunUsage;
764
805
  context_window?: ContextWindow | null;
765
806
  lineage?: Record<string, unknown>;
766
807
  pending_interrupts?: Array<Record<string, unknown>>;
@@ -1240,13 +1281,14 @@ type ResourceInstallation = {
1240
1281
  publication_state?: "never_published" | "current" | "draft_changes";
1241
1282
  bindings?: ResourceInstallationBinding[];
1242
1283
  callable_bindings?: ResourceCallableBindingStatus[];
1243
- development_connections?: ArtifactDevelopmentSession[];
1284
+ relay_clients?: ArtifactRelayClientStatus[];
1244
1285
  remote_artifact_stages?: Array<{
1245
1286
  resource_key: string;
1246
1287
  artifact_id: string;
1247
1288
  target: "development" | "production";
1248
1289
  status: string;
1249
1290
  manifest_hash: string;
1291
+ transport: "http" | "relay";
1250
1292
  base_url?: string | null;
1251
1293
  }>;
1252
1294
  latest_apply?: ResourceInstallationOperation | null;
@@ -1467,6 +1509,76 @@ type ResourcePolicyQuotaScheduleResult = {
1467
1509
  subject_ref: ResourcePolicySubjectRef;
1468
1510
  quota_schedule: ResourcePolicyQuotaSchedule;
1469
1511
  };
1512
+ /** Authorized result of one embedded workflow; no model or checkpoint internals. */
1513
+ type EmbeddedRunSnapshot = {
1514
+ run_id: string;
1515
+ thread_id: string | null;
1516
+ status: "queued" | "pending" | "running" | "cancelling" | "completed" | "failed" | "cancelled" | "paused";
1517
+ final_output: unknown;
1518
+ final_output_available: boolean;
1519
+ failure: FailureView | null;
1520
+ };
1521
+ type WaitForAgentRunOptions = {
1522
+ signal?: AbortSignal;
1523
+ timeoutMs?: number;
1524
+ };
1525
+ type ArtifactRelayClientCreate = {
1526
+ id: string;
1527
+ name: string;
1528
+ runtime_principal_id?: string | null;
1529
+ };
1530
+ type ArtifactRelayTicketRequest = {
1531
+ registrations: Array<{
1532
+ artifact_id: string;
1533
+ target: "draft" | "published";
1534
+ authoring?: boolean;
1535
+ installation_id?: string;
1536
+ resource_key?: string;
1537
+ }>;
1538
+ };
1539
+ type ArtifactRelayConnectionTicket = {
1540
+ client_id: string;
1541
+ relay_token: string;
1542
+ relay_path: string;
1543
+ protocol: string;
1544
+ expires_in_seconds: number;
1545
+ };
1546
+ type ArtifactRelayClientStatus = {
1547
+ selectable: boolean;
1548
+ id: string;
1549
+ name: string;
1550
+ runtime_principal_id: string | null;
1551
+ status: "connected" | "disconnected" | "revoked";
1552
+ registrations: Array<{
1553
+ id: string;
1554
+ artifact_id: string;
1555
+ target: "draft" | "published";
1556
+ manifest_hash: string | null;
1557
+ contract_status: string;
1558
+ ready: boolean;
1559
+ }>;
1560
+ };
1561
+ type ArtifactRelayClientList = {
1562
+ items: ArtifactRelayClientStatus[];
1563
+ };
1564
+ type ArtifactRelayOptionsQuery = {
1565
+ runtimeTarget?: "draft" | "published";
1566
+ agentVersionId?: string;
1567
+ };
1568
+ type ArtifactRelayOptions = {
1569
+ runtime_target: "draft" | "published";
1570
+ dependencies_ready: boolean;
1571
+ http_artifacts: Array<{
1572
+ artifact_id: string;
1573
+ ready: boolean;
1574
+ }>;
1575
+ required_artifact_ids: string[];
1576
+ clients: Array<{
1577
+ client: ArtifactRelayClientStatus;
1578
+ ready: boolean;
1579
+ missing_artifact_ids: string[];
1580
+ }>;
1581
+ };
1470
1582
 
1471
1583
  type RequestConfig = {
1472
1584
  method?: string;
@@ -1475,6 +1587,7 @@ type RequestConfig = {
1475
1587
  headers?: HeadersInit;
1476
1588
  options?: RequestOptions;
1477
1589
  mutation?: boolean;
1590
+ signal?: AbortSignal;
1478
1591
  };
1479
1592
  declare class Agents24HttpClient {
1480
1593
  private readonly base;
@@ -1519,6 +1632,7 @@ declare class AgentsNamespace {
1519
1632
  attachmentIds?: string[];
1520
1633
  requestedAgentId?: string;
1521
1634
  requestedModelId?: string;
1635
+ relayClientId?: string | null;
1522
1636
  }, options?: RequestOptions): Promise<ThreadMessageSubmission>;
1523
1637
  editPendingMessage(agentId: string, message: ThreadMessage, payload: {
1524
1638
  input: string;
@@ -1654,6 +1768,10 @@ declare class EmbedNamespace extends EmbedDelegationsNamespace {
1654
1768
  download?: boolean;
1655
1769
  }): Promise<ThreadComputerContentAccess>;
1656
1770
  deleteAgentThread(agentId: string, threadId: string, options: ThreadDeleteOptions, requestOptions?: RequestOptions): Promise<ThreadDeleteResult>;
1771
+ getAgentRun(agentId: string, runId: string, scope: RunContextOptions, options?: {
1772
+ signal?: AbortSignal;
1773
+ }): Promise<EmbeddedRunSnapshot>;
1774
+ waitForAgentRun(agentId: string, runId: string, scope: RunContextOptions, options?: WaitForAgentRunOptions): Promise<EmbeddedRunSnapshot>;
1657
1775
  getAgentRunContext(agentId: string, runId: string, options: RunContextOptions): Promise<RunContext>;
1658
1776
  cancelAgentRun(agentId: string, runId: string, options: EmbedRunCancelOptions, requestOptions?: RequestOptions): Promise<RunCancelResult>;
1659
1777
  setAgentRunFeedback(agentId: string, runId: string, payload: EmbeddedResponseFeedbackInput): Promise<ResponseFeedbackResult>;
@@ -1673,6 +1791,17 @@ declare class ResourcePackagesNamespace {
1673
1791
  candidates(options: ResourcePackageCandidateOptions): Promise<ResourceCandidateList>;
1674
1792
  }
1675
1793
 
1794
+ declare class RelayClientsNamespace {
1795
+ protected readonly http: Agents24HttpClient;
1796
+ constructor(http: Agents24HttpClient);
1797
+ create(request: ArtifactRelayClientCreate, options?: RequestOptions): Promise<ArtifactRelayClientStatus>;
1798
+ list(): Promise<ArtifactRelayClientList>;
1799
+ get(clientId: string): Promise<ArtifactRelayClientStatus>;
1800
+ revoke(clientId: string, options?: RequestOptions): Promise<ArtifactRelayClientStatus>;
1801
+ createTicket(clientId: string, request: ArtifactRelayTicketRequest, options?: RequestOptions): Promise<ArtifactRelayConnectionTicket>;
1802
+ agentOptions(agentId: string, options?: ArtifactRelayOptionsQuery): Promise<ArtifactRelayOptions>;
1803
+ }
1804
+
1676
1805
  declare class ResourceInstallationsNamespace {
1677
1806
  protected readonly http: Agents24HttpClient;
1678
1807
  constructor(http: Agents24HttpClient);
@@ -1689,7 +1818,6 @@ declare class ResourceInstallationsNamespace {
1689
1818
  apply(operationId: string, request: ResourceInstallationApplyRequest, options?: RequestOptions): Promise<ResourceInstallationOperation>;
1690
1819
  operationStatus(operationId: string): Promise<ResourceInstallationOperation>;
1691
1820
  publish(installationId: string, request: ResourceInstallationPublishRequest, options?: RequestOptions): Promise<ResourceInstallationPublication>;
1692
- prepareDevelopmentSession(installationId: string, request: ArtifactDevelopmentSessionPrepareRequest, options?: RequestOptions): Promise<ArtifactDevelopmentSessionAdmission>;
1693
1821
  developmentSessionStatus(installationId: string, resourceKey: string): Promise<ArtifactDevelopmentSession>;
1694
1822
  revokeDevelopmentSession(installationId: string, sessionId: string, options?: RequestOptions): Promise<ArtifactDevelopmentSession>;
1695
1823
  bindDeployment(installationId: string, request: ResourceInstallationDeploymentRequest, options?: RequestOptions): Promise<ResourceInstallation>;
@@ -1775,6 +1903,96 @@ declare class CustomerProfilesNamespace {
1775
1903
  search(options: CustomerProfileSearchOptions): Promise<CustomerProfileList>;
1776
1904
  }
1777
1905
 
1906
+ type ModelProviderRoute = {
1907
+ id: string;
1908
+ route_kind: "agents24" | "byok";
1909
+ provider: string;
1910
+ offering_id: string | null;
1911
+ provider_model_id: string | null;
1912
+ is_enabled: boolean;
1913
+ is_ready: boolean;
1914
+ capability_compatible: boolean;
1915
+ unavailable_reason: string | null;
1916
+ config: Record<string, unknown>;
1917
+ credentials_ref: string | null;
1918
+ credential: {
1919
+ id: string;
1920
+ display_name: string;
1921
+ } | null;
1922
+ route_set_revision: number;
1923
+ is_selected: boolean;
1924
+ };
1925
+ type ModelSummary = {
1926
+ id: string;
1927
+ name: string;
1928
+ description: string | null;
1929
+ runtime_kind: string;
1930
+ capabilities: Record<string, unknown>;
1931
+ status: string;
1932
+ is_active: boolean;
1933
+ catalog_model_id: string | null;
1934
+ providers?: ModelProviderRoute[];
1935
+ };
1936
+ type ModelOffering = {
1937
+ id: string;
1938
+ canonical_model_id: string;
1939
+ canonical_name: string;
1940
+ provider: string;
1941
+ provider_model_id: string;
1942
+ runtime_kind: string;
1943
+ capabilities: Record<string, unknown>;
1944
+ };
1945
+ type ModelProviderCreate = {
1946
+ offering_id: string;
1947
+ config?: Record<string, unknown>;
1948
+ } & ({
1949
+ credentials_ref: string;
1950
+ new_credential?: never;
1951
+ } | {
1952
+ credentials_ref?: never;
1953
+ new_credential: {
1954
+ api_key: string;
1955
+ };
1956
+ });
1957
+ /** Organization-scoped model catalog and exact BYOK routes. No model creation or fallback. */
1958
+ declare class ModelsNamespace {
1959
+ private readonly http;
1960
+ constructor(http: Agents24HttpClient);
1961
+ list(query?: {
1962
+ q?: string;
1963
+ runtime_kind?: string;
1964
+ include_inactive?: boolean;
1965
+ skip?: number;
1966
+ limit?: number;
1967
+ view?: "summary" | "full";
1968
+ }): Promise<{
1969
+ items: ModelSummary[];
1970
+ total: number;
1971
+ has_more: boolean;
1972
+ }>;
1973
+ get(modelId: string): Promise<ModelSummary>;
1974
+ listOfferings(query?: {
1975
+ model_id?: string;
1976
+ runtime_kind?: string;
1977
+ provider?: string;
1978
+ search?: string;
1979
+ }): Promise<{
1980
+ items: ModelOffering[];
1981
+ }>;
1982
+ addProvider(modelId: string, request: ModelProviderCreate, options?: RequestOptions): Promise<ModelProviderRoute[]>;
1983
+ selectProvider(modelId: string, request: {
1984
+ route_id: string;
1985
+ expected_revision?: number;
1986
+ }, options?: RequestOptions): Promise<ModelProviderRoute[]>;
1987
+ updateProvider(modelId: string, providerId: string, request: {
1988
+ offering_id?: string;
1989
+ is_enabled?: boolean;
1990
+ config?: Record<string, unknown>;
1991
+ credentials_ref?: string | null;
1992
+ }, options?: RequestOptions): Promise<ModelProviderRoute[]>;
1993
+ removeProvider(modelId: string, providerId: string, options?: RequestOptions): Promise<ModelProviderRoute[]>;
1994
+ }
1995
+
1778
1996
  type PipelineSummary = {
1779
1997
  id: string;
1780
1998
  name: string;
@@ -2356,6 +2574,17 @@ type IndexedRecordIdListOptions = {
2356
2574
  cursor?: string;
2357
2575
  limit?: number;
2358
2576
  };
2577
+ type JobResultOptions = {
2578
+ page_size?: number;
2579
+ cursor?: string;
2580
+ };
2581
+ type PipelineResultPage = {
2582
+ results: Array<unknown>;
2583
+ count: number;
2584
+ next_cursor: string | null;
2585
+ result_limit: number;
2586
+ truncated: false;
2587
+ };
2359
2588
 
2360
2589
  declare class PipelinesNamespace {
2361
2590
  protected readonly http: Agents24HttpClient;
@@ -2385,7 +2614,7 @@ declare class IngestionJobsNamespace {
2385
2614
  getStepData(jobId: string, stepId: string, options: JobStepDataOptions): Promise<JobStepData>;
2386
2615
  getStepField(jobId: string, stepId: string, options: JobStepFieldOptions): Promise<JobFieldData>;
2387
2616
  downloadStepData(jobId: string, stepId: string, options: JobStepDownloadOptions): Promise<JobPayloadDownload>;
2388
- getResult(jobId: string): Promise<JobResult>;
2617
+ getResult(jobId: string, options?: JobResultOptions): Promise<JobResult>;
2389
2618
  getProcessedContent(jobId: string, options: ProcessedContentOptions): Promise<JobResult>;
2390
2619
  }
2391
2620
 
@@ -2429,6 +2658,7 @@ declare class GeneratedIntegrationNamespaces {
2429
2658
 
2430
2659
  declare class Agents24 extends GeneratedIntegrationNamespaces {
2431
2660
  readonly agents: AgentsNamespace;
2661
+ readonly relayClients: RelayClientsNamespace;
2432
2662
  readonly embed: EmbedNamespace;
2433
2663
  readonly runs: RunsNamespace;
2434
2664
  readonly delegations: DelegationsNamespace;
@@ -2440,9 +2670,10 @@ declare class Agents24 extends GeneratedIntegrationNamespaces {
2440
2670
  readonly hostedArtifacts: HostedArtifactsNamespace;
2441
2671
  readonly resourcePolicies: ResourcePoliciesNamespace;
2442
2672
  readonly customerProfiles: CustomerProfilesNamespace;
2673
+ readonly models: ModelsNamespace;
2443
2674
  constructor(options: Agents24NodeOptions);
2444
2675
  agent(options: AgentDefinitionOptions): AgentDefinitionBuilder;
2445
2676
  graph(): GraphBuilder;
2446
2677
  }
2447
2678
 
2448
- export { type CustomerResourcePolicyAssignment as $, Agents24 as A, type BackendSessionRequestOptions as B, type ClearCustomerResourcePolicyAssignmentResult as C, type ClientDeploymentListQuery as D, type ClientDeploymentListResponse as E, type ClientNativeProfile as F, type ClientRuntimeNativeProfileInput as G, type ClientRuntimeOidcConfig as H, type ClientRuntimePolicyInput as I, type ClientSessionCredentials as J, type ContentChunk as K, type ContentSegment as L, type ControlPlaneAgentRunRequest as M, type ControlPlaneRunEventsResponse as N, type ConversationRunRequest as O, type ConversationRunResult as P, type ConversationRuntimeSelectionRequest as Q, type ConversationRuntimeSelectionResult as R, type ConversationThreadOptions as S, type CreateBackendClientSessionRequest as T, type CreateClientDeploymentRequest as U, type CustomerIdentityRequest as V, type CustomerPrincipalRefRequest as W, type CustomerProfile as X, type CustomerProfileList as Y, type CustomerProfilePatch as Z, type CustomerProfileSearchOptions as _, type AgentCreateRequest as a, type JobStepFieldOptions as a$, type DelegationAction as a0, type DelegationActionReceipt as a1, type DelegationActionRequest as a2, type DelegationEvents as a3, type DelegationHistory as a4, type DelegationHistoryTurn as a5, type DelegationStatus as a6, type DelegationTask as a7, type DelegationTaskList as a8, type EffectiveCustomerResourcePolicyRequest as a9, type GraphValueRef as aA, type HitlAction as aB, type HitlAnswer as aC, type HostedArtifactDraft as aD, HostedArtifactsNamespace as aE, type IndexedCleanupAck as aF, type IndexedContent as aG, type IndexedContentListOptions as aH, type IndexedContentPage as aI, type IndexedRecordIdListOptions as aJ, type IndexedRecordIdPage as aK, type IngestionBatch as aL, type IngestionBatchListOptions as aM, type IngestionBatchPage as aN, type IngestionJob as aO, type IngestionJobAcknowledgment as aP, type IngestionJobGetOptions as aQ, type IngestionJobListOptions as aR, type IngestionJobPage as aS, type IngestionJobStart as aT, type JobFieldData as aU, type JobPayloadDownload as aV, type JobResult as aW, type JobStep as aX, type JobStepData as aY, type JobStepDataOptions as aZ, type JobStepDownloadOptions as a_, type EffectiveResourcePolicy as aa, type EmbedAgentAliasResolution as ab, type EmbedAttachmentContentAccessRequest as ac, type EmbedCustomerPrincipalResolveRequest as ad, type EmbedCustomerPrincipalResolveResponse as ae, type EmbedDelegationOptions as af, type EmbedResourcePolicyRequest as ag, type EmbedRunCancelOptions as ah, type EmbedRunStartRequest as ai, type EmbedRuntimeBootstrap as aj, type EmbedStreamRequest as ak, type EmbedThreadMessageEdit as al, type EmbedThreadMessageScope as am, type EmbedThreadMessageSubmit as an, type EmbeddedResponseFeedbackInput as ao, type EvidenceLocation as ap, type FailureCategory as aq, type FailureView as ar, type FeedbackRating as as, type FeedbackReason as at, type FileAssetReference as au, GraphBuilder as av, type GraphDefinition as aw, type GraphEdge as ax, type GraphHints as ay, type GraphNode as az, AgentDefinitionBuilder as b, type ResourceCandidateList as b$, type JobSteps as b0, type KnowledgeStore as b1, type KnowledgeStoreChunking as b2, type KnowledgeStoreCreate as b3, type KnowledgeStoreListOptions as b4, type KnowledgeStoreNamespace as b5, type KnowledgeStorePage as b6, type KnowledgeStoreStats as b7, type KnowledgeStoreUpdate as b8, type LatestOrPinnedPolicy as b9, type PipelineSummary as bA, type PortableResourceKind as bB, type ProcessedContent as bC, type ProcessedContentOptions as bD, type ProcessedContentReference as bE, type ProcessingInput as bF, type ProcessingInputSource as bG, type PublishedExecutable as bH, type RagRetention as bI, type RawVectorMatch as bJ, type RawVectorRecord as bK, type RecordBatchResult as bL, type RecordCapabilities as bM, type RecordDeleteRequest as bN, type RecordFetchRequest as bO, type RecordFetchResult as bP, type RecordListRequest as bQ, type RecordMutationAck as bR, type RecordPage as bS, type RecordQueryRequest as bT, type RecordQueryResult as bU, type RecordUpdateRequest as bV, type RecordUpsertRequest as bW, type RequestOptions as bX, type ResetResourcePolicyQuotaRequest as bY, type ResourceCallableBinding as bZ, type ResourceCallableBindingStatus as b_, type McpAuthStartRequest as ba, type McpAuthStartResult as bb, type ModelCapabilitiesV1 as bc, type ModelPricingDimension as bd, type ModelRequirements as be, type ModelRuntimeKind as bf, type MultiAgentThreadListRequest as bg, type MultiAgentThreadSummaryEventOptions as bh, type NamespaceDataStats as bi, type NamespaceInput as bj, type NamespaceListOptions as bk, type NamespacePage as bl, type NamespaceSummary as bm, type NativePlatform as bn, type NodeAuthoringSpec as bo, type NodeCatalogItem as bp, type NodeCatalogResponse as bq, type NodeSchemaResponse as br, type OCROptions as bs, type PayloadAvailability as bt, type PipelineInputField as bu, type PipelineInputSchema as bv, type PipelineInputStep as bw, type PipelineInputUpload as bx, type PipelineListOptions as by, type PipelinePage as bz, type AgentDefinitionOptions as c, type ThreadDetailOptions as c$, type ResourceInstallation as c0, type ResourceInstallationApplication as c1, type ResourceInstallationApplyRequest as c2, type ResourceInstallationBinding as c3, type ResourceInstallationCreateRequest as c4, type ResourceInstallationDeploymentRequest as c5, type ResourceInstallationLinkRequest as c6, type ResourceInstallationList as c7, type ResourceInstallationOperation as c8, type ResourceInstallationPlan as c9, type ResourceSelector as cA, type ResourceToolExport as cB, type ResponseFeedback as cC, type ResponseFeedbackResult as cD, type ResumeRunRequest as cE, type RetrievalEvidence as cF, type RunCancelOptions as cG, type RunContextOptions as cH, type RunStatus as cI, type RunTrace as cJ, type ServerAttachmentUploadOptions as cK, type ServerEmbedAttachmentUploadOptions as cL, type SetCustomerResourcePolicyAssignmentRequest as cM, type SetResourcePolicyQuotaScheduleRequest as cN, type SourceDescriptor as cO, type SourceOutcome as cP, type StartRunResult as cQ, type StateVariableDefinition as cR, type StreamRequestOptions as cS, type StreamResult as cT, type ThreadComputerContentAccess as cU, type ThreadComputerFile as cV, type ThreadComputerFileOptions as cW, type ThreadComputerFileText as cX, type ThreadComputerFiles as cY, type ThreadComputerStatus as cZ, type ThreadDeleteOptions as c_, type ResourceInstallationPlanUpload as ca, type ResourceInstallationPublication as cb, type ResourceInstallationPublishRequest as cc, type ResourceInstallationPullAcceptRequest as cd, type ResourceInstallationPullChange as ce, type ResourceInstallationPullPayload as cf, type ResourceInstallationPullPlan as cg, type ResourceInstallationResourceListOptions as ch, type ResourceInstallationSecretStatus as ci, type ResourceInstallationSecretsRequest as cj, type ResourcePackageArchive as ck, type ResourcePackageCandidateOptions as cl, type ResourcePackageDependency as cm, type ResourcePackageDiagnostic as cn, type ResourcePackageExportPlan as co, type ResourcePackageExportRequest as cp, type ResourcePackageImportPreview as cq, type ResourcePackageImportResult as cr, type ResourcePackageImportUpload as cs, type ResourcePackageUpload as ct, type ResourcePackageValidationResult as cu, type ResourcePolicyList as cv, type ResourcePolicyQuotaSchedule as cw, type ResourcePolicyQuotaScheduleResult as cx, type ResourcePolicySubjectRef as cy, type ResourcePolicySummary as cz, type AgentListResponse as d, type ThreadListOptions as d0, type ThreadSummaryEventOptions as d1, type TraceContent as d2, type TraceError as d3, type TraceSpan as d4, type TraceSpanKind as d5, type TraceSpanStatus as d6, type TraceView as d7, type UpdateClientDeploymentRequest as d8, type UploadPart as d9, type UploadPartAck as da, type UploadSession as db, type UploadSessionStart as dc, type WorkflowInputDefinition as dd, type AgentRef as e, type AgentResponse as f, type AgentStreamRequest as g, type AgentSummary as h, type AgentToolsetAttachment as i, type AgentUpdateRequest as j, type AgentValidationIssue as k, type AgentValidationResult as l, Agents24SDKError as m, type Agents24NodeErrorKind as n, type Agents24NodeOptions as o, type Agents24Options as p, type Agents24SDKErrorKind as q, type Agents24SDKSerializedError as r, type ArtifactDevelopmentSession as s, type ArtifactDevelopmentSessionAdmission as t, type ArtifactDevelopmentSessionPrepareRequest as u, type AttachRunRequest as v, type AttachmentContentAccessRequest as w, type BranchingHint as x, type ClientAuthMode as y, type ClientDeployment as z };
2679
+ export { type CreateBackendClientSessionRequest as $, Agents24 as A, type ArtifactRelayOptionsQuery as B, type ArtifactRelayTicketRequest as C, type AttachRunRequest as D, type EmbeddedRunSnapshot as E, type AttachmentContentAccessRequest as F, type BackendSessionRequestOptions as G, type BranchingHint as H, type ClearCustomerResourcePolicyAssignmentResult as I, type ClientAuthMode as J, type ClientDeployment as K, type ClientDeploymentListQuery as L, type ClientDeploymentListResponse as M, type ClientNativeProfile as N, type ClientRuntimeNativeProfileInput as O, type ClientRuntimeOidcConfig as P, type ClientRuntimePolicyInput as Q, type ClientSessionCredentials as R, type ContentChunk as S, type ContentSegment as T, type ControlPlaneAgentRunRequest as U, type ControlPlaneRunEventsResponse as V, type ConversationRunRequest as W, type ConversationRunResult as X, type ConversationRuntimeSelectionRequest as Y, type ConversationRuntimeSelectionResult as Z, type ConversationThreadOptions as _, type AgentCreateRequest as a, type IngestionJobStart as a$, type CreateClientDeploymentRequest as a0, type CustomerIdentityRequest as a1, type CustomerPrincipalRefRequest as a2, type CustomerProfile as a3, type CustomerProfileList as a4, type CustomerProfilePatch as a5, type CustomerProfileSearchOptions as a6, type CustomerResourcePolicyAssignment as a7, type DelegationAction as a8, type DelegationActionReceipt as a9, type FeedbackRating as aA, type FeedbackReason as aB, type FileAssetReference as aC, GraphBuilder as aD, type GraphDefinition as aE, type GraphEdge as aF, type GraphHints as aG, type GraphNode as aH, type GraphValueRef as aI, type HitlAction as aJ, type HitlAnswer as aK, type HostedArtifactDraft as aL, HostedArtifactsNamespace as aM, type IndexedCleanupAck as aN, type IndexedContent as aO, type IndexedContentListOptions as aP, type IndexedContentPage as aQ, type IndexedRecordIdListOptions as aR, type IndexedRecordIdPage as aS, type IngestionBatch as aT, type IngestionBatchListOptions as aU, type IngestionBatchPage as aV, type IngestionJob as aW, type IngestionJobAcknowledgment as aX, type IngestionJobGetOptions as aY, type IngestionJobListOptions as aZ, type IngestionJobPage as a_, type DelegationActionRequest as aa, type DelegationEvents as ab, type DelegationHistory as ac, type DelegationHistoryTurn as ad, type DelegationStatus as ae, type DelegationTask as af, type DelegationTaskList as ag, type EffectiveCustomerResourcePolicyRequest as ah, type EffectiveResourcePolicy as ai, type EmbedAgentAliasResolution as aj, type EmbedAttachmentContentAccessRequest as ak, type EmbedCustomerPrincipalResolveRequest as al, type EmbedCustomerPrincipalResolveResponse as am, type EmbedDelegationOptions as an, type EmbedResourcePolicyRequest as ao, type EmbedRunCancelOptions as ap, type EmbedRunStartRequest as aq, type EmbedRuntimeBootstrap as ar, type EmbedStreamRequest as as, type EmbedThreadMessageEdit as at, type EmbedThreadMessageScope as au, type EmbedThreadMessageSubmit as av, type EmbeddedResponseFeedbackInput as aw, type EvidenceLocation as ax, type FailureCategory as ay, type FailureView as az, AgentDefinitionBuilder as b, type RecordCapabilities as b$, type JobFieldData as b0, type JobPayloadDownload as b1, type JobResult as b2, type JobResultOptions as b3, type JobStep as b4, type JobStepData as b5, type JobStepDataOptions as b6, type JobStepDownloadOptions as b7, type JobStepFieldOptions as b8, type JobSteps as b9, type NamespaceSummary as bA, type NativePlatform as bB, type NodeAuthoringSpec as bC, type NodeCatalogItem as bD, type NodeCatalogResponse as bE, type NodeSchemaResponse as bF, type OCROptions as bG, type PayloadAvailability as bH, type PipelineInputField as bI, type PipelineInputSchema as bJ, type PipelineInputStep as bK, type PipelineInputUpload as bL, type PipelineListOptions as bM, type PipelinePage as bN, type PipelineResultPage as bO, type PipelineSummary as bP, type PortableResourceKind as bQ, type ProcessedContent as bR, type ProcessedContentOptions as bS, type ProcessedContentReference as bT, type ProcessingInput as bU, type ProcessingInputSource as bV, type PublishedExecutable as bW, type RagRetention as bX, type RawVectorMatch as bY, type RawVectorRecord as bZ, type RecordBatchResult as b_, type KnowledgeStore as ba, type KnowledgeStoreChunking as bb, type KnowledgeStoreCreate as bc, type KnowledgeStoreListOptions as bd, type KnowledgeStoreNamespace as be, type KnowledgeStorePage as bf, type KnowledgeStoreStats as bg, type KnowledgeStoreUpdate as bh, type LatestOrPinnedPolicy as bi, type McpAuthStartRequest as bj, type McpAuthStartResult as bk, type ModelCapabilitiesV1 as bl, type ModelOffering as bm, type ModelPricingDimension as bn, type ModelProviderCreate as bo, type ModelProviderRoute as bp, type ModelRequirements as bq, type ModelRuntimeKind as br, type ModelSummary as bs, ModelsNamespace as bt, type MultiAgentThreadListRequest as bu, type MultiAgentThreadSummaryEventOptions as bv, type NamespaceDataStats as bw, type NamespaceInput as bx, type NamespaceListOptions as by, type NamespacePage as bz, type AgentDefinitionOptions as c, type ServerAttachmentUploadOptions as c$, type RecordDeleteRequest as c0, type RecordFetchRequest as c1, type RecordFetchResult as c2, type RecordListRequest as c3, type RecordMutationAck as c4, type RecordPage as c5, type RecordQueryRequest as c6, type RecordQueryResult as c7, type RecordUpdateRequest as c8, type RecordUpsertRequest as c9, type ResourcePackageCandidateOptions as cA, type ResourcePackageDependency as cB, type ResourcePackageDiagnostic as cC, type ResourcePackageExportPlan as cD, type ResourcePackageExportRequest as cE, type ResourcePackageImportPreview as cF, type ResourcePackageImportResult as cG, type ResourcePackageImportUpload as cH, type ResourcePackageUpload as cI, type ResourcePackageValidationResult as cJ, type ResourcePolicyList as cK, type ResourcePolicyQuotaSchedule as cL, type ResourcePolicyQuotaScheduleResult as cM, type ResourcePolicySubjectRef as cN, type ResourcePolicySummary as cO, type ResourceSelector as cP, type ResourceToolExport as cQ, type ResponseFeedback as cR, type ResponseFeedbackResult as cS, type ResumeRunRequest as cT, type RetrievalEvidence as cU, type RunCancelOptions as cV, type RunContextOptions as cW, type RunExecutionLimits as cX, type RunStatus as cY, type RunTrace as cZ, type RunUsage as c_, type RequestOptions as ca, type ResetResourcePolicyQuotaRequest as cb, type ResourceCallableBinding as cc, type ResourceCallableBindingStatus as cd, type ResourceCandidateList as ce, type ResourceInstallation as cf, type ResourceInstallationApplication as cg, type ResourceInstallationApplyRequest as ch, type ResourceInstallationBinding as ci, type ResourceInstallationCreateRequest as cj, type ResourceInstallationDeploymentRequest as ck, type ResourceInstallationLinkRequest as cl, type ResourceInstallationList as cm, type ResourceInstallationOperation as cn, type ResourceInstallationPlan as co, type ResourceInstallationPlanUpload as cp, type ResourceInstallationPublication as cq, type ResourceInstallationPublishRequest as cr, type ResourceInstallationPullAcceptRequest as cs, type ResourceInstallationPullChange as ct, type ResourceInstallationPullPayload as cu, type ResourceInstallationPullPlan as cv, type ResourceInstallationResourceListOptions as cw, type ResourceInstallationSecretStatus as cx, type ResourceInstallationSecretsRequest as cy, type ResourcePackageArchive as cz, type AgentListResponse as d, type ServerEmbedAttachmentUploadOptions as d0, type SetCustomerResourcePolicyAssignmentRequest as d1, type SetResourcePolicyQuotaScheduleRequest as d2, type SourceDescriptor as d3, type SourceOutcome as d4, type StartRunResult as d5, type StateVariableDefinition as d6, type StreamRequestOptions as d7, type StreamResult as d8, type ThreadComputerContentAccess as d9, type ThreadComputerFile as da, type ThreadComputerFileOptions as db, type ThreadComputerFileText as dc, type ThreadComputerFiles as dd, type ThreadComputerStatus as de, type ThreadDeleteOptions as df, type ThreadDetailOptions as dg, type ThreadListOptions as dh, type ThreadSummaryEventOptions as di, type TraceContent as dj, type TraceError as dk, type TraceSpan as dl, type TraceSpanKind as dm, type TraceSpanStatus as dn, type TraceView as dp, type UpdateClientDeploymentRequest as dq, type UploadPart as dr, type UploadPartAck as ds, type UploadSession as dt, type UploadSessionStart as du, type WaitForAgentRunOptions as dv, type WorkflowInputDefinition as dw, type AgentRef as e, type AgentResponse as f, type AgentStreamRequest as g, type AgentSummary as h, type AgentToolsetAttachment as i, type AgentUpdateRequest as j, type AgentValidationIssue as k, type AgentValidationResult as l, Agents24SDKError as m, type Agents24NodeErrorKind as n, type Agents24NodeOptions as o, type Agents24Options as p, type Agents24SDKErrorKind as q, type Agents24SDKSerializedError as r, type ArtifactDevelopmentSession as s, type ArtifactDevelopmentSessionAdmission as t, type ArtifactDevelopmentSessionPrepareRequest as u, type ArtifactRelayClientCreate as v, type ArtifactRelayClientList as w, type ArtifactRelayClientStatus as x, type ArtifactRelayConnectionTicket as y, type ArtifactRelayOptions as z };