@naturali/cli 0.208.10 → 0.209.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.
Files changed (2) hide show
  1. package/dist/index.mjs +385 -318
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
17
17
  };
18
18
  //#endregion
19
19
  //#region package.json
20
- var version = "0.208.10";
20
+ var version = "0.209.0";
21
21
  //#endregion
22
22
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
23
23
  const serializeFormDataPair = (data, key, value) => {
@@ -637,7 +637,7 @@ var Activity = class {
637
637
  /**
638
638
  * List activity feed entries
639
639
  *
640
- * Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.
640
+ * Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Pass the previous page's `next_cursor` as `cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.
641
641
  */
642
642
  static listActivity(options) {
643
643
  return (options.client ?? client).get({
@@ -1091,7 +1091,7 @@ var Channels = class {
1091
1091
  /**
1092
1092
  * Read a conversation's transcript
1093
1093
  *
1094
- * The conversation's messages, oldest first. naturali stores no message bodies — the dialogue lives in the runtime session the conversation maps to, so this reads through to the runtime. Pagination is `limit`/`offset` rather than an opaque cursor because the upstream is offset-based over a stable `position` ordering.
1094
+ * The conversation's messages, oldest first. naturali stores no message bodies — the dialogue lives in the runtime session the conversation maps to, so this reads through to the runtime.
1095
1095
  *
1096
1096
  */
1097
1097
  static listChannelConversationMessages(options) {
@@ -1552,7 +1552,7 @@ var AiProviders = class {
1552
1552
  * Listing resolves credentials the same way generation does, so a record that can generate can list. The API-key types (`openai`, `groq`, `xai`, `gateway`, `custom`, `anthropic`, `google`) use the record's linked secret and cannot list without one. `bedrock` and `vertex` use the linked secret — IAM keys or a Bedrock API key, a Google service-account key. A record with no `secret_id` would fall back to the server's own credentials (the AWS default credential chain, Google Application Default Credentials); it can list only on a deployment that allows a record to use them, and returns `400 AI_PROVIDER_MISCONFIGURED` otherwise.
1553
1553
  * A Vertex record needs no `config.project` when its secret is a service-account key, since the key file names its own project. A Vertex record in express mode (API key) cannot list at all: the publisher-model listing rejects API keys and needs a credential that asserts a principal, so it returns `400 MODEL_LISTING_UNSUPPORTED`.
1554
1554
  * The Vertex answer is the publisher catalogue the record's `config.location` region serves. The project behind the credential is billed and quota'd for the call but does not filter the result, so a listed model may still be unavailable to that project at generation time.
1555
- * The provider answers its whole catalogue in one call; `q`, `limit` and `offset` narrow and page what it returned. A request without `limit` gets the first 50 models.
1555
+ * The provider answers its whole catalogue in one call; `q`, `limit` and `cursor` narrow and page what it returned. A request without `limit` gets the first 50 models.
1556
1556
  *
1557
1557
  */
1558
1558
  static listAiProviderModels(options) {
@@ -1857,7 +1857,7 @@ var Assistant = class {
1857
1857
  /**
1858
1858
  * Read a conversation
1859
1859
  *
1860
- * A page of one conversation, oldest first. `offset` and `total` count every stored message, tool-only turns included, which this list leaves out — so a page can hold fewer than `limit`, and the list ends when `offset + limit` reaches `total`. The newest page is at `offset = total - limit`.
1860
+ * A page of one conversation, oldest first unless `order=desc`. The list leaves out tool-only turns, so a page can hold fewer than `limit` and still have a `next_cursor`.
1861
1861
  *
1862
1862
  */
1863
1863
  static listAssistantSessionMessages(options) {
@@ -5859,6 +5859,17 @@ var Triggers = class {
5859
5859
  });
5860
5860
  }
5861
5861
  /**
5862
+ * Count triggers
5863
+ *
5864
+ * Counts the triggers `GET /v1/projects/{project_id}/triggers` pages through under the same project and filters.
5865
+ */
5866
+ static countTriggers(options) {
5867
+ return (options.client ?? client).get({
5868
+ url: "/v1/projects/{project_id}/triggers/count",
5869
+ ...options
5870
+ });
5871
+ }
5872
+ /**
5862
5873
  * Delete a trigger
5863
5874
  *
5864
5875
  * Deletes a trigger
@@ -7329,7 +7340,7 @@ const routes = {
7329
7340
  "list-activity": {
7330
7341
  serviceClass: "Activity",
7331
7342
  operationId: "listActivity",
7332
- description: "Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.",
7343
+ description: "Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Pass the previous page's `next_cursor` as `cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.",
7333
7344
  moduleDocsUrl: "https://naturali.ai/docs/modules/activity",
7334
7345
  httpMethod: "get",
7335
7346
  pathParams: ["project_id"],
@@ -7339,8 +7350,8 @@ const routes = {
7339
7350
  "agent_id",
7340
7351
  "generation_id",
7341
7352
  "orchestration_run_id",
7342
- "cursor",
7343
- "limit"
7353
+ "limit",
7354
+ "cursor"
7344
7355
  ],
7345
7356
  headerParams: [],
7346
7357
  cookieParams: [],
@@ -7388,17 +7399,17 @@ const routes = {
7388
7399
  "in": "query"
7389
7400
  },
7390
7401
  {
7391
- "name": "cursor",
7392
- "description": "Opaque cursor from a previous page's `next_cursor`",
7402
+ "name": "limit",
7403
+ "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
7393
7404
  "required": false,
7394
- "type": "string",
7405
+ "type": "integer",
7395
7406
  "in": "query"
7396
7407
  },
7397
7408
  {
7398
- "name": "limit",
7399
- "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
7409
+ "name": "cursor",
7410
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
7400
7411
  "required": false,
7401
- "type": "integer",
7412
+ "type": "string",
7402
7413
  "in": "query"
7403
7414
  }
7404
7415
  ]
@@ -7479,7 +7490,7 @@ const routes = {
7479
7490
  "conversation_id",
7480
7491
  "tags",
7481
7492
  "limit",
7482
- "offset"
7493
+ "cursor"
7483
7494
  ],
7484
7495
  headerParams: [],
7485
7496
  cookieParams: [],
@@ -7541,10 +7552,10 @@ const routes = {
7541
7552
  "in": "query"
7542
7553
  },
7543
7554
  {
7544
- "name": "offset",
7545
- "description": "Results to skip. Negative or not an integer it is `400`.",
7555
+ "name": "cursor",
7556
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
7546
7557
  "required": false,
7547
- "type": "integer",
7558
+ "type": "string",
7548
7559
  "in": "query"
7549
7560
  }
7550
7561
  ]
@@ -7840,7 +7851,7 @@ const routes = {
7840
7851
  },
7841
7852
  {
7842
7853
  "name": "cursor",
7843
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
7854
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
7844
7855
  "required": false,
7845
7856
  "type": "string",
7846
7857
  "in": "query"
@@ -8012,7 +8023,7 @@ const routes = {
8012
8023
  },
8013
8024
  {
8014
8025
  "name": "cursor",
8015
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
8026
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8016
8027
  "required": false,
8017
8028
  "type": "string",
8018
8029
  "in": "query"
@@ -8050,7 +8061,7 @@ const routes = {
8050
8061
  },
8051
8062
  {
8052
8063
  "name": "cursor",
8053
- "description": "The `next_cursor` of the previous page.",
8064
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8054
8065
  "required": false,
8055
8066
  "type": "string",
8056
8067
  "in": "query"
@@ -8108,7 +8119,7 @@ const routes = {
8108
8119
  },
8109
8120
  {
8110
8121
  "name": "cursor",
8111
- "description": "The `next_cursor` of the previous page.",
8122
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8112
8123
  "required": false,
8113
8124
  "type": "string",
8114
8125
  "in": "query"
@@ -8194,7 +8205,7 @@ const routes = {
8194
8205
  },
8195
8206
  {
8196
8207
  "name": "cursor",
8197
- "description": "The `next_cursor` of the previous page.",
8208
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8198
8209
  "required": false,
8199
8210
  "type": "string",
8200
8211
  "in": "query"
@@ -8299,7 +8310,7 @@ const routes = {
8299
8310
  },
8300
8311
  {
8301
8312
  "name": "cursor",
8302
- "description": "The `next_cursor` of the previous page.",
8313
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8303
8314
  "required": false,
8304
8315
  "type": "string",
8305
8316
  "in": "query"
@@ -8337,7 +8348,7 @@ const routes = {
8337
8348
  },
8338
8349
  {
8339
8350
  "name": "cursor",
8340
- "description": "The `next_cursor` of the previous page.",
8351
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8341
8352
  "required": false,
8342
8353
  "type": "string",
8343
8354
  "in": "query"
@@ -8375,7 +8386,7 @@ const routes = {
8375
8386
  moduleDocsUrl: "https://naturali.ai/docs/modules/agents",
8376
8387
  httpMethod: "get",
8377
8388
  pathParams: ["project_id"],
8378
- queryParams: ["limit", "offset"],
8389
+ queryParams: ["limit", "cursor"],
8379
8390
  headerParams: [],
8380
8391
  cookieParams: [],
8381
8392
  flags: [
@@ -8394,10 +8405,10 @@ const routes = {
8394
8405
  "in": "query"
8395
8406
  },
8396
8407
  {
8397
- "name": "offset",
8398
- "description": "Results to skip. Negative or not an integer it is `400`.",
8408
+ "name": "cursor",
8409
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8399
8410
  "required": false,
8400
- "type": "integer",
8411
+ "type": "string",
8401
8412
  "in": "query"
8402
8413
  }
8403
8414
  ]
@@ -9243,7 +9254,7 @@ const routes = {
9243
9254
  moduleDocsUrl: "https://naturali.ai/docs/modules/agents",
9244
9255
  httpMethod: "get",
9245
9256
  pathParams: ["project_id", "agent_id"],
9246
- queryParams: ["limit", "offset"],
9257
+ queryParams: ["limit", "cursor"],
9247
9258
  headerParams: [],
9248
9259
  cookieParams: [],
9249
9260
  flags: [
@@ -9269,10 +9280,10 @@ const routes = {
9269
9280
  "in": "query"
9270
9281
  },
9271
9282
  {
9272
- "name": "offset",
9273
- "description": "Results to skip. Negative or not an integer it is `400`.",
9283
+ "name": "cursor",
9284
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
9274
9285
  "required": false,
9275
- "type": "integer",
9286
+ "type": "string",
9276
9287
  "in": "query"
9277
9288
  }
9278
9289
  ]
@@ -9470,7 +9481,7 @@ const routes = {
9470
9481
  moduleDocsUrl: "https://naturali.ai/docs/modules/ai-providers",
9471
9482
  httpMethod: "get",
9472
9483
  pathParams: ["project_id"],
9473
- queryParams: ["limit", "offset"],
9484
+ queryParams: ["limit", "cursor"],
9474
9485
  headerParams: [],
9475
9486
  cookieParams: [],
9476
9487
  flags: [
@@ -9489,10 +9500,10 @@ const routes = {
9489
9500
  "in": "query"
9490
9501
  },
9491
9502
  {
9492
- "name": "offset",
9493
- "description": "Results to skip. Negative or not an integer it is `400`.",
9503
+ "name": "cursor",
9504
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
9494
9505
  "required": false,
9495
- "type": "integer",
9506
+ "type": "string",
9496
9507
  "in": "query"
9497
9508
  }
9498
9509
  ]
@@ -9689,14 +9700,14 @@ const routes = {
9689
9700
  "list-ai-provider-models": {
9690
9701
  serviceClass: "AIProviders",
9691
9702
  operationId: "listAiProviderModels",
9692
- description: "Asks the provider which models it can run, using this provider record's own credentials and configuration, and returns provider-native model ids — the same strings `default_model` and an agent's `model` carry. Which models are reachable is a property of the credential, not of the provider type: a Vertex provider sees only the publisher models its Google Cloud project and location serve, and a Bedrock provider only the foundation models enabled in its region. Reading the list is how a caller avoids pinning a model that fails at generation time. Not every provider type can answer. `azure` lists deployments an operator named rather than models, and `ollama` lists whatever was pulled onto that host, so both return `400 MODEL_LISTING_UNSUPPORTED`. Listing resolves credentials the same way generation does, so a record that can generate can list. The API-key types (`openai`, `groq`, `xai`, `gateway`, `custom`, `anthropic`, `google`) use the record's linked secret and cannot list without one. `bedrock` and `vertex` use the linked secret — IAM keys or a Bedrock API key, a Google service-account key. A record with no `secret_id` would fall back to the server's own credentials (the AWS default credential chain, Google Application Default Credentials); it can list only on a deployment that allows a record to use them, and returns `400 AI_PROVIDER_MISCONFIGURED` otherwise. A Vertex record needs no `config.project` when its secret is a service-account key, since the key file names its own project. A Vertex record in express mode (API key) cannot list at all: the publisher-model listing rejects API keys and needs a credential that asserts a principal, so it returns `400 MODEL_LISTING_UNSUPPORTED`. The Vertex answer is the publisher catalogue the record's `config.location` region serves. The project behind the credential is billed and quota'd for the call but does not filter the result, so a listed model may still be unavailable to that project at generation time. The provider answers its whole catalogue in one call; `q`, `limit` and `offset` narrow and page what it returned. A request without `limit` gets the first 50 models.",
9703
+ description: "Asks the provider which models it can run, using this provider record's own credentials and configuration, and returns provider-native model ids — the same strings `default_model` and an agent's `model` carry. Which models are reachable is a property of the credential, not of the provider type: a Vertex provider sees only the publisher models its Google Cloud project and location serve, and a Bedrock provider only the foundation models enabled in its region. Reading the list is how a caller avoids pinning a model that fails at generation time. Not every provider type can answer. `azure` lists deployments an operator named rather than models, and `ollama` lists whatever was pulled onto that host, so both return `400 MODEL_LISTING_UNSUPPORTED`. Listing resolves credentials the same way generation does, so a record that can generate can list. The API-key types (`openai`, `groq`, `xai`, `gateway`, `custom`, `anthropic`, `google`) use the record's linked secret and cannot list without one. `bedrock` and `vertex` use the linked secret — IAM keys or a Bedrock API key, a Google service-account key. A record with no `secret_id` would fall back to the server's own credentials (the AWS default credential chain, Google Application Default Credentials); it can list only on a deployment that allows a record to use them, and returns `400 AI_PROVIDER_MISCONFIGURED` otherwise. A Vertex record needs no `config.project` when its secret is a service-account key, since the key file names its own project. A Vertex record in express mode (API key) cannot list at all: the publisher-model listing rejects API keys and needs a credential that asserts a principal, so it returns `400 MODEL_LISTING_UNSUPPORTED`. The Vertex answer is the publisher catalogue the record's `config.location` region serves. The project behind the credential is billed and quota'd for the call but does not filter the result, so a listed model may still be unavailable to that project at generation time. The provider answers its whole catalogue in one call; `q`, `limit` and `cursor` narrow and page what it returned. A request without `limit` gets the first 50 models.",
9693
9704
  moduleDocsUrl: "https://naturali.ai/docs/modules/ai-providers",
9694
9705
  httpMethod: "get",
9695
9706
  pathParams: ["project_id", "ai_provider_id"],
9696
9707
  queryParams: [
9697
9708
  "q",
9698
9709
  "limit",
9699
- "offset"
9710
+ "cursor"
9700
9711
  ],
9701
9712
  headerParams: [],
9702
9713
  cookieParams: [],
@@ -9717,7 +9728,7 @@ const routes = {
9717
9728
  },
9718
9729
  {
9719
9730
  "name": "q",
9720
- "description": "Keeps the models whose `id` or `display_name` contains this text, ignoring case. Applied before paging, so `total` counts the matches.\n",
9731
+ "description": "Keeps the models whose `id` or `display_name` contains this text, ignoring case. Applied before paging.\n",
9721
9732
  "required": false,
9722
9733
  "type": "string",
9723
9734
  "in": "query"
@@ -9730,10 +9741,10 @@ const routes = {
9730
9741
  "in": "query"
9731
9742
  },
9732
9743
  {
9733
- "name": "offset",
9734
- "description": "Results to skip. Negative or not an integer it is `400`.",
9744
+ "name": "cursor",
9745
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
9735
9746
  "required": false,
9736
- "type": "integer",
9747
+ "type": "string",
9737
9748
  "in": "query"
9738
9749
  }
9739
9750
  ]
@@ -9814,7 +9825,7 @@ const routes = {
9814
9825
  "in": "query"
9815
9826
  }, {
9816
9827
  "name": "cursor",
9817
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
9828
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
9818
9829
  "required": false,
9819
9830
  "type": "string",
9820
9831
  "in": "query"
@@ -9955,7 +9966,7 @@ const routes = {
9955
9966
  "expires_from",
9956
9967
  "expires_to",
9957
9968
  "limit",
9958
- "offset"
9969
+ "cursor"
9959
9970
  ],
9960
9971
  headerParams: [],
9961
9972
  cookieParams: [],
@@ -10003,10 +10014,10 @@ const routes = {
10003
10014
  "in": "query"
10004
10015
  },
10005
10016
  {
10006
- "name": "offset",
10007
- "description": "Results to skip. Negative or not an integer it is `400`.",
10017
+ "name": "cursor",
10018
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10008
10019
  "required": false,
10009
- "type": "integer",
10020
+ "type": "string",
10010
10021
  "in": "query"
10011
10022
  }
10012
10023
  ]
@@ -10022,7 +10033,7 @@ const routes = {
10022
10033
  "status",
10023
10034
  "min_count",
10024
10035
  "limit",
10025
- "offset"
10036
+ "cursor"
10026
10037
  ],
10027
10038
  headerParams: [],
10028
10039
  cookieParams: [],
@@ -10056,10 +10067,10 @@ const routes = {
10056
10067
  "in": "query"
10057
10068
  },
10058
10069
  {
10059
- "name": "offset",
10060
- "description": "Results to skip. Negative or not an integer it is `400`.",
10070
+ "name": "cursor",
10071
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10061
10072
  "required": false,
10062
- "type": "integer",
10073
+ "type": "string",
10063
10074
  "in": "query"
10064
10075
  }
10065
10076
  ]
@@ -10181,7 +10192,7 @@ const routes = {
10181
10192
  "in": "query"
10182
10193
  }, {
10183
10194
  "name": "cursor",
10184
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
10195
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10185
10196
  "required": false,
10186
10197
  "type": "string",
10187
10198
  "in": "query"
@@ -10248,7 +10259,7 @@ const routes = {
10248
10259
  moduleDocsUrl: "https://naturali.ai/docs/modules/assistant",
10249
10260
  httpMethod: "get",
10250
10261
  pathParams: [],
10251
- queryParams: ["limit", "offset"],
10262
+ queryParams: ["limit", "cursor"],
10252
10263
  headerParams: [],
10253
10264
  cookieParams: [],
10254
10265
  flags: [{
@@ -10258,10 +10269,10 @@ const routes = {
10258
10269
  "type": "integer",
10259
10270
  "in": "query"
10260
10271
  }, {
10261
- "name": "offset",
10262
- "description": "Results to skip. Negative or not an integer it is `400`.",
10272
+ "name": "cursor",
10273
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10263
10274
  "required": false,
10264
- "type": "integer",
10275
+ "type": "string",
10265
10276
  "in": "query"
10266
10277
  }]
10267
10278
  },
@@ -10322,11 +10333,15 @@ const routes = {
10322
10333
  "list-assistant-session-messages": {
10323
10334
  serviceClass: "Assistant",
10324
10335
  operationId: "listAssistantSessionMessages",
10325
- description: "A page of one conversation, oldest first. `offset` and `total` count every stored message, tool-only turns included, which this list leaves out — so a page can hold fewer than `limit`, and the list ends when `offset + limit` reaches `total`. The newest page is at `offset = total - limit`.",
10336
+ description: "A page of one conversation, oldest first unless `order=desc`. The list leaves out tool-only turns, so a page can hold fewer than `limit` and still have a `next_cursor`.",
10326
10337
  moduleDocsUrl: "https://naturali.ai/docs/modules/assistant",
10327
10338
  httpMethod: "get",
10328
10339
  pathParams: ["session_id"],
10329
- queryParams: ["limit", "offset"],
10340
+ queryParams: [
10341
+ "limit",
10342
+ "cursor",
10343
+ "order"
10344
+ ],
10330
10345
  headerParams: [],
10331
10346
  cookieParams: [],
10332
10347
  flags: [
@@ -10345,10 +10360,17 @@ const routes = {
10345
10360
  "in": "query"
10346
10361
  },
10347
10362
  {
10348
- "name": "offset",
10349
- "description": "Results to skip. Negative or not an integer it is `400`.",
10363
+ "name": "cursor",
10364
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10350
10365
  "required": false,
10351
- "type": "integer",
10366
+ "type": "string",
10367
+ "in": "query"
10368
+ },
10369
+ {
10370
+ "name": "order",
10371
+ "description": "`desc` reads the conversation from its newest message.",
10372
+ "required": false,
10373
+ "type": "string",
10352
10374
  "in": "query"
10353
10375
  }
10354
10376
  ]
@@ -10392,7 +10414,7 @@ const routes = {
10392
10414
  "from",
10393
10415
  "to",
10394
10416
  "limit",
10395
- "offset"
10417
+ "cursor"
10396
10418
  ],
10397
10419
  headerParams: [],
10398
10420
  cookieParams: [],
@@ -10448,16 +10470,16 @@ const routes = {
10448
10470
  },
10449
10471
  {
10450
10472
  "name": "limit",
10451
- "description": "Results per page. Above 200 it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
10473
+ "description": "Results per page. Above 200 it is clamped; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
10452
10474
  "required": false,
10453
10475
  "type": "integer",
10454
10476
  "in": "query"
10455
10477
  },
10456
10478
  {
10457
- "name": "offset",
10458
- "description": "Results to skip. Negative or not an integer it is `400`.",
10479
+ "name": "cursor",
10480
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10459
10481
  "required": false,
10460
- "type": "integer",
10482
+ "type": "string",
10461
10483
  "in": "query"
10462
10484
  }
10463
10485
  ]
@@ -10668,7 +10690,7 @@ const routes = {
10668
10690
  "status",
10669
10691
  "agent_id",
10670
10692
  "limit",
10671
- "offset"
10693
+ "cursor"
10672
10694
  ],
10673
10695
  headerParams: [],
10674
10696
  cookieParams: [],
@@ -10702,10 +10724,10 @@ const routes = {
10702
10724
  "in": "query"
10703
10725
  },
10704
10726
  {
10705
- "name": "offset",
10706
- "description": "Results to skip. Negative or not an integer it is `400`.",
10727
+ "name": "cursor",
10728
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10707
10729
  "required": false,
10708
- "type": "integer",
10730
+ "type": "string",
10709
10731
  "in": "query"
10710
10732
  }
10711
10733
  ]
@@ -10780,7 +10802,7 @@ const routes = {
10780
10802
  },
10781
10803
  {
10782
10804
  "name": "cursor",
10783
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
10805
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
10784
10806
  "required": false,
10785
10807
  "type": "string",
10786
10808
  "in": "query"
@@ -11113,7 +11135,7 @@ const routes = {
11113
11135
  },
11114
11136
  {
11115
11137
  "name": "cursor",
11116
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
11138
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
11117
11139
  "required": false,
11118
11140
  "type": "string",
11119
11141
  "in": "query"
@@ -11442,7 +11464,7 @@ const routes = {
11442
11464
  },
11443
11465
  {
11444
11466
  "name": "cursor",
11445
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
11467
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
11446
11468
  "required": false,
11447
11469
  "type": "string",
11448
11470
  "in": "query"
@@ -11569,7 +11591,7 @@ const routes = {
11569
11591
  "list-channel-conversation-messages": {
11570
11592
  serviceClass: "Channels",
11571
11593
  operationId: "listChannelConversationMessages",
11572
- description: "The conversation's messages, oldest first. naturali stores no message bodies — the dialogue lives in the runtime session the conversation maps to, so this reads through to the runtime. Pagination is `limit`/`offset` rather than an opaque cursor because the upstream is offset-based over a stable `position` ordering.",
11594
+ description: "The conversation's messages, oldest first. naturali stores no message bodies — the dialogue lives in the runtime session the conversation maps to, so this reads through to the runtime.",
11573
11595
  moduleDocsUrl: "https://naturali.ai/docs/modules/channels",
11574
11596
  httpMethod: "get",
11575
11597
  pathParams: [
@@ -11577,7 +11599,7 @@ const routes = {
11577
11599
  "channel_id",
11578
11600
  "conversation_id"
11579
11601
  ],
11580
- queryParams: ["limit", "offset"],
11602
+ queryParams: ["limit", "cursor"],
11581
11603
  headerParams: [],
11582
11604
  cookieParams: [],
11583
11605
  flags: [
@@ -11610,10 +11632,10 @@ const routes = {
11610
11632
  "in": "query"
11611
11633
  },
11612
11634
  {
11613
- "name": "offset",
11614
- "description": "Results to skip. Negative or not an integer it is `400`.",
11635
+ "name": "cursor",
11636
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
11615
11637
  "required": false,
11616
- "type": "integer",
11638
+ "type": "string",
11617
11639
  "in": "query"
11618
11640
  }
11619
11641
  ]
@@ -11629,7 +11651,7 @@ const routes = {
11629
11651
  "actor_id",
11630
11652
  "tags",
11631
11653
  "limit",
11632
- "offset"
11654
+ "cursor"
11633
11655
  ],
11634
11656
  headerParams: [],
11635
11657
  cookieParams: [],
@@ -11663,10 +11685,10 @@ const routes = {
11663
11685
  "in": "query"
11664
11686
  },
11665
11687
  {
11666
- "name": "offset",
11667
- "description": "Results to skip. Negative or not an integer it is `400`.",
11688
+ "name": "cursor",
11689
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
11668
11690
  "required": false,
11669
- "type": "integer",
11691
+ "type": "string",
11670
11692
  "in": "query"
11671
11693
  }
11672
11694
  ]
@@ -11822,7 +11844,11 @@ const routes = {
11822
11844
  moduleDocsUrl: "https://naturali.ai/docs/modules/conversations",
11823
11845
  httpMethod: "get",
11824
11846
  pathParams: ["project_id", "conversation_id"],
11825
- queryParams: ["limit", "offset"],
11847
+ queryParams: [
11848
+ "order",
11849
+ "limit",
11850
+ "cursor"
11851
+ ],
11826
11852
  headerParams: [],
11827
11853
  cookieParams: [],
11828
11854
  flags: [
@@ -11840,6 +11866,13 @@ const routes = {
11840
11866
  "type": "string",
11841
11867
  "in": "path"
11842
11868
  },
11869
+ {
11870
+ "name": "order",
11871
+ "description": "Sort direction by position; `desc` reads the transcript from its end.",
11872
+ "required": false,
11873
+ "type": "string",
11874
+ "in": "query"
11875
+ },
11843
11876
  {
11844
11877
  "name": "limit",
11845
11878
  "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
@@ -11848,10 +11881,10 @@ const routes = {
11848
11881
  "in": "query"
11849
11882
  },
11850
11883
  {
11851
- "name": "offset",
11852
- "description": "Results to skip. Negative or not an integer it is `400`.",
11884
+ "name": "cursor",
11885
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
11853
11886
  "required": false,
11854
- "type": "integer",
11887
+ "type": "string",
11855
11888
  "in": "query"
11856
11889
  }
11857
11890
  ]
@@ -12117,7 +12150,7 @@ const routes = {
12117
12150
  moduleDocsUrl: "https://naturali.ai/docs/modules/deciders",
12118
12151
  httpMethod: "get",
12119
12152
  pathParams: ["project_id"],
12120
- queryParams: ["limit", "offset"],
12153
+ queryParams: ["limit", "cursor"],
12121
12154
  headerParams: [],
12122
12155
  cookieParams: [],
12123
12156
  flags: [
@@ -12136,10 +12169,10 @@ const routes = {
12136
12169
  "in": "query"
12137
12170
  },
12138
12171
  {
12139
- "name": "offset",
12140
- "description": "Results to skip. Negative or not an integer it is `400`.",
12172
+ "name": "cursor",
12173
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
12141
12174
  "required": false,
12142
- "type": "integer",
12175
+ "type": "string",
12143
12176
  "in": "query"
12144
12177
  }
12145
12178
  ]
@@ -12344,7 +12377,7 @@ const routes = {
12344
12377
  moduleDocsUrl: "https://naturali.ai/docs/modules/deciders",
12345
12378
  httpMethod: "get",
12346
12379
  pathParams: ["project_id", "decider_id"],
12347
- queryParams: ["limit", "offset"],
12380
+ queryParams: ["limit", "cursor"],
12348
12381
  headerParams: [],
12349
12382
  cookieParams: [],
12350
12383
  flags: [
@@ -12370,10 +12403,10 @@ const routes = {
12370
12403
  "in": "query"
12371
12404
  },
12372
12405
  {
12373
- "name": "offset",
12374
- "description": "Results to skip. Negative or not an integer it is `400`.",
12406
+ "name": "cursor",
12407
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
12375
12408
  "required": false,
12376
- "type": "integer",
12409
+ "type": "string",
12377
12410
  "in": "query"
12378
12411
  }
12379
12412
  ]
@@ -12520,7 +12553,7 @@ const routes = {
12520
12553
  "decider_id",
12521
12554
  "status",
12522
12555
  "limit",
12523
- "offset"
12556
+ "cursor"
12524
12557
  ],
12525
12558
  headerParams: [],
12526
12559
  cookieParams: [],
@@ -12554,10 +12587,10 @@ const routes = {
12554
12587
  "in": "query"
12555
12588
  },
12556
12589
  {
12557
- "name": "offset",
12558
- "description": "Results to skip. Negative or not an integer it is `400`.",
12590
+ "name": "cursor",
12591
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
12559
12592
  "required": false,
12560
- "type": "integer",
12593
+ "type": "string",
12561
12594
  "in": "query"
12562
12595
  }
12563
12596
  ]
@@ -12662,7 +12695,7 @@ const routes = {
12662
12695
  "tags",
12663
12696
  "metadata",
12664
12697
  "limit",
12665
- "offset"
12698
+ "cursor"
12666
12699
  ],
12667
12700
  headerParams: [],
12668
12701
  cookieParams: [],
@@ -12717,10 +12750,10 @@ const routes = {
12717
12750
  "in": "query"
12718
12751
  },
12719
12752
  {
12720
- "name": "offset",
12721
- "description": "Results to skip. Negative or not an integer it is `400`.",
12753
+ "name": "cursor",
12754
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
12722
12755
  "required": false,
12723
- "type": "integer",
12756
+ "type": "string",
12724
12757
  "in": "query"
12725
12758
  }
12726
12759
  ]
@@ -13046,7 +13079,7 @@ const routes = {
13046
13079
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13047
13080
  httpMethod: "get",
13048
13081
  pathParams: ["project_id", "document_id"],
13049
- queryParams: ["limit", "offset"],
13082
+ queryParams: ["limit", "cursor"],
13050
13083
  headerParams: [],
13051
13084
  cookieParams: [],
13052
13085
  flags: [
@@ -13072,10 +13105,10 @@ const routes = {
13072
13105
  "in": "query"
13073
13106
  },
13074
13107
  {
13075
- "name": "offset",
13076
- "description": "Results to skip. Negative or not an integer it is `400`.",
13108
+ "name": "cursor",
13109
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
13077
13110
  "required": false,
13078
- "type": "integer",
13111
+ "type": "string",
13079
13112
  "in": "query"
13080
13113
  }
13081
13114
  ]
@@ -13238,7 +13271,7 @@ const routes = {
13238
13271
  moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
13239
13272
  httpMethod: "get",
13240
13273
  pathParams: ["project_id", "document_id"],
13241
- queryParams: ["limit", "offset"],
13274
+ queryParams: ["limit", "cursor"],
13242
13275
  headerParams: [],
13243
13276
  cookieParams: [],
13244
13277
  flags: [
@@ -13264,10 +13297,10 @@ const routes = {
13264
13297
  "in": "query"
13265
13298
  },
13266
13299
  {
13267
- "name": "offset",
13268
- "description": "Results to skip. Negative or not an integer it is `400`.",
13300
+ "name": "cursor",
13301
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
13269
13302
  "required": false,
13270
- "type": "integer",
13303
+ "type": "string",
13271
13304
  "in": "query"
13272
13305
  }
13273
13306
  ]
@@ -13557,7 +13590,7 @@ const routes = {
13557
13590
  moduleDocsUrl: "https://naturali.ai/docs/modules/evaluations",
13558
13591
  httpMethod: "get",
13559
13592
  pathParams: ["project_id"],
13560
- queryParams: ["limit", "offset"],
13593
+ queryParams: ["limit", "cursor"],
13561
13594
  headerParams: [],
13562
13595
  cookieParams: [],
13563
13596
  flags: [
@@ -13576,10 +13609,10 @@ const routes = {
13576
13609
  "in": "query"
13577
13610
  },
13578
13611
  {
13579
- "name": "offset",
13580
- "description": "Results to skip. Negative or not an integer it is `400`.",
13612
+ "name": "cursor",
13613
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
13581
13614
  "required": false,
13582
- "type": "integer",
13615
+ "type": "string",
13583
13616
  "in": "query"
13584
13617
  }
13585
13618
  ]
@@ -13714,7 +13747,7 @@ const routes = {
13714
13747
  moduleDocsUrl: "https://naturali.ai/docs/modules/evaluations",
13715
13748
  httpMethod: "get",
13716
13749
  pathParams: ["project_id", "dataset_id"],
13717
- queryParams: ["limit", "offset"],
13750
+ queryParams: ["limit", "cursor"],
13718
13751
  headerParams: [],
13719
13752
  cookieParams: [],
13720
13753
  flags: [
@@ -13740,10 +13773,10 @@ const routes = {
13740
13773
  "in": "query"
13741
13774
  },
13742
13775
  {
13743
- "name": "offset",
13744
- "description": "Results to skip. Negative or not an integer it is `400`.",
13776
+ "name": "cursor",
13777
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
13745
13778
  "required": false,
13746
- "type": "integer",
13779
+ "type": "string",
13747
13780
  "in": "query"
13748
13781
  }
13749
13782
  ]
@@ -13948,7 +13981,7 @@ const routes = {
13948
13981
  moduleDocsUrl: "https://naturali.ai/docs/modules/evaluations",
13949
13982
  httpMethod: "get",
13950
13983
  pathParams: ["project_id"],
13951
- queryParams: ["limit", "offset"],
13984
+ queryParams: ["limit", "cursor"],
13952
13985
  headerParams: [],
13953
13986
  cookieParams: [],
13954
13987
  flags: [
@@ -13967,10 +14000,10 @@ const routes = {
13967
14000
  "in": "query"
13968
14001
  },
13969
14002
  {
13970
- "name": "offset",
13971
- "description": "Results to skip. Negative or not an integer it is `400`.",
14003
+ "name": "cursor",
14004
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
13972
14005
  "required": false,
13973
- "type": "integer",
14006
+ "type": "string",
13974
14007
  "in": "query"
13975
14008
  }
13976
14009
  ]
@@ -14161,7 +14194,7 @@ const routes = {
14161
14194
  moduleDocsUrl: "https://naturali.ai/docs/modules/evaluations",
14162
14195
  httpMethod: "get",
14163
14196
  pathParams: ["project_id", "eval_id"],
14164
- queryParams: ["limit", "offset"],
14197
+ queryParams: ["limit", "cursor"],
14165
14198
  headerParams: [],
14166
14199
  cookieParams: [],
14167
14200
  flags: [
@@ -14187,10 +14220,10 @@ const routes = {
14187
14220
  "in": "query"
14188
14221
  },
14189
14222
  {
14190
- "name": "offset",
14191
- "description": "Results to skip. Negative or not an integer it is `400`.",
14223
+ "name": "cursor",
14224
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
14192
14225
  "required": false,
14193
- "type": "integer",
14226
+ "type": "string",
14194
14227
  "in": "query"
14195
14228
  }
14196
14229
  ]
@@ -14306,7 +14339,7 @@ const routes = {
14306
14339
  "eval_id",
14307
14340
  "eval_run_id"
14308
14341
  ],
14309
- queryParams: ["limit", "offset"],
14342
+ queryParams: ["limit", "cursor"],
14310
14343
  headerParams: [],
14311
14344
  cookieParams: [],
14312
14345
  flags: [
@@ -14339,10 +14372,10 @@ const routes = {
14339
14372
  "in": "query"
14340
14373
  },
14341
14374
  {
14342
- "name": "offset",
14343
- "description": "Results to skip. Negative or not an integer it is `400`.",
14375
+ "name": "cursor",
14376
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
14344
14377
  "required": false,
14345
- "type": "integer",
14378
+ "type": "string",
14346
14379
  "in": "query"
14347
14380
  }
14348
14381
  ]
@@ -14397,7 +14430,7 @@ const routes = {
14397
14430
  "severity",
14398
14431
  "kind",
14399
14432
  "limit",
14400
- "offset"
14433
+ "cursor"
14401
14434
  ],
14402
14435
  headerParams: [],
14403
14436
  cookieParams: [],
@@ -14438,10 +14471,10 @@ const routes = {
14438
14471
  "in": "query"
14439
14472
  },
14440
14473
  {
14441
- "name": "offset",
14442
- "description": "Results to skip. Negative or not an integer it is `400`.",
14474
+ "name": "cursor",
14475
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
14443
14476
  "required": false,
14444
- "type": "integer",
14477
+ "type": "string",
14445
14478
  "in": "query"
14446
14479
  }
14447
14480
  ]
@@ -14539,7 +14572,7 @@ const routes = {
14539
14572
  "path_prefix",
14540
14573
  "tags",
14541
14574
  "limit",
14542
- "offset"
14575
+ "cursor"
14543
14576
  ],
14544
14577
  headerParams: [],
14545
14578
  cookieParams: [],
@@ -14573,10 +14606,10 @@ const routes = {
14573
14606
  "in": "query"
14574
14607
  },
14575
14608
  {
14576
- "name": "offset",
14577
- "description": "Results to skip. Negative or not an integer it is `400`.",
14609
+ "name": "cursor",
14610
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
14578
14611
  "required": false,
14579
- "type": "integer",
14612
+ "type": "string",
14580
14613
  "in": "query"
14581
14614
  }
14582
14615
  ]
@@ -15047,7 +15080,7 @@ const routes = {
15047
15080
  moduleDocsUrl: "https://naturali.ai/docs/modules/formations",
15048
15081
  httpMethod: "get",
15049
15082
  pathParams: ["project_id"],
15050
- queryParams: ["limit", "offset"],
15083
+ queryParams: ["limit", "cursor"],
15051
15084
  headerParams: [],
15052
15085
  cookieParams: [],
15053
15086
  flags: [
@@ -15066,10 +15099,10 @@ const routes = {
15066
15099
  "in": "query"
15067
15100
  },
15068
15101
  {
15069
- "name": "offset",
15070
- "description": "Results to skip. Negative or not an integer it is `400`.",
15102
+ "name": "cursor",
15103
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15071
15104
  "required": false,
15072
- "type": "integer",
15105
+ "type": "string",
15073
15106
  "in": "query"
15074
15107
  }
15075
15108
  ]
@@ -15225,7 +15258,7 @@ const routes = {
15225
15258
  moduleDocsUrl: "https://naturali.ai/docs/modules/formations",
15226
15259
  httpMethod: "get",
15227
15260
  pathParams: ["project_id", "formation_id"],
15228
- queryParams: ["limit", "offset"],
15261
+ queryParams: ["limit", "cursor"],
15229
15262
  headerParams: [],
15230
15263
  cookieParams: [],
15231
15264
  flags: [
@@ -15251,10 +15284,10 @@ const routes = {
15251
15284
  "in": "query"
15252
15285
  },
15253
15286
  {
15254
- "name": "offset",
15255
- "description": "Results to skip. Negative or not an integer it is `400`.",
15287
+ "name": "cursor",
15288
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15256
15289
  "required": false,
15257
- "type": "integer",
15290
+ "type": "string",
15258
15291
  "in": "query"
15259
15292
  }
15260
15293
  ]
@@ -15277,7 +15310,7 @@ const routes = {
15277
15310
  "node_id",
15278
15311
  "status",
15279
15312
  "limit",
15280
- "offset"
15313
+ "cursor"
15281
15314
  ],
15282
15315
  headerParams: [],
15283
15316
  cookieParams: [],
@@ -15360,10 +15393,10 @@ const routes = {
15360
15393
  "in": "query"
15361
15394
  },
15362
15395
  {
15363
- "name": "offset",
15364
- "description": "Results to skip. Negative or not an integer it is `400`.",
15396
+ "name": "cursor",
15397
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15365
15398
  "required": false,
15366
- "type": "integer",
15399
+ "type": "string",
15367
15400
  "in": "query"
15368
15401
  }
15369
15402
  ]
@@ -15457,7 +15490,7 @@ const routes = {
15457
15490
  moduleDocsUrl: "https://naturali.ai/docs/modules/generations",
15458
15491
  httpMethod: "get",
15459
15492
  pathParams: ["project_id", "generation_id"],
15460
- queryParams: ["limit", "offset"],
15493
+ queryParams: ["limit", "cursor"],
15461
15494
  headerParams: [],
15462
15495
  cookieParams: [],
15463
15496
  flags: [
@@ -15483,10 +15516,10 @@ const routes = {
15483
15516
  "in": "query"
15484
15517
  },
15485
15518
  {
15486
- "name": "offset",
15487
- "description": "Results to skip. Negative or not an integer it is `400`.",
15519
+ "name": "cursor",
15520
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15488
15521
  "required": false,
15489
- "type": "integer",
15522
+ "type": "string",
15490
15523
  "in": "query"
15491
15524
  }
15492
15525
  ]
@@ -15522,7 +15555,7 @@ const routes = {
15522
15555
  moduleDocsUrl: "https://naturali.ai/docs/modules/guardrails",
15523
15556
  httpMethod: "get",
15524
15557
  pathParams: ["project_id"],
15525
- queryParams: ["limit", "offset"],
15558
+ queryParams: ["limit", "cursor"],
15526
15559
  headerParams: [],
15527
15560
  cookieParams: [],
15528
15561
  flags: [
@@ -15541,10 +15574,10 @@ const routes = {
15541
15574
  "in": "query"
15542
15575
  },
15543
15576
  {
15544
- "name": "offset",
15545
- "description": "Results to skip. Negative or not an integer it is `400`.",
15577
+ "name": "cursor",
15578
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15546
15579
  "required": false,
15547
- "type": "integer",
15580
+ "type": "string",
15548
15581
  "in": "query"
15549
15582
  }
15550
15583
  ]
@@ -15749,7 +15782,7 @@ const routes = {
15749
15782
  moduleDocsUrl: "https://naturali.ai/docs/modules/guardrails",
15750
15783
  httpMethod: "get",
15751
15784
  pathParams: ["project_id", "guardrail_id"],
15752
- queryParams: ["limit", "offset"],
15785
+ queryParams: ["limit", "cursor"],
15753
15786
  headerParams: [],
15754
15787
  cookieParams: [],
15755
15788
  flags: [
@@ -15775,10 +15808,10 @@ const routes = {
15775
15808
  "in": "query"
15776
15809
  },
15777
15810
  {
15778
- "name": "offset",
15779
- "description": "Results to skip. Negative or not an integer it is `400`.",
15811
+ "name": "cursor",
15812
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15780
15813
  "required": false,
15781
- "type": "integer",
15814
+ "type": "string",
15782
15815
  "in": "query"
15783
15816
  }
15784
15817
  ]
@@ -15921,7 +15954,7 @@ const routes = {
15921
15954
  moduleDocsUrl: "https://naturali.ai/docs/modules/ingestion-rules",
15922
15955
  httpMethod: "get",
15923
15956
  pathParams: ["project_id"],
15924
- queryParams: ["limit", "offset"],
15957
+ queryParams: ["limit", "cursor"],
15925
15958
  headerParams: [],
15926
15959
  cookieParams: [],
15927
15960
  flags: [
@@ -15940,10 +15973,10 @@ const routes = {
15940
15973
  "in": "query"
15941
15974
  },
15942
15975
  {
15943
- "name": "offset",
15944
- "description": "Results to skip. Negative or not an integer it is `400`.",
15976
+ "name": "cursor",
15977
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
15945
15978
  "required": false,
15946
- "type": "integer",
15979
+ "type": "string",
15947
15980
  "in": "query"
15948
15981
  }
15949
15982
  ]
@@ -16224,7 +16257,7 @@ const routes = {
16224
16257
  },
16225
16258
  {
16226
16259
  "name": "cursor",
16227
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
16260
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
16228
16261
  "required": false,
16229
16262
  "type": "string",
16230
16263
  "in": "query"
@@ -16435,7 +16468,7 @@ const routes = {
16435
16468
  "in": "query"
16436
16469
  }, {
16437
16470
  "name": "cursor",
16438
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
16471
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
16439
16472
  "required": false,
16440
16473
  "type": "string",
16441
16474
  "in": "query"
@@ -16486,7 +16519,7 @@ const routes = {
16486
16519
  },
16487
16520
  {
16488
16521
  "name": "cursor",
16489
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
16522
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
16490
16523
  "required": false,
16491
16524
  "type": "string",
16492
16525
  "in": "query"
@@ -16709,7 +16742,7 @@ const routes = {
16709
16742
  },
16710
16743
  {
16711
16744
  "name": "cursor",
16712
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
16745
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
16713
16746
  "required": false,
16714
16747
  "type": "string",
16715
16748
  "in": "query"
@@ -16765,7 +16798,7 @@ const routes = {
16765
16798
  "memory_store_id",
16766
16799
  "tags",
16767
16800
  "limit",
16768
- "offset",
16801
+ "cursor",
16769
16802
  "include_invalidated"
16770
16803
  ],
16771
16804
  headerParams: [],
@@ -16800,10 +16833,10 @@ const routes = {
16800
16833
  "in": "query"
16801
16834
  },
16802
16835
  {
16803
- "name": "offset",
16804
- "description": "Results to skip. Negative or not an integer it is `400`.",
16836
+ "name": "cursor",
16837
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
16805
16838
  "required": false,
16806
- "type": "integer",
16839
+ "type": "string",
16807
16840
  "in": "query"
16808
16841
  },
16809
16842
  {
@@ -17056,7 +17089,7 @@ const routes = {
17056
17089
  moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
17057
17090
  httpMethod: "get",
17058
17091
  pathParams: ["project_id", "memory_id"],
17059
- queryParams: ["limit", "offset"],
17092
+ queryParams: ["limit", "cursor"],
17060
17093
  headerParams: [],
17061
17094
  cookieParams: [],
17062
17095
  flags: [
@@ -17082,10 +17115,10 @@ const routes = {
17082
17115
  "in": "query"
17083
17116
  },
17084
17117
  {
17085
- "name": "offset",
17086
- "description": "Results to skip. Negative or not an integer it is `400`.",
17118
+ "name": "cursor",
17119
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17087
17120
  "required": false,
17088
- "type": "integer",
17121
+ "type": "string",
17089
17122
  "in": "query"
17090
17123
  }
17091
17124
  ]
@@ -17192,7 +17225,7 @@ const routes = {
17192
17225
  queryParams: [
17193
17226
  "memory_store_id",
17194
17227
  "limit",
17195
- "offset"
17228
+ "cursor"
17196
17229
  ],
17197
17230
  headerParams: [],
17198
17231
  cookieParams: [],
@@ -17219,10 +17252,10 @@ const routes = {
17219
17252
  "in": "query"
17220
17253
  },
17221
17254
  {
17222
- "name": "offset",
17223
- "description": "Results to skip. Negative or not an integer it is `400`.",
17255
+ "name": "cursor",
17256
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17224
17257
  "required": false,
17225
- "type": "integer",
17258
+ "type": "string",
17226
17259
  "in": "query"
17227
17260
  }
17228
17261
  ]
@@ -17479,7 +17512,7 @@ const routes = {
17479
17512
  queryParams: [
17480
17513
  "tags",
17481
17514
  "limit",
17482
- "offset"
17515
+ "cursor"
17483
17516
  ],
17484
17517
  headerParams: [],
17485
17518
  cookieParams: [],
@@ -17506,10 +17539,10 @@ const routes = {
17506
17539
  "in": "query"
17507
17540
  },
17508
17541
  {
17509
- "name": "offset",
17510
- "description": "Results to skip. Negative or not an integer it is `400`.",
17542
+ "name": "cursor",
17543
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17511
17544
  "required": false,
17512
- "type": "integer",
17545
+ "type": "string",
17513
17546
  "in": "query"
17514
17547
  }
17515
17548
  ]
@@ -17693,7 +17726,7 @@ const routes = {
17693
17726
  "from",
17694
17727
  "to",
17695
17728
  "limit",
17696
- "offset"
17729
+ "cursor"
17697
17730
  ],
17698
17731
  headerParams: [],
17699
17732
  cookieParams: [],
@@ -17755,10 +17788,10 @@ const routes = {
17755
17788
  "in": "query"
17756
17789
  },
17757
17790
  {
17758
- "name": "offset",
17759
- "description": "Results to skip. Negative or not an integer it is `400`.",
17791
+ "name": "cursor",
17792
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17760
17793
  "required": false,
17761
- "type": "integer",
17794
+ "type": "string",
17762
17795
  "in": "query"
17763
17796
  }
17764
17797
  ]
@@ -17906,7 +17939,7 @@ const routes = {
17906
17939
  queryParams: [
17907
17940
  "resource_type",
17908
17941
  "limit",
17909
- "offset"
17942
+ "cursor"
17910
17943
  ],
17911
17944
  headerParams: [],
17912
17945
  cookieParams: [],
@@ -17933,10 +17966,10 @@ const routes = {
17933
17966
  "in": "query"
17934
17967
  },
17935
17968
  {
17936
- "name": "offset",
17937
- "description": "Results to skip. Negative or not an integer it is `400`.",
17969
+ "name": "cursor",
17970
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17938
17971
  "required": false,
17939
- "type": "integer",
17972
+ "type": "string",
17940
17973
  "in": "query"
17941
17974
  }
17942
17975
  ]
@@ -18112,7 +18145,7 @@ const routes = {
18112
18145
  moduleDocsUrl: "https://naturali.ai/docs/modules/model-routes",
18113
18146
  httpMethod: "get",
18114
18147
  pathParams: ["project_id"],
18115
- queryParams: ["limit", "offset"],
18148
+ queryParams: ["limit", "cursor"],
18116
18149
  headerParams: [],
18117
18150
  cookieParams: [],
18118
18151
  flags: [
@@ -18131,10 +18164,10 @@ const routes = {
18131
18164
  "in": "query"
18132
18165
  },
18133
18166
  {
18134
- "name": "offset",
18135
- "description": "Results to skip. Negative or not an integer it is `400`.",
18167
+ "name": "cursor",
18168
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18136
18169
  "required": false,
18137
- "type": "integer",
18170
+ "type": "string",
18138
18171
  "in": "query"
18139
18172
  }
18140
18173
  ]
@@ -18330,7 +18363,7 @@ const routes = {
18330
18363
  },
18331
18364
  {
18332
18365
  "name": "cursor",
18333
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
18366
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18334
18367
  "required": false,
18335
18368
  "type": "string",
18336
18369
  "in": "query"
@@ -18383,7 +18416,7 @@ const routes = {
18383
18416
  moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
18384
18417
  httpMethod: "get",
18385
18418
  pathParams: ["project_id"],
18386
- queryParams: ["limit", "offset"],
18419
+ queryParams: ["limit", "cursor"],
18387
18420
  headerParams: [],
18388
18421
  cookieParams: [],
18389
18422
  flags: [
@@ -18402,10 +18435,10 @@ const routes = {
18402
18435
  "in": "query"
18403
18436
  },
18404
18437
  {
18405
- "name": "offset",
18406
- "description": "Results to skip. Negative or not an integer it is `400`.",
18438
+ "name": "cursor",
18439
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18407
18440
  "required": false,
18408
- "type": "integer",
18441
+ "type": "string",
18409
18442
  "in": "query"
18410
18443
  }
18411
18444
  ]
@@ -18552,7 +18585,7 @@ const routes = {
18552
18585
  moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
18553
18586
  httpMethod: "get",
18554
18587
  pathParams: ["project_id"],
18555
- queryParams: ["limit", "offset"],
18588
+ queryParams: ["limit", "cursor"],
18556
18589
  headerParams: [],
18557
18590
  cookieParams: [],
18558
18591
  flags: [
@@ -18571,10 +18604,10 @@ const routes = {
18571
18604
  "in": "query"
18572
18605
  },
18573
18606
  {
18574
- "name": "offset",
18575
- "description": "Results to skip. Negative or not an integer it is `400`.",
18607
+ "name": "cursor",
18608
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18576
18609
  "required": false,
18577
- "type": "integer",
18610
+ "type": "string",
18578
18611
  "in": "query"
18579
18612
  }
18580
18613
  ]
@@ -18731,7 +18764,7 @@ const routes = {
18731
18764
  moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
18732
18765
  httpMethod: "get",
18733
18766
  pathParams: ["project_id", "orchestration_id"],
18734
- queryParams: ["limit", "offset"],
18767
+ queryParams: ["limit", "cursor"],
18735
18768
  headerParams: [],
18736
18769
  cookieParams: [],
18737
18770
  flags: [
@@ -18757,10 +18790,10 @@ const routes = {
18757
18790
  "in": "query"
18758
18791
  },
18759
18792
  {
18760
- "name": "offset",
18761
- "description": "Results to skip. Negative or not an integer it is `400`.",
18793
+ "name": "cursor",
18794
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18762
18795
  "required": false,
18763
- "type": "integer",
18796
+ "type": "string",
18764
18797
  "in": "query"
18765
18798
  }
18766
18799
  ]
@@ -18861,7 +18894,7 @@ const routes = {
18861
18894
  "nested",
18862
18895
  "status",
18863
18896
  "limit",
18864
- "offset"
18897
+ "cursor"
18865
18898
  ],
18866
18899
  headerParams: [],
18867
18900
  cookieParams: [],
@@ -18909,10 +18942,10 @@ const routes = {
18909
18942
  "in": "query"
18910
18943
  },
18911
18944
  {
18912
- "name": "offset",
18913
- "description": "Results to skip. Negative or not an integer it is `400`.",
18945
+ "name": "cursor",
18946
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18914
18947
  "required": false,
18915
- "type": "integer",
18948
+ "type": "string",
18916
18949
  "in": "query"
18917
18950
  }
18918
18951
  ]
@@ -19140,7 +19173,7 @@ const routes = {
19140
19173
  moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
19141
19174
  httpMethod: "get",
19142
19175
  pathParams: ["project_id", "orchestration_run_id"],
19143
- queryParams: ["limit", "offset"],
19176
+ queryParams: ["limit", "cursor"],
19144
19177
  headerParams: [],
19145
19178
  cookieParams: [],
19146
19179
  flags: [
@@ -19166,10 +19199,10 @@ const routes = {
19166
19199
  "in": "query"
19167
19200
  },
19168
19201
  {
19169
- "name": "offset",
19170
- "description": "Results to skip. Negative or not an integer it is `400`.",
19202
+ "name": "cursor",
19203
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
19171
19204
  "required": false,
19172
- "type": "integer",
19205
+ "type": "string",
19173
19206
  "in": "query"
19174
19207
  }
19175
19208
  ]
@@ -19181,7 +19214,7 @@ const routes = {
19181
19214
  moduleDocsUrl: "https://naturali.ai/docs/modules/playbooks",
19182
19215
  httpMethod: "get",
19183
19216
  pathParams: ["project_id"],
19184
- queryParams: ["limit", "offset"],
19217
+ queryParams: ["limit", "cursor"],
19185
19218
  headerParams: [],
19186
19219
  cookieParams: [],
19187
19220
  flags: [
@@ -19200,10 +19233,10 @@ const routes = {
19200
19233
  "in": "query"
19201
19234
  },
19202
19235
  {
19203
- "name": "offset",
19204
- "description": "Results to skip. Negative or not an integer it is `400`.",
19236
+ "name": "cursor",
19237
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
19205
19238
  "required": false,
19206
- "type": "integer",
19239
+ "type": "string",
19207
19240
  "in": "query"
19208
19241
  }
19209
19242
  ]
@@ -19414,7 +19447,7 @@ const routes = {
19414
19447
  moduleDocsUrl: "https://naturali.ai/docs/modules/playbooks",
19415
19448
  httpMethod: "get",
19416
19449
  pathParams: ["project_id", "playbook_id"],
19417
- queryParams: ["limit", "offset"],
19450
+ queryParams: ["limit", "cursor"],
19418
19451
  headerParams: [],
19419
19452
  cookieParams: [],
19420
19453
  flags: [
@@ -19440,10 +19473,10 @@ const routes = {
19440
19473
  "in": "query"
19441
19474
  },
19442
19475
  {
19443
- "name": "offset",
19444
- "description": "Results to skip. Negative or not an integer it is `400`.",
19476
+ "name": "cursor",
19477
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
19445
19478
  "required": false,
19446
- "type": "integer",
19479
+ "type": "string",
19447
19480
  "in": "query"
19448
19481
  }
19449
19482
  ]
@@ -19592,7 +19625,7 @@ const routes = {
19592
19625
  "subject",
19593
19626
  "automation_status",
19594
19627
  "limit",
19595
- "offset"
19628
+ "cursor"
19596
19629
  ],
19597
19630
  headerParams: [],
19598
19631
  cookieParams: [],
@@ -19640,10 +19673,10 @@ const routes = {
19640
19673
  "in": "query"
19641
19674
  },
19642
19675
  {
19643
- "name": "offset",
19644
- "description": "Results to skip. Negative or not an integer it is `400`.",
19676
+ "name": "cursor",
19677
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
19645
19678
  "required": false,
19646
- "type": "integer",
19679
+ "type": "string",
19647
19680
  "in": "query"
19648
19681
  }
19649
19682
  ]
@@ -19816,7 +19849,7 @@ const routes = {
19816
19849
  "actor_id",
19817
19850
  "node_id",
19818
19851
  "limit",
19819
- "offset"
19852
+ "cursor"
19820
19853
  ],
19821
19854
  headerParams: [],
19822
19855
  cookieParams: [],
@@ -19857,10 +19890,10 @@ const routes = {
19857
19890
  "in": "query"
19858
19891
  },
19859
19892
  {
19860
- "name": "offset",
19861
- "description": "Results to skip. Negative or not an integer it is `400`.",
19893
+ "name": "cursor",
19894
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
19862
19895
  "required": false,
19863
- "type": "integer",
19896
+ "type": "string",
19864
19897
  "in": "query"
19865
19898
  }
19866
19899
  ]
@@ -19928,7 +19961,7 @@ const routes = {
19928
19961
  "actor_id",
19929
19962
  "node_id",
19930
19963
  "limit",
19931
- "offset"
19964
+ "cursor"
19932
19965
  ],
19933
19966
  headerParams: [],
19934
19967
  cookieParams: [],
@@ -19969,10 +20002,10 @@ const routes = {
19969
20002
  "in": "query"
19970
20003
  },
19971
20004
  {
19972
- "name": "offset",
19973
- "description": "Results to skip. Negative or not an integer it is `400`.",
20005
+ "name": "cursor",
20006
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
19974
20007
  "required": false,
19975
- "type": "integer",
20008
+ "type": "string",
19976
20009
  "in": "query"
19977
20010
  }
19978
20011
  ]
@@ -20100,7 +20133,7 @@ const routes = {
20100
20133
  "node_id",
20101
20134
  "transformation",
20102
20135
  "limit",
20103
- "offset"
20136
+ "cursor"
20104
20137
  ],
20105
20138
  headerParams: [],
20106
20139
  cookieParams: [],
@@ -20148,10 +20181,10 @@ const routes = {
20148
20181
  "in": "query"
20149
20182
  },
20150
20183
  {
20151
- "name": "offset",
20152
- "description": "Results to skip. Negative or not an integer it is `400`.",
20184
+ "name": "cursor",
20185
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
20153
20186
  "required": false,
20154
- "type": "integer",
20187
+ "type": "string",
20155
20188
  "in": "query"
20156
20189
  }
20157
20190
  ]
@@ -20266,7 +20299,7 @@ const routes = {
20266
20299
  queryParams: [
20267
20300
  "actor_id",
20268
20301
  "limit",
20269
- "offset"
20302
+ "cursor"
20270
20303
  ],
20271
20304
  headerParams: [],
20272
20305
  cookieParams: [],
@@ -20300,10 +20333,10 @@ const routes = {
20300
20333
  "in": "query"
20301
20334
  },
20302
20335
  {
20303
- "name": "offset",
20304
- "description": "Results to skip. Negative or not an integer it is `400`.",
20336
+ "name": "cursor",
20337
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
20305
20338
  "required": false,
20306
- "type": "integer",
20339
+ "type": "string",
20307
20340
  "in": "query"
20308
20341
  }
20309
20342
  ]
@@ -20467,7 +20500,7 @@ const routes = {
20467
20500
  "in": "query"
20468
20501
  }, {
20469
20502
  "name": "cursor",
20470
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
20503
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
20471
20504
  "required": false,
20472
20505
  "type": "string",
20473
20506
  "in": "query"
@@ -20884,7 +20917,7 @@ const routes = {
20884
20917
  "from",
20885
20918
  "to",
20886
20919
  "limit",
20887
- "offset"
20920
+ "cursor"
20888
20921
  ],
20889
20922
  headerParams: [],
20890
20923
  cookieParams: [],
@@ -21016,10 +21049,10 @@ const routes = {
21016
21049
  "in": "query"
21017
21050
  },
21018
21051
  {
21019
- "name": "offset",
21020
- "description": "Results to skip. Negative or not an integer it is `400`.",
21052
+ "name": "cursor",
21053
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
21021
21054
  "required": false,
21022
- "type": "integer",
21055
+ "type": "string",
21023
21056
  "in": "query"
21024
21057
  }
21025
21058
  ]
@@ -21045,7 +21078,7 @@ const routes = {
21045
21078
  "trigger_id",
21046
21079
  "action_id",
21047
21080
  "limit",
21048
- "offset"
21081
+ "cursor"
21049
21082
  ],
21050
21083
  headerParams: [],
21051
21084
  cookieParams: [],
@@ -21149,10 +21182,10 @@ const routes = {
21149
21182
  "in": "query"
21150
21183
  },
21151
21184
  {
21152
- "name": "offset",
21153
- "description": "Results to skip. Negative or not an integer it is `400`.",
21185
+ "name": "cursor",
21186
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
21154
21187
  "required": false,
21155
- "type": "integer",
21188
+ "type": "string",
21156
21189
  "in": "query"
21157
21190
  }
21158
21191
  ]
@@ -21198,7 +21231,7 @@ const routes = {
21198
21231
  moduleDocsUrl: "https://naturali.ai/docs/modules/projects",
21199
21232
  httpMethod: "get",
21200
21233
  pathParams: ["project_id"],
21201
- queryParams: ["limit", "offset"],
21234
+ queryParams: ["limit", "cursor"],
21202
21235
  headerParams: [],
21203
21236
  cookieParams: [],
21204
21237
  flags: [
@@ -21217,10 +21250,10 @@ const routes = {
21217
21250
  "in": "query"
21218
21251
  },
21219
21252
  {
21220
- "name": "offset",
21221
- "description": "Results to skip. Negative or not an integer it is `400`.",
21253
+ "name": "cursor",
21254
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
21222
21255
  "required": false,
21223
- "type": "integer",
21256
+ "type": "string",
21224
21257
  "in": "query"
21225
21258
  }
21226
21259
  ]
@@ -21297,7 +21330,7 @@ const routes = {
21297
21330
  moduleDocsUrl: "https://naturali.ai/docs/modules/quotas",
21298
21331
  httpMethod: "get",
21299
21332
  pathParams: ["project_id"],
21300
- queryParams: ["limit", "offset"],
21333
+ queryParams: ["limit", "cursor"],
21301
21334
  headerParams: [],
21302
21335
  cookieParams: [],
21303
21336
  flags: [
@@ -21316,10 +21349,10 @@ const routes = {
21316
21349
  "in": "query"
21317
21350
  },
21318
21351
  {
21319
- "name": "offset",
21320
- "description": "Results to skip. Negative or not an integer it is `400`.",
21352
+ "name": "cursor",
21353
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
21321
21354
  "required": false,
21322
- "type": "integer",
21355
+ "type": "string",
21323
21356
  "in": "query"
21324
21357
  }
21325
21358
  ]
@@ -21503,7 +21536,7 @@ const routes = {
21503
21536
  moduleDocsUrl: "https://naturali.ai/docs/modules/secrets",
21504
21537
  httpMethod: "get",
21505
21538
  pathParams: ["project_id"],
21506
- queryParams: ["limit", "offset"],
21539
+ queryParams: ["limit", "cursor"],
21507
21540
  headerParams: [],
21508
21541
  cookieParams: [],
21509
21542
  flags: [
@@ -21522,10 +21555,10 @@ const routes = {
21522
21555
  "in": "query"
21523
21556
  },
21524
21557
  {
21525
- "name": "offset",
21526
- "description": "Results to skip. Negative or not an integer it is `400`.",
21558
+ "name": "cursor",
21559
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
21527
21560
  "required": false,
21528
- "type": "integer",
21561
+ "type": "string",
21529
21562
  "in": "query"
21530
21563
  }
21531
21564
  ]
@@ -21676,7 +21709,7 @@ const routes = {
21676
21709
  "status",
21677
21710
  "tags",
21678
21711
  "limit",
21679
- "offset"
21712
+ "cursor"
21680
21713
  ],
21681
21714
  headerParams: [],
21682
21715
  cookieParams: [],
@@ -21724,10 +21757,10 @@ const routes = {
21724
21757
  "in": "query"
21725
21758
  },
21726
21759
  {
21727
- "name": "offset",
21728
- "description": "Results to skip. Negative or not an integer it is `400`.",
21760
+ "name": "cursor",
21761
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
21729
21762
  "required": false,
21730
- "type": "integer",
21763
+ "type": "string",
21731
21764
  "in": "query"
21732
21765
  }
21733
21766
  ]
@@ -22159,7 +22192,7 @@ const routes = {
22159
22192
  moduleDocsUrl: "https://naturali.ai/docs/modules/sessions",
22160
22193
  httpMethod: "get",
22161
22194
  pathParams: ["project_id", "session_id"],
22162
- queryParams: ["limit", "offset"],
22195
+ queryParams: ["limit", "cursor"],
22163
22196
  headerParams: [],
22164
22197
  cookieParams: [],
22165
22198
  flags: [
@@ -22185,10 +22218,10 @@ const routes = {
22185
22218
  "in": "query"
22186
22219
  },
22187
22220
  {
22188
- "name": "offset",
22189
- "description": "Results to skip. Negative or not an integer it is `400`.",
22221
+ "name": "cursor",
22222
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
22190
22223
  "required": false,
22191
- "type": "integer",
22224
+ "type": "string",
22192
22225
  "in": "query"
22193
22226
  }
22194
22227
  ]
@@ -22300,7 +22333,7 @@ const routes = {
22300
22333
  "assignee",
22301
22334
  "metadata",
22302
22335
  "limit",
22303
- "offset"
22336
+ "cursor"
22304
22337
  ],
22305
22338
  headerParams: [],
22306
22339
  cookieParams: [],
@@ -22362,10 +22395,10 @@ const routes = {
22362
22395
  "in": "query"
22363
22396
  },
22364
22397
  {
22365
- "name": "offset",
22366
- "description": "Results to skip. Negative or not an integer it is `400`.",
22398
+ "name": "cursor",
22399
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
22367
22400
  "required": false,
22368
- "type": "integer",
22401
+ "type": "string",
22369
22402
  "in": "query"
22370
22403
  }
22371
22404
  ]
@@ -22556,7 +22589,7 @@ const routes = {
22556
22589
  moduleDocsUrl: "https://naturali.ai/docs/modules/tasks",
22557
22590
  httpMethod: "get",
22558
22591
  pathParams: ["project_id", "task_id"],
22559
- queryParams: ["limit", "offset"],
22592
+ queryParams: ["limit", "cursor"],
22560
22593
  headerParams: [],
22561
22594
  cookieParams: [],
22562
22595
  flags: [
@@ -22582,10 +22615,10 @@ const routes = {
22582
22615
  "in": "query"
22583
22616
  },
22584
22617
  {
22585
- "name": "offset",
22586
- "description": "Results to skip. Negative or not an integer it is `400`.",
22618
+ "name": "cursor",
22619
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
22587
22620
  "required": false,
22588
- "type": "integer",
22621
+ "type": "string",
22589
22622
  "in": "query"
22590
22623
  }
22591
22624
  ]
@@ -22765,7 +22798,7 @@ const routes = {
22765
22798
  moduleDocsUrl: "https://naturali.ai/docs/modules/tasks",
22766
22799
  httpMethod: "get",
22767
22800
  pathParams: ["project_id", "task_id"],
22768
- queryParams: ["limit", "offset"],
22801
+ queryParams: ["limit", "cursor"],
22769
22802
  headerParams: [],
22770
22803
  cookieParams: [],
22771
22804
  flags: [
@@ -22791,10 +22824,10 @@ const routes = {
22791
22824
  "in": "query"
22792
22825
  },
22793
22826
  {
22794
- "name": "offset",
22795
- "description": "Results to skip. Negative or not an integer it is `400`.",
22827
+ "name": "cursor",
22828
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
22796
22829
  "required": false,
22797
- "type": "integer",
22830
+ "type": "string",
22798
22831
  "in": "query"
22799
22832
  }
22800
22833
  ]
@@ -22806,7 +22839,7 @@ const routes = {
22806
22839
  moduleDocsUrl: "https://naturali.ai/docs/modules/tools",
22807
22840
  httpMethod: "get",
22808
22841
  pathParams: ["project_id"],
22809
- queryParams: ["limit", "offset"],
22842
+ queryParams: ["limit", "cursor"],
22810
22843
  headerParams: [],
22811
22844
  cookieParams: [],
22812
22845
  flags: [
@@ -22825,10 +22858,10 @@ const routes = {
22825
22858
  "in": "query"
22826
22859
  },
22827
22860
  {
22828
- "name": "offset",
22829
- "description": "Results to skip. Negative or not an integer it is `400`.",
22861
+ "name": "cursor",
22862
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
22830
22863
  "required": false,
22831
- "type": "integer",
22864
+ "type": "string",
22832
22865
  "in": "query"
22833
22866
  }
22834
22867
  ]
@@ -23178,7 +23211,7 @@ const routes = {
23178
23211
  queryParams: [
23179
23212
  "parent_trace_id",
23180
23213
  "limit",
23181
- "offset"
23214
+ "cursor"
23182
23215
  ],
23183
23216
  headerParams: [],
23184
23217
  cookieParams: [],
@@ -23205,10 +23238,10 @@ const routes = {
23205
23238
  "in": "query"
23206
23239
  },
23207
23240
  {
23208
- "name": "offset",
23209
- "description": "Results to skip. Negative or not an integer it is `400`.",
23241
+ "name": "cursor",
23242
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
23210
23243
  "required": false,
23211
- "type": "integer",
23244
+ "type": "string",
23212
23245
  "in": "query"
23213
23246
  }
23214
23247
  ]
@@ -23296,7 +23329,7 @@ const routes = {
23296
23329
  "type",
23297
23330
  "target_type",
23298
23331
  "limit",
23299
- "offset"
23332
+ "cursor"
23300
23333
  ],
23301
23334
  headerParams: [],
23302
23335
  cookieParams: [],
@@ -23330,10 +23363,10 @@ const routes = {
23330
23363
  "in": "query"
23331
23364
  },
23332
23365
  {
23333
- "name": "offset",
23334
- "description": "Results to skip. Negative or not an integer it is `400`.",
23366
+ "name": "cursor",
23367
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
23335
23368
  "required": false,
23336
- "type": "integer",
23369
+ "type": "string",
23337
23370
  "in": "query"
23338
23371
  }
23339
23372
  ]
@@ -23442,6 +23475,40 @@ const routes = {
23442
23475
  }
23443
23476
  ]
23444
23477
  },
23478
+ "count-triggers": {
23479
+ serviceClass: "Triggers",
23480
+ operationId: "countTriggers",
23481
+ description: "Counts the triggers `GET /v1/projects/{project_id}/triggers` pages through under the same project and filters.",
23482
+ moduleDocsUrl: "https://naturali.ai/docs/modules/triggers",
23483
+ httpMethod: "get",
23484
+ pathParams: ["project_id"],
23485
+ queryParams: ["type", "target_type"],
23486
+ headerParams: [],
23487
+ cookieParams: [],
23488
+ flags: [
23489
+ {
23490
+ "name": "project_id",
23491
+ "description": "Project public ID (proj_ prefix).",
23492
+ "required": true,
23493
+ "type": "string",
23494
+ "in": "path"
23495
+ },
23496
+ {
23497
+ "name": "type",
23498
+ "description": "Only triggers with this starter type.",
23499
+ "required": false,
23500
+ "type": "string",
23501
+ "in": "query"
23502
+ },
23503
+ {
23504
+ "name": "target_type",
23505
+ "description": "Only triggers activating this kind of target.",
23506
+ "required": false,
23507
+ "type": "string",
23508
+ "in": "query"
23509
+ }
23510
+ ]
23511
+ },
23445
23512
  "get-trigger": {
23446
23513
  serviceClass: "Triggers",
23447
23514
  operationId: "getTrigger",
@@ -23693,7 +23760,7 @@ const routes = {
23693
23760
  queryParams: [
23694
23761
  "trigger_id",
23695
23762
  "limit",
23696
- "offset"
23763
+ "cursor"
23697
23764
  ],
23698
23765
  headerParams: [],
23699
23766
  cookieParams: [],
@@ -23720,10 +23787,10 @@ const routes = {
23720
23787
  "in": "query"
23721
23788
  },
23722
23789
  {
23723
- "name": "offset",
23724
- "description": "Results to skip. Negative or not an integer it is `400`.",
23790
+ "name": "cursor",
23791
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
23725
23792
  "required": false,
23726
- "type": "integer",
23793
+ "type": "string",
23727
23794
  "in": "query"
23728
23795
  }
23729
23796
  ]
@@ -23843,7 +23910,7 @@ const routes = {
23843
23910
  },
23844
23911
  {
23845
23912
  "name": "cursor",
23846
- "description": "The `next_cursor` of the previous page.",
23913
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
23847
23914
  "required": false,
23848
23915
  "type": "string",
23849
23916
  "in": "query"
@@ -23868,7 +23935,7 @@ const routes = {
23868
23935
  "in": "query"
23869
23936
  }, {
23870
23937
  "name": "cursor",
23871
- "description": "The `next_cursor` of the previous page.",
23938
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
23872
23939
  "required": false,
23873
23940
  "type": "string",
23874
23941
  "in": "query"
@@ -23928,7 +23995,7 @@ const routes = {
23928
23995
  "in": "query"
23929
23996
  }, {
23930
23997
  "name": "cursor",
23931
- "description": "The `next_cursor` of the previous page.",
23998
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
23932
23999
  "required": false,
23933
24000
  "type": "string",
23934
24001
  "in": "query"
@@ -24123,7 +24190,7 @@ const routes = {
24123
24190
  },
24124
24191
  {
24125
24192
  "name": "cursor",
24126
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
24193
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
24127
24194
  "required": false,
24128
24195
  "type": "string",
24129
24196
  "in": "query"
@@ -24352,7 +24419,7 @@ const routes = {
24352
24419
  },
24353
24420
  {
24354
24421
  "name": "cursor",
24355
- "description": "Opaque pagination cursor from a previous response's next_cursor.",
24422
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
24356
24423
  "required": false,
24357
24424
  "type": "string",
24358
24425
  "in": "query"
@@ -24435,7 +24502,7 @@ const routes = {
24435
24502
  moduleDocsUrl: "https://naturali.ai/docs/modules/workflows",
24436
24503
  httpMethod: "get",
24437
24504
  pathParams: ["project_id"],
24438
- queryParams: ["limit", "offset"],
24505
+ queryParams: ["limit", "cursor"],
24439
24506
  headerParams: [],
24440
24507
  cookieParams: [],
24441
24508
  flags: [
@@ -24454,10 +24521,10 @@ const routes = {
24454
24521
  "in": "query"
24455
24522
  },
24456
24523
  {
24457
- "name": "offset",
24458
- "description": "Results to skip. Negative or not an integer it is `400`.",
24524
+ "name": "cursor",
24525
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
24459
24526
  "required": false,
24460
- "type": "integer",
24527
+ "type": "string",
24461
24528
  "in": "query"
24462
24529
  }
24463
24530
  ]
@@ -24662,7 +24729,7 @@ const routes = {
24662
24729
  moduleDocsUrl: "https://naturali.ai/docs/modules/workflows",
24663
24730
  httpMethod: "get",
24664
24731
  pathParams: ["project_id", "workflow_id"],
24665
- queryParams: ["limit", "offset"],
24732
+ queryParams: ["limit", "cursor"],
24666
24733
  headerParams: [],
24667
24734
  cookieParams: [],
24668
24735
  flags: [
@@ -24688,10 +24755,10 @@ const routes = {
24688
24755
  "in": "query"
24689
24756
  },
24690
24757
  {
24691
- "name": "offset",
24692
- "description": "Results to skip. Negative or not an integer it is `400`.",
24758
+ "name": "cursor",
24759
+ "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
24693
24760
  "required": false,
24694
- "type": "integer",
24761
+ "type": "string",
24695
24762
  "in": "query"
24696
24763
  }
24697
24764
  ]