@naturali/cli 0.181.0 → 0.182.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +400 -176
- package/package.json +2 -2
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.
|
|
20
|
+
var version = "0.182.0";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -1517,6 +1517,7 @@ var AiProviders = class {
|
|
|
1517
1517
|
* 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.
|
|
1518
1518
|
* 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`.
|
|
1519
1519
|
* 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.
|
|
1520
|
+
* 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.
|
|
1520
1521
|
*
|
|
1521
1522
|
*/
|
|
1522
1523
|
static listAiProviderModels(options) {
|
|
@@ -3295,6 +3296,18 @@ var Generations = class {
|
|
|
3295
3296
|
});
|
|
3296
3297
|
}
|
|
3297
3298
|
/**
|
|
3299
|
+
* List the memory writes a generation made
|
|
3300
|
+
*
|
|
3301
|
+
* Every memory write this turn made, oldest first: each memory rule's firings and the agent's own `write_memory` calls alike. The rows behind the generation's per-rule `extraction` counts. Reading them is reading the generation (`generations:GetGeneration`).
|
|
3302
|
+
*
|
|
3303
|
+
*/
|
|
3304
|
+
static listGenerationMemoryAssertions(options) {
|
|
3305
|
+
return (options.client ?? client).get({
|
|
3306
|
+
url: "/v1/projects/{project_id}/generations/{generation_id}/memory-assertions",
|
|
3307
|
+
...options
|
|
3308
|
+
});
|
|
3309
|
+
}
|
|
3310
|
+
/**
|
|
3298
3311
|
* Get a generation's transcript
|
|
3299
3312
|
*
|
|
3300
3313
|
* Returns one generation's turn read back as an ordered sequence of steps: what it was asked, each model step with its tool calls and results, and how it ended.
|
|
@@ -4243,8 +4256,8 @@ var Orchestrations = class {
|
|
|
4243
4256
|
/**
|
|
4244
4257
|
* Get orchestration queue stats
|
|
4245
4258
|
*
|
|
4246
|
-
* Returns a point-in-time snapshot of the orchestration run queue: how many tasks are waiting to be claimed (`queue_depth`), how many are currently claimed with a valid lease (`claimed_tasks`), the age of the oldest waiting task, recent claim-latency percentiles over a rolling in-process window
|
|
4247
|
-
* Every figure is scoped to what the caller may see. A project-scoped caller gets `
|
|
4259
|
+
* Returns a point-in-time snapshot of the orchestration run queue: how many tasks are waiting to be claimed (`queue_depth`), how many are currently claimed with a valid lease (`claimed_tasks`), the age of the oldest waiting task, recent claim-latency percentiles over a rolling in-process window. The per-project breakdown is listed by `GET /v1/projects/{project_id}/orchestrations/queue/stats/projects`. Intended for admin/operator policies; guarded by `orchestrations:GetQueueStats`.
|
|
4260
|
+
* Every figure is scoped to what the caller may see. A project-scoped caller gets `queue_depth` and `claimed_tasks` summed over their own projects, and `null` for `oldest_queued_age_seconds` and the `claim_latency_ms` percentiles — both describe the whole deployment and cannot be narrowed, so they are withheld rather than approximated. An unrestricted caller (the action granted on every project) gets the deployment-wide figures.
|
|
4248
4261
|
*
|
|
4249
4262
|
*/
|
|
4250
4263
|
static getQueueStats(options) {
|
|
@@ -4263,6 +4276,27 @@ var Orchestrations = class {
|
|
|
4263
4276
|
});
|
|
4264
4277
|
}
|
|
4265
4278
|
/**
|
|
4279
|
+
* List the projects with queued orchestration work
|
|
4280
|
+
*
|
|
4281
|
+
* One row per project with any queued or claimed task, ordered by project ID: the per-project breakdown of `GET /v1/projects/{project_id}/orchestrations/queue/stats`. A project-scoped caller sees its own projects only. Guarded by `orchestrations:GetQueueStats`.
|
|
4282
|
+
*
|
|
4283
|
+
*/
|
|
4284
|
+
static listQueueStatsProjects(options) {
|
|
4285
|
+
return (options.client ?? client).get({
|
|
4286
|
+
security: [{
|
|
4287
|
+
key: "bearerAuth",
|
|
4288
|
+
scheme: "bearer",
|
|
4289
|
+
type: "http"
|
|
4290
|
+
}, {
|
|
4291
|
+
key: "oauth2",
|
|
4292
|
+
scheme: "bearer",
|
|
4293
|
+
type: "http"
|
|
4294
|
+
}],
|
|
4295
|
+
url: "/v1/projects/{project_id}/orchestrations/queue/stats/projects",
|
|
4296
|
+
...options
|
|
4297
|
+
});
|
|
4298
|
+
}
|
|
4299
|
+
/**
|
|
4266
4300
|
* Delete an orchestration
|
|
4267
4301
|
*
|
|
4268
4302
|
* Deletes an orchestration definition and all its runs.
|
|
@@ -4436,6 +4470,17 @@ var Orchestrations = class {
|
|
|
4436
4470
|
...options
|
|
4437
4471
|
});
|
|
4438
4472
|
}
|
|
4473
|
+
/**
|
|
4474
|
+
* List a run's node executions
|
|
4475
|
+
*
|
|
4476
|
+
* The run's per-node execution records, oldest first: one per node attempt, retries and skipped nodes included. Each captures the resolved input, output, status and error of that attempt — the orchestration analogue of an LLM trace. Reading them is reading the run (`orchestrations:GetRun`).
|
|
4477
|
+
*/
|
|
4478
|
+
static listOrchestrationRunNodeExecutions(options) {
|
|
4479
|
+
return (options.client ?? client).get({
|
|
4480
|
+
url: "/v1/projects/{project_id}/orchestration-runs/{orchestration_run_id}/node-executions",
|
|
4481
|
+
...options
|
|
4482
|
+
});
|
|
4483
|
+
}
|
|
4439
4484
|
};
|
|
4440
4485
|
var Projects = class {
|
|
4441
4486
|
/**
|
|
@@ -5257,7 +5302,7 @@ var Traces = class {
|
|
|
5257
5302
|
/**
|
|
5258
5303
|
* Get trace tree
|
|
5259
5304
|
*
|
|
5260
|
-
* Returns the full execution tree rooted at the given trace (or its root if the given trace is a child). Each node represents one agent's execution session. The `children` array contains traces triggered by sub-agent tool calls from that trace.
|
|
5305
|
+
* Returns the full execution tree rooted at the given trace (or its root if the given trace is a child). Each node represents one agent's execution session. The `children` array contains traces triggered by sub-agent tool calls from that trace. A node's generations are listed by `GET /v1/projects/{project_id}/generations?trace_id=`, and a node's direct children page by `GET /v1/projects/{project_id}/traces?parent_trace_id=`.
|
|
5261
5306
|
*
|
|
5262
5307
|
*/
|
|
5263
5308
|
static getTraceTree(options) {
|
|
@@ -6809,7 +6854,7 @@ const routes = {
|
|
|
6809
6854
|
},
|
|
6810
6855
|
{
|
|
6811
6856
|
"name": "limit",
|
|
6812
|
-
"description": "
|
|
6857
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
6813
6858
|
"required": false,
|
|
6814
6859
|
"type": "integer",
|
|
6815
6860
|
"in": "query"
|
|
@@ -6948,14 +6993,14 @@ const routes = {
|
|
|
6948
6993
|
},
|
|
6949
6994
|
{
|
|
6950
6995
|
"name": "limit",
|
|
6951
|
-
"description": "
|
|
6996
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
6952
6997
|
"required": false,
|
|
6953
6998
|
"type": "integer",
|
|
6954
6999
|
"in": "query"
|
|
6955
7000
|
},
|
|
6956
7001
|
{
|
|
6957
7002
|
"name": "offset",
|
|
6958
|
-
"description": "
|
|
7003
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
6959
7004
|
"required": false,
|
|
6960
7005
|
"type": "integer",
|
|
6961
7006
|
"in": "query"
|
|
@@ -7794,14 +7839,14 @@ const routes = {
|
|
|
7794
7839
|
},
|
|
7795
7840
|
{
|
|
7796
7841
|
"name": "limit",
|
|
7797
|
-
"description": "
|
|
7842
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
7798
7843
|
"required": false,
|
|
7799
7844
|
"type": "integer",
|
|
7800
7845
|
"in": "query"
|
|
7801
7846
|
},
|
|
7802
7847
|
{
|
|
7803
7848
|
"name": "offset",
|
|
7804
|
-
"description": "
|
|
7849
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
7805
7850
|
"required": false,
|
|
7806
7851
|
"type": "integer",
|
|
7807
7852
|
"in": "query"
|
|
@@ -7940,7 +7985,7 @@ const routes = {
|
|
|
7940
7985
|
},
|
|
7941
7986
|
{
|
|
7942
7987
|
"name": "prompt_caching",
|
|
7943
|
-
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks
|
|
7988
|
+
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks two cache breakpoints: the end of the system block, which covers the tool definitions and the instructions, and the last message of each step, which covers the conversation so far. A provider that caches by explicit breakpoint then reads, on every later step and every later turn of the session, the whole prefix the previous one sent, and writes only what was appended. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. A prefix below the model's minimum cacheable length is not cached. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage; a write with no `cache_write_tokens` price bills at the input rate.",
|
|
7944
7989
|
"required": false,
|
|
7945
7990
|
"type": "object",
|
|
7946
7991
|
"in": "body"
|
|
@@ -8152,7 +8197,7 @@ const routes = {
|
|
|
8152
8197
|
},
|
|
8153
8198
|
{
|
|
8154
8199
|
"name": "prompt_caching",
|
|
8155
|
-
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks
|
|
8200
|
+
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks two cache breakpoints: the end of the system block, which covers the tool definitions and the instructions, and the last message of each step, which covers the conversation so far. A provider that caches by explicit breakpoint then reads, on every later step and every later turn of the session, the whole prefix the previous one sent, and writes only what was appended. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. A prefix below the model's minimum cacheable length is not cached. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage; a write with no `cache_write_tokens` price bills at the input rate.",
|
|
8156
8201
|
"required": false,
|
|
8157
8202
|
"type": "object",
|
|
8158
8203
|
"in": "body"
|
|
@@ -8347,7 +8392,7 @@ const routes = {
|
|
|
8347
8392
|
},
|
|
8348
8393
|
{
|
|
8349
8394
|
"name": "prompt_caching",
|
|
8350
|
-
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks
|
|
8395
|
+
"description": "Prompt caching for this agent's turns. `{\"enabled\": true}` marks two cache breakpoints: the end of the system block, which covers the tool definitions and the instructions, and the last message of each step, which covers the conversation so far. A provider that caches by explicit breakpoint then reads, on every later step and every later turn of the session, the whole prefix the previous one sent, and writes only what was appended. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. A prefix below the model's minimum cacheable length is not cached. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage; a write with no `cache_write_tokens` price bills at the input rate.",
|
|
8351
8396
|
"required": false,
|
|
8352
8397
|
"type": "object",
|
|
8353
8398
|
"in": "body"
|
|
@@ -8620,14 +8665,14 @@ const routes = {
|
|
|
8620
8665
|
},
|
|
8621
8666
|
{
|
|
8622
8667
|
"name": "limit",
|
|
8623
|
-
"description": "
|
|
8668
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
8624
8669
|
"required": false,
|
|
8625
8670
|
"type": "integer",
|
|
8626
8671
|
"in": "query"
|
|
8627
8672
|
},
|
|
8628
8673
|
{
|
|
8629
8674
|
"name": "offset",
|
|
8630
|
-
"description": "
|
|
8675
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
8631
8676
|
"required": false,
|
|
8632
8677
|
"type": "integer",
|
|
8633
8678
|
"in": "query"
|
|
@@ -8840,14 +8885,14 @@ const routes = {
|
|
|
8840
8885
|
},
|
|
8841
8886
|
{
|
|
8842
8887
|
"name": "limit",
|
|
8843
|
-
"description": "
|
|
8888
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
8844
8889
|
"required": false,
|
|
8845
8890
|
"type": "integer",
|
|
8846
8891
|
"in": "query"
|
|
8847
8892
|
},
|
|
8848
8893
|
{
|
|
8849
8894
|
"name": "offset",
|
|
8850
|
-
"description": "
|
|
8895
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
8851
8896
|
"required": false,
|
|
8852
8897
|
"type": "integer",
|
|
8853
8898
|
"in": "query"
|
|
@@ -9046,26 +9091,54 @@ const routes = {
|
|
|
9046
9091
|
"list-ai-provider-models": {
|
|
9047
9092
|
serviceClass: "AIProviders",
|
|
9048
9093
|
operationId: "listAiProviderModels",
|
|
9049
|
-
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.",
|
|
9094
|
+
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.",
|
|
9050
9095
|
moduleDocsUrl: "https://naturali.ai/docs/modules/ai-providers",
|
|
9051
9096
|
httpMethod: "get",
|
|
9052
9097
|
pathParams: ["project_id", "ai_provider_id"],
|
|
9053
|
-
queryParams: [
|
|
9098
|
+
queryParams: [
|
|
9099
|
+
"q",
|
|
9100
|
+
"limit",
|
|
9101
|
+
"offset"
|
|
9102
|
+
],
|
|
9054
9103
|
headerParams: [],
|
|
9055
9104
|
cookieParams: [],
|
|
9056
|
-
flags: [
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9105
|
+
flags: [
|
|
9106
|
+
{
|
|
9107
|
+
"name": "project_id",
|
|
9108
|
+
"description": "Project public ID (proj_ prefix).",
|
|
9109
|
+
"required": true,
|
|
9110
|
+
"type": "string",
|
|
9111
|
+
"in": "path"
|
|
9112
|
+
},
|
|
9113
|
+
{
|
|
9114
|
+
"name": "ai_provider_id",
|
|
9115
|
+
"description": "AI Provider ID",
|
|
9116
|
+
"required": true,
|
|
9117
|
+
"type": "string",
|
|
9118
|
+
"in": "path"
|
|
9119
|
+
},
|
|
9120
|
+
{
|
|
9121
|
+
"name": "q",
|
|
9122
|
+
"description": "Keeps the models whose `id` or `display_name` contains this text, ignoring case. Applied before paging, so `total` counts the matches.\n",
|
|
9123
|
+
"required": false,
|
|
9124
|
+
"type": "string",
|
|
9125
|
+
"in": "query"
|
|
9126
|
+
},
|
|
9127
|
+
{
|
|
9128
|
+
"name": "limit",
|
|
9129
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9130
|
+
"required": false,
|
|
9131
|
+
"type": "integer",
|
|
9132
|
+
"in": "query"
|
|
9133
|
+
},
|
|
9134
|
+
{
|
|
9135
|
+
"name": "offset",
|
|
9136
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9137
|
+
"required": false,
|
|
9138
|
+
"type": "integer",
|
|
9139
|
+
"in": "query"
|
|
9140
|
+
}
|
|
9141
|
+
]
|
|
9069
9142
|
},
|
|
9070
9143
|
"get-ai-provider-prices": {
|
|
9071
9144
|
serviceClass: "AIProviders",
|
|
@@ -9318,14 +9391,14 @@ const routes = {
|
|
|
9318
9391
|
},
|
|
9319
9392
|
{
|
|
9320
9393
|
"name": "limit",
|
|
9321
|
-
"description": "
|
|
9394
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9322
9395
|
"required": false,
|
|
9323
9396
|
"type": "integer",
|
|
9324
9397
|
"in": "query"
|
|
9325
9398
|
},
|
|
9326
9399
|
{
|
|
9327
9400
|
"name": "offset",
|
|
9328
|
-
"description": "
|
|
9401
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9329
9402
|
"required": false,
|
|
9330
9403
|
"type": "integer",
|
|
9331
9404
|
"in": "query"
|
|
@@ -9371,14 +9444,14 @@ const routes = {
|
|
|
9371
9444
|
},
|
|
9372
9445
|
{
|
|
9373
9446
|
"name": "limit",
|
|
9374
|
-
"description": "
|
|
9447
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9375
9448
|
"required": false,
|
|
9376
9449
|
"type": "integer",
|
|
9377
9450
|
"in": "query"
|
|
9378
9451
|
},
|
|
9379
9452
|
{
|
|
9380
9453
|
"name": "offset",
|
|
9381
|
-
"description": "
|
|
9454
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9382
9455
|
"required": false,
|
|
9383
9456
|
"type": "integer",
|
|
9384
9457
|
"in": "query"
|
|
@@ -9753,14 +9826,14 @@ const routes = {
|
|
|
9753
9826
|
},
|
|
9754
9827
|
{
|
|
9755
9828
|
"name": "limit",
|
|
9756
|
-
"description": "
|
|
9829
|
+
"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`.",
|
|
9757
9830
|
"required": false,
|
|
9758
9831
|
"type": "integer",
|
|
9759
9832
|
"in": "query"
|
|
9760
9833
|
},
|
|
9761
9834
|
{
|
|
9762
9835
|
"name": "offset",
|
|
9763
|
-
"description": "
|
|
9836
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
9764
9837
|
"required": false,
|
|
9765
9838
|
"type": "integer",
|
|
9766
9839
|
"in": "query"
|
|
@@ -10001,14 +10074,14 @@ const routes = {
|
|
|
10001
10074
|
},
|
|
10002
10075
|
{
|
|
10003
10076
|
"name": "limit",
|
|
10004
|
-
"description": "
|
|
10077
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
10005
10078
|
"required": false,
|
|
10006
10079
|
"type": "integer",
|
|
10007
10080
|
"in": "query"
|
|
10008
10081
|
},
|
|
10009
10082
|
{
|
|
10010
10083
|
"name": "offset",
|
|
10011
|
-
"description": "
|
|
10084
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
10012
10085
|
"required": false,
|
|
10013
10086
|
"type": "integer",
|
|
10014
10087
|
"in": "query"
|
|
@@ -10906,14 +10979,14 @@ const routes = {
|
|
|
10906
10979
|
},
|
|
10907
10980
|
{
|
|
10908
10981
|
"name": "limit",
|
|
10909
|
-
"description": "
|
|
10982
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
10910
10983
|
"required": false,
|
|
10911
10984
|
"type": "integer",
|
|
10912
10985
|
"in": "query"
|
|
10913
10986
|
},
|
|
10914
10987
|
{
|
|
10915
10988
|
"name": "offset",
|
|
10916
|
-
"description": "
|
|
10989
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
10917
10990
|
"required": false,
|
|
10918
10991
|
"type": "integer",
|
|
10919
10992
|
"in": "query"
|
|
@@ -11091,14 +11164,14 @@ const routes = {
|
|
|
11091
11164
|
},
|
|
11092
11165
|
{
|
|
11093
11166
|
"name": "limit",
|
|
11094
|
-
"description": "
|
|
11167
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11095
11168
|
"required": false,
|
|
11096
11169
|
"type": "integer",
|
|
11097
11170
|
"in": "query"
|
|
11098
11171
|
},
|
|
11099
11172
|
{
|
|
11100
11173
|
"name": "offset",
|
|
11101
|
-
"description": "
|
|
11174
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11102
11175
|
"required": false,
|
|
11103
11176
|
"type": "integer",
|
|
11104
11177
|
"in": "query"
|
|
@@ -11379,14 +11452,14 @@ const routes = {
|
|
|
11379
11452
|
},
|
|
11380
11453
|
{
|
|
11381
11454
|
"name": "limit",
|
|
11382
|
-
"description": "
|
|
11455
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11383
11456
|
"required": false,
|
|
11384
11457
|
"type": "integer",
|
|
11385
11458
|
"in": "query"
|
|
11386
11459
|
},
|
|
11387
11460
|
{
|
|
11388
11461
|
"name": "offset",
|
|
11389
|
-
"description": "
|
|
11462
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11390
11463
|
"required": false,
|
|
11391
11464
|
"type": "integer",
|
|
11392
11465
|
"in": "query"
|
|
@@ -11613,14 +11686,14 @@ const routes = {
|
|
|
11613
11686
|
},
|
|
11614
11687
|
{
|
|
11615
11688
|
"name": "limit",
|
|
11616
|
-
"description": "
|
|
11689
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11617
11690
|
"required": false,
|
|
11618
11691
|
"type": "integer",
|
|
11619
11692
|
"in": "query"
|
|
11620
11693
|
},
|
|
11621
11694
|
{
|
|
11622
11695
|
"name": "offset",
|
|
11623
|
-
"description": "
|
|
11696
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11624
11697
|
"required": false,
|
|
11625
11698
|
"type": "integer",
|
|
11626
11699
|
"in": "query"
|
|
@@ -11797,14 +11870,14 @@ const routes = {
|
|
|
11797
11870
|
},
|
|
11798
11871
|
{
|
|
11799
11872
|
"name": "limit",
|
|
11800
|
-
"description": "
|
|
11873
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11801
11874
|
"required": false,
|
|
11802
11875
|
"type": "integer",
|
|
11803
11876
|
"in": "query"
|
|
11804
11877
|
},
|
|
11805
11878
|
{
|
|
11806
11879
|
"name": "offset",
|
|
11807
|
-
"description": "
|
|
11880
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11808
11881
|
"required": false,
|
|
11809
11882
|
"type": "integer",
|
|
11810
11883
|
"in": "query"
|
|
@@ -11960,14 +12033,14 @@ const routes = {
|
|
|
11960
12033
|
},
|
|
11961
12034
|
{
|
|
11962
12035
|
"name": "limit",
|
|
11963
|
-
"description": "
|
|
12036
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11964
12037
|
"required": false,
|
|
11965
12038
|
"type": "integer",
|
|
11966
12039
|
"in": "query"
|
|
11967
12040
|
},
|
|
11968
12041
|
{
|
|
11969
12042
|
"name": "offset",
|
|
11970
|
-
"description": "
|
|
12043
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
11971
12044
|
"required": false,
|
|
11972
12045
|
"type": "integer",
|
|
11973
12046
|
"in": "query"
|
|
@@ -12281,22 +12354,39 @@ const routes = {
|
|
|
12281
12354
|
moduleDocsUrl: "https://naturali.ai/docs/modules/documents",
|
|
12282
12355
|
httpMethod: "get",
|
|
12283
12356
|
pathParams: ["project_id", "document_id"],
|
|
12284
|
-
queryParams: [],
|
|
12357
|
+
queryParams: ["limit", "offset"],
|
|
12285
12358
|
headerParams: [],
|
|
12286
12359
|
cookieParams: [],
|
|
12287
|
-
flags: [
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12360
|
+
flags: [
|
|
12361
|
+
{
|
|
12362
|
+
"name": "project_id",
|
|
12363
|
+
"description": "Project public ID (proj_ prefix).",
|
|
12364
|
+
"required": true,
|
|
12365
|
+
"type": "string",
|
|
12366
|
+
"in": "path"
|
|
12367
|
+
},
|
|
12368
|
+
{
|
|
12369
|
+
"name": "document_id",
|
|
12370
|
+
"description": "",
|
|
12371
|
+
"required": true,
|
|
12372
|
+
"type": "string",
|
|
12373
|
+
"in": "path"
|
|
12374
|
+
},
|
|
12375
|
+
{
|
|
12376
|
+
"name": "limit",
|
|
12377
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12378
|
+
"required": false,
|
|
12379
|
+
"type": "integer",
|
|
12380
|
+
"in": "query"
|
|
12381
|
+
},
|
|
12382
|
+
{
|
|
12383
|
+
"name": "offset",
|
|
12384
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12385
|
+
"required": false,
|
|
12386
|
+
"type": "integer",
|
|
12387
|
+
"in": "query"
|
|
12388
|
+
}
|
|
12389
|
+
]
|
|
12300
12390
|
},
|
|
12301
12391
|
"create-document-relation": {
|
|
12302
12392
|
serviceClass: "Documents",
|
|
@@ -12476,14 +12566,14 @@ const routes = {
|
|
|
12476
12566
|
},
|
|
12477
12567
|
{
|
|
12478
12568
|
"name": "limit",
|
|
12479
|
-
"description": "
|
|
12569
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12480
12570
|
"required": false,
|
|
12481
12571
|
"type": "integer",
|
|
12482
12572
|
"in": "query"
|
|
12483
12573
|
},
|
|
12484
12574
|
{
|
|
12485
12575
|
"name": "offset",
|
|
12486
|
-
"description": "
|
|
12576
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12487
12577
|
"required": false,
|
|
12488
12578
|
"type": "integer",
|
|
12489
12579
|
"in": "query"
|
|
@@ -12774,14 +12864,14 @@ const routes = {
|
|
|
12774
12864
|
},
|
|
12775
12865
|
{
|
|
12776
12866
|
"name": "limit",
|
|
12777
|
-
"description": "
|
|
12867
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12778
12868
|
"required": false,
|
|
12779
12869
|
"type": "integer",
|
|
12780
12870
|
"in": "query"
|
|
12781
12871
|
},
|
|
12782
12872
|
{
|
|
12783
12873
|
"name": "offset",
|
|
12784
|
-
"description": "
|
|
12874
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12785
12875
|
"required": false,
|
|
12786
12876
|
"type": "integer",
|
|
12787
12877
|
"in": "query"
|
|
@@ -12938,14 +13028,14 @@ const routes = {
|
|
|
12938
13028
|
},
|
|
12939
13029
|
{
|
|
12940
13030
|
"name": "limit",
|
|
12941
|
-
"description": "
|
|
13031
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12942
13032
|
"required": false,
|
|
12943
13033
|
"type": "integer",
|
|
12944
13034
|
"in": "query"
|
|
12945
13035
|
},
|
|
12946
13036
|
{
|
|
12947
13037
|
"name": "offset",
|
|
12948
|
-
"description": "
|
|
13038
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
12949
13039
|
"required": false,
|
|
12950
13040
|
"type": "integer",
|
|
12951
13041
|
"in": "query"
|
|
@@ -13165,14 +13255,14 @@ const routes = {
|
|
|
13165
13255
|
},
|
|
13166
13256
|
{
|
|
13167
13257
|
"name": "limit",
|
|
13168
|
-
"description": "
|
|
13258
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13169
13259
|
"required": false,
|
|
13170
13260
|
"type": "integer",
|
|
13171
13261
|
"in": "query"
|
|
13172
13262
|
},
|
|
13173
13263
|
{
|
|
13174
13264
|
"name": "offset",
|
|
13175
|
-
"description": "
|
|
13265
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13176
13266
|
"required": false,
|
|
13177
13267
|
"type": "integer",
|
|
13178
13268
|
"in": "query"
|
|
@@ -13385,14 +13475,14 @@ const routes = {
|
|
|
13385
13475
|
},
|
|
13386
13476
|
{
|
|
13387
13477
|
"name": "limit",
|
|
13388
|
-
"description": "
|
|
13478
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13389
13479
|
"required": false,
|
|
13390
13480
|
"type": "integer",
|
|
13391
13481
|
"in": "query"
|
|
13392
13482
|
},
|
|
13393
13483
|
{
|
|
13394
13484
|
"name": "offset",
|
|
13395
|
-
"description": "
|
|
13485
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13396
13486
|
"required": false,
|
|
13397
13487
|
"type": "integer",
|
|
13398
13488
|
"in": "query"
|
|
@@ -13537,14 +13627,14 @@ const routes = {
|
|
|
13537
13627
|
},
|
|
13538
13628
|
{
|
|
13539
13629
|
"name": "limit",
|
|
13540
|
-
"description": "
|
|
13630
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13541
13631
|
"required": false,
|
|
13542
13632
|
"type": "integer",
|
|
13543
13633
|
"in": "query"
|
|
13544
13634
|
},
|
|
13545
13635
|
{
|
|
13546
13636
|
"name": "offset",
|
|
13547
|
-
"description": "
|
|
13637
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13548
13638
|
"required": false,
|
|
13549
13639
|
"type": "integer",
|
|
13550
13640
|
"in": "query"
|
|
@@ -13636,14 +13726,14 @@ const routes = {
|
|
|
13636
13726
|
},
|
|
13637
13727
|
{
|
|
13638
13728
|
"name": "limit",
|
|
13639
|
-
"description": "
|
|
13729
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13640
13730
|
"required": false,
|
|
13641
13731
|
"type": "integer",
|
|
13642
13732
|
"in": "query"
|
|
13643
13733
|
},
|
|
13644
13734
|
{
|
|
13645
13735
|
"name": "offset",
|
|
13646
|
-
"description": "
|
|
13736
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13647
13737
|
"required": false,
|
|
13648
13738
|
"type": "integer",
|
|
13649
13739
|
"in": "query"
|
|
@@ -13771,14 +13861,14 @@ const routes = {
|
|
|
13771
13861
|
},
|
|
13772
13862
|
{
|
|
13773
13863
|
"name": "limit",
|
|
13774
|
-
"description": "
|
|
13864
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13775
13865
|
"required": false,
|
|
13776
13866
|
"type": "integer",
|
|
13777
13867
|
"in": "query"
|
|
13778
13868
|
},
|
|
13779
13869
|
{
|
|
13780
13870
|
"name": "offset",
|
|
13781
|
-
"description": "
|
|
13871
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
13782
13872
|
"required": false,
|
|
13783
13873
|
"type": "integer",
|
|
13784
13874
|
"in": "query"
|
|
@@ -14264,14 +14354,14 @@ const routes = {
|
|
|
14264
14354
|
},
|
|
14265
14355
|
{
|
|
14266
14356
|
"name": "limit",
|
|
14267
|
-
"description": "
|
|
14357
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14268
14358
|
"required": false,
|
|
14269
14359
|
"type": "integer",
|
|
14270
14360
|
"in": "query"
|
|
14271
14361
|
},
|
|
14272
14362
|
{
|
|
14273
14363
|
"name": "offset",
|
|
14274
|
-
"description": "
|
|
14364
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14275
14365
|
"required": false,
|
|
14276
14366
|
"type": "integer",
|
|
14277
14367
|
"in": "query"
|
|
@@ -14449,14 +14539,14 @@ const routes = {
|
|
|
14449
14539
|
},
|
|
14450
14540
|
{
|
|
14451
14541
|
"name": "limit",
|
|
14452
|
-
"description": "
|
|
14542
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14453
14543
|
"required": false,
|
|
14454
14544
|
"type": "integer",
|
|
14455
14545
|
"in": "query"
|
|
14456
14546
|
},
|
|
14457
14547
|
{
|
|
14458
14548
|
"name": "offset",
|
|
14459
|
-
"description": "
|
|
14549
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14460
14550
|
"required": false,
|
|
14461
14551
|
"type": "integer",
|
|
14462
14552
|
"in": "query"
|
|
@@ -14558,14 +14648,14 @@ const routes = {
|
|
|
14558
14648
|
},
|
|
14559
14649
|
{
|
|
14560
14650
|
"name": "limit",
|
|
14561
|
-
"description": "",
|
|
14651
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14562
14652
|
"required": false,
|
|
14563
14653
|
"type": "integer",
|
|
14564
14654
|
"in": "query"
|
|
14565
14655
|
},
|
|
14566
14656
|
{
|
|
14567
14657
|
"name": "offset",
|
|
14568
|
-
"description": "",
|
|
14658
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14569
14659
|
"required": false,
|
|
14570
14660
|
"type": "integer",
|
|
14571
14661
|
"in": "query"
|
|
@@ -14654,6 +14744,47 @@ const routes = {
|
|
|
14654
14744
|
"in": "path"
|
|
14655
14745
|
}]
|
|
14656
14746
|
},
|
|
14747
|
+
"list-generation-memory-assertions": {
|
|
14748
|
+
serviceClass: "Generations",
|
|
14749
|
+
operationId: "listGenerationMemoryAssertions",
|
|
14750
|
+
description: "Every memory write this turn made, oldest first: each memory rule's firings and the agent's own `write_memory` calls alike. The rows behind the generation's per-rule `extraction` counts. Reading them is reading the generation (`generations:GetGeneration`).",
|
|
14751
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/generations",
|
|
14752
|
+
httpMethod: "get",
|
|
14753
|
+
pathParams: ["project_id", "generation_id"],
|
|
14754
|
+
queryParams: ["limit", "offset"],
|
|
14755
|
+
headerParams: [],
|
|
14756
|
+
cookieParams: [],
|
|
14757
|
+
flags: [
|
|
14758
|
+
{
|
|
14759
|
+
"name": "project_id",
|
|
14760
|
+
"description": "Project public ID (proj_ prefix).",
|
|
14761
|
+
"required": true,
|
|
14762
|
+
"type": "string",
|
|
14763
|
+
"in": "path"
|
|
14764
|
+
},
|
|
14765
|
+
{
|
|
14766
|
+
"name": "generation_id",
|
|
14767
|
+
"description": "Public ID of the generation",
|
|
14768
|
+
"required": true,
|
|
14769
|
+
"type": "string",
|
|
14770
|
+
"in": "path"
|
|
14771
|
+
},
|
|
14772
|
+
{
|
|
14773
|
+
"name": "limit",
|
|
14774
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14775
|
+
"required": false,
|
|
14776
|
+
"type": "integer",
|
|
14777
|
+
"in": "query"
|
|
14778
|
+
},
|
|
14779
|
+
{
|
|
14780
|
+
"name": "offset",
|
|
14781
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14782
|
+
"required": false,
|
|
14783
|
+
"type": "integer",
|
|
14784
|
+
"in": "query"
|
|
14785
|
+
}
|
|
14786
|
+
]
|
|
14787
|
+
},
|
|
14657
14788
|
"get-generation-transcript": {
|
|
14658
14789
|
serviceClass: "Generations",
|
|
14659
14790
|
operationId: "getGenerationTranscript",
|
|
@@ -14698,14 +14829,14 @@ const routes = {
|
|
|
14698
14829
|
},
|
|
14699
14830
|
{
|
|
14700
14831
|
"name": "limit",
|
|
14701
|
-
"description": "
|
|
14832
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14702
14833
|
"required": false,
|
|
14703
14834
|
"type": "integer",
|
|
14704
14835
|
"in": "query"
|
|
14705
14836
|
},
|
|
14706
14837
|
{
|
|
14707
14838
|
"name": "offset",
|
|
14708
|
-
"description": "
|
|
14839
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14709
14840
|
"required": false,
|
|
14710
14841
|
"type": "integer",
|
|
14711
14842
|
"in": "query"
|
|
@@ -14932,14 +15063,14 @@ const routes = {
|
|
|
14932
15063
|
},
|
|
14933
15064
|
{
|
|
14934
15065
|
"name": "limit",
|
|
14935
|
-
"description": "
|
|
15066
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14936
15067
|
"required": false,
|
|
14937
15068
|
"type": "integer",
|
|
14938
15069
|
"in": "query"
|
|
14939
15070
|
},
|
|
14940
15071
|
{
|
|
14941
15072
|
"name": "offset",
|
|
14942
|
-
"description": "
|
|
15073
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
14943
15074
|
"required": false,
|
|
14944
15075
|
"type": "integer",
|
|
14945
15076
|
"in": "query"
|
|
@@ -15097,14 +15228,14 @@ const routes = {
|
|
|
15097
15228
|
},
|
|
15098
15229
|
{
|
|
15099
15230
|
"name": "limit",
|
|
15100
|
-
"description": "
|
|
15231
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
15101
15232
|
"required": false,
|
|
15102
15233
|
"type": "integer",
|
|
15103
15234
|
"in": "query"
|
|
15104
15235
|
},
|
|
15105
15236
|
{
|
|
15106
15237
|
"name": "offset",
|
|
15107
|
-
"description": "
|
|
15238
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
15108
15239
|
"required": false,
|
|
15109
15240
|
"type": "integer",
|
|
15110
15241
|
"in": "query"
|
|
@@ -15933,14 +16064,14 @@ const routes = {
|
|
|
15933
16064
|
},
|
|
15934
16065
|
{
|
|
15935
16066
|
"name": "limit",
|
|
15936
|
-
"description": "
|
|
16067
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
15937
16068
|
"required": false,
|
|
15938
16069
|
"type": "integer",
|
|
15939
16070
|
"in": "query"
|
|
15940
16071
|
},
|
|
15941
16072
|
{
|
|
15942
16073
|
"name": "offset",
|
|
15943
|
-
"description": "
|
|
16074
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
15944
16075
|
"required": false,
|
|
15945
16076
|
"type": "integer",
|
|
15946
16077
|
"in": "query"
|
|
@@ -16215,14 +16346,14 @@ const routes = {
|
|
|
16215
16346
|
},
|
|
16216
16347
|
{
|
|
16217
16348
|
"name": "limit",
|
|
16218
|
-
"description": "
|
|
16349
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16219
16350
|
"required": false,
|
|
16220
16351
|
"type": "integer",
|
|
16221
16352
|
"in": "query"
|
|
16222
16353
|
},
|
|
16223
16354
|
{
|
|
16224
16355
|
"name": "offset",
|
|
16225
|
-
"description": "
|
|
16356
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16226
16357
|
"required": false,
|
|
16227
16358
|
"type": "integer",
|
|
16228
16359
|
"in": "query"
|
|
@@ -16352,14 +16483,14 @@ const routes = {
|
|
|
16352
16483
|
},
|
|
16353
16484
|
{
|
|
16354
16485
|
"name": "limit",
|
|
16355
|
-
"description": "
|
|
16486
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16356
16487
|
"required": false,
|
|
16357
16488
|
"type": "integer",
|
|
16358
16489
|
"in": "query"
|
|
16359
16490
|
},
|
|
16360
16491
|
{
|
|
16361
16492
|
"name": "offset",
|
|
16362
|
-
"description": "
|
|
16493
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16363
16494
|
"required": false,
|
|
16364
16495
|
"type": "integer",
|
|
16365
16496
|
"in": "query"
|
|
@@ -16639,14 +16770,14 @@ const routes = {
|
|
|
16639
16770
|
},
|
|
16640
16771
|
{
|
|
16641
16772
|
"name": "limit",
|
|
16642
|
-
"description": "
|
|
16773
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16643
16774
|
"required": false,
|
|
16644
16775
|
"type": "integer",
|
|
16645
16776
|
"in": "query"
|
|
16646
16777
|
},
|
|
16647
16778
|
{
|
|
16648
16779
|
"name": "offset",
|
|
16649
|
-
"description": "
|
|
16780
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16650
16781
|
"required": false,
|
|
16651
16782
|
"type": "integer",
|
|
16652
16783
|
"in": "query"
|
|
@@ -16880,14 +17011,14 @@ const routes = {
|
|
|
16880
17011
|
},
|
|
16881
17012
|
{
|
|
16882
17013
|
"name": "limit",
|
|
16883
|
-
"description": "
|
|
17014
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16884
17015
|
"required": false,
|
|
16885
17016
|
"type": "integer",
|
|
16886
17017
|
"in": "query"
|
|
16887
17018
|
},
|
|
16888
17019
|
{
|
|
16889
17020
|
"name": "offset",
|
|
16890
|
-
"description": "
|
|
17021
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
16891
17022
|
"required": false,
|
|
16892
17023
|
"type": "integer",
|
|
16893
17024
|
"in": "query"
|
|
@@ -17058,14 +17189,14 @@ const routes = {
|
|
|
17058
17189
|
},
|
|
17059
17190
|
{
|
|
17060
17191
|
"name": "limit",
|
|
17061
|
-
"description": "
|
|
17192
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17062
17193
|
"required": false,
|
|
17063
17194
|
"type": "integer",
|
|
17064
17195
|
"in": "query"
|
|
17065
17196
|
},
|
|
17066
17197
|
{
|
|
17067
17198
|
"name": "offset",
|
|
17068
|
-
"description": "
|
|
17199
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17069
17200
|
"required": false,
|
|
17070
17201
|
"type": "integer",
|
|
17071
17202
|
"in": "query"
|
|
@@ -17256,14 +17387,14 @@ const routes = {
|
|
|
17256
17387
|
},
|
|
17257
17388
|
{
|
|
17258
17389
|
"name": "limit",
|
|
17259
|
-
"description": "
|
|
17390
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17260
17391
|
"required": false,
|
|
17261
17392
|
"type": "integer",
|
|
17262
17393
|
"in": "query"
|
|
17263
17394
|
},
|
|
17264
17395
|
{
|
|
17265
17396
|
"name": "offset",
|
|
17266
|
-
"description": "
|
|
17397
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17267
17398
|
"required": false,
|
|
17268
17399
|
"type": "integer",
|
|
17269
17400
|
"in": "query"
|
|
@@ -17527,14 +17658,14 @@ const routes = {
|
|
|
17527
17658
|
},
|
|
17528
17659
|
{
|
|
17529
17660
|
"name": "limit",
|
|
17530
|
-
"description": "
|
|
17661
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17531
17662
|
"required": false,
|
|
17532
17663
|
"type": "integer",
|
|
17533
17664
|
"in": "query"
|
|
17534
17665
|
},
|
|
17535
17666
|
{
|
|
17536
17667
|
"name": "offset",
|
|
17537
|
-
"description": "
|
|
17668
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17538
17669
|
"required": false,
|
|
17539
17670
|
"type": "integer",
|
|
17540
17671
|
"in": "query"
|
|
@@ -17661,7 +17792,7 @@ const routes = {
|
|
|
17661
17792
|
"get-queue-stats": {
|
|
17662
17793
|
serviceClass: "Orchestrations",
|
|
17663
17794
|
operationId: "getQueueStats",
|
|
17664
|
-
description: "Returns a point-in-time snapshot of the orchestration run queue: how many tasks are waiting to be claimed (`queue_depth`), how many are currently claimed with a valid lease (`claimed_tasks`), the age of the oldest waiting task, recent claim-latency percentiles over a rolling in-process window
|
|
17795
|
+
description: "Returns a point-in-time snapshot of the orchestration run queue: how many tasks are waiting to be claimed (`queue_depth`), how many are currently claimed with a valid lease (`claimed_tasks`), the age of the oldest waiting task, recent claim-latency percentiles over a rolling in-process window. The per-project breakdown is listed by `GET /v1/projects/{project_id}/orchestrations/queue/stats/projects`. Intended for admin/operator policies; guarded by `orchestrations:GetQueueStats`. Every figure is scoped to what the caller may see. A project-scoped caller gets `queue_depth` and `claimed_tasks` summed over their own projects, and `null` for `oldest_queued_age_seconds` and the `claim_latency_ms` percentiles — both describe the whole deployment and cannot be narrowed, so they are withheld rather than approximated. An unrestricted caller (the action granted on every project) gets the deployment-wide figures.",
|
|
17665
17796
|
moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
|
|
17666
17797
|
httpMethod: "get",
|
|
17667
17798
|
pathParams: ["project_id"],
|
|
@@ -17676,6 +17807,40 @@ const routes = {
|
|
|
17676
17807
|
"in": "path"
|
|
17677
17808
|
}]
|
|
17678
17809
|
},
|
|
17810
|
+
"list-queue-stats-projects": {
|
|
17811
|
+
serviceClass: "Orchestrations",
|
|
17812
|
+
operationId: "listQueueStatsProjects",
|
|
17813
|
+
description: "One row per project with any queued or claimed task, ordered by project ID: the per-project breakdown of `GET /v1/projects/{project_id}/orchestrations/queue/stats`. A project-scoped caller sees its own projects only. Guarded by `orchestrations:GetQueueStats`.",
|
|
17814
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
|
|
17815
|
+
httpMethod: "get",
|
|
17816
|
+
pathParams: ["project_id"],
|
|
17817
|
+
queryParams: ["limit", "offset"],
|
|
17818
|
+
headerParams: [],
|
|
17819
|
+
cookieParams: [],
|
|
17820
|
+
flags: [
|
|
17821
|
+
{
|
|
17822
|
+
"name": "project_id",
|
|
17823
|
+
"description": "Project public ID (proj_ prefix).",
|
|
17824
|
+
"required": true,
|
|
17825
|
+
"type": "string",
|
|
17826
|
+
"in": "path"
|
|
17827
|
+
},
|
|
17828
|
+
{
|
|
17829
|
+
"name": "limit",
|
|
17830
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17831
|
+
"required": false,
|
|
17832
|
+
"type": "integer",
|
|
17833
|
+
"in": "query"
|
|
17834
|
+
},
|
|
17835
|
+
{
|
|
17836
|
+
"name": "offset",
|
|
17837
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17838
|
+
"required": false,
|
|
17839
|
+
"type": "integer",
|
|
17840
|
+
"in": "query"
|
|
17841
|
+
}
|
|
17842
|
+
]
|
|
17843
|
+
},
|
|
17679
17844
|
"get-orchestration": {
|
|
17680
17845
|
serviceClass: "Orchestrations",
|
|
17681
17846
|
operationId: "getOrchestration",
|
|
@@ -17848,14 +18013,14 @@ const routes = {
|
|
|
17848
18013
|
},
|
|
17849
18014
|
{
|
|
17850
18015
|
"name": "limit",
|
|
17851
|
-
"description": "
|
|
18016
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17852
18017
|
"required": false,
|
|
17853
18018
|
"type": "integer",
|
|
17854
18019
|
"in": "query"
|
|
17855
18020
|
},
|
|
17856
18021
|
{
|
|
17857
18022
|
"name": "offset",
|
|
17858
|
-
"description": "
|
|
18023
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
17859
18024
|
"required": false,
|
|
17860
18025
|
"type": "integer",
|
|
17861
18026
|
"in": "query"
|
|
@@ -18000,14 +18165,14 @@ const routes = {
|
|
|
18000
18165
|
},
|
|
18001
18166
|
{
|
|
18002
18167
|
"name": "limit",
|
|
18003
|
-
"description": "
|
|
18168
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
18004
18169
|
"required": false,
|
|
18005
18170
|
"type": "integer",
|
|
18006
18171
|
"in": "query"
|
|
18007
18172
|
},
|
|
18008
18173
|
{
|
|
18009
18174
|
"name": "offset",
|
|
18010
|
-
"description": "
|
|
18175
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
18011
18176
|
"required": false,
|
|
18012
18177
|
"type": "integer",
|
|
18013
18178
|
"in": "query"
|
|
@@ -18223,6 +18388,47 @@ const routes = {
|
|
|
18223
18388
|
"in": "path"
|
|
18224
18389
|
}]
|
|
18225
18390
|
},
|
|
18391
|
+
"list-orchestration-run-node-executions": {
|
|
18392
|
+
serviceClass: "Orchestrations",
|
|
18393
|
+
operationId: "listOrchestrationRunNodeExecutions",
|
|
18394
|
+
description: "The run's per-node execution records, oldest first: one per node attempt, retries and skipped nodes included. Each captures the resolved input, output, status and error of that attempt — the orchestration analogue of an LLM trace. Reading them is reading the run (`orchestrations:GetRun`).",
|
|
18395
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/orchestrations",
|
|
18396
|
+
httpMethod: "get",
|
|
18397
|
+
pathParams: ["project_id", "orchestration_run_id"],
|
|
18398
|
+
queryParams: ["limit", "offset"],
|
|
18399
|
+
headerParams: [],
|
|
18400
|
+
cookieParams: [],
|
|
18401
|
+
flags: [
|
|
18402
|
+
{
|
|
18403
|
+
"name": "project_id",
|
|
18404
|
+
"description": "Project public ID (proj_ prefix).",
|
|
18405
|
+
"required": true,
|
|
18406
|
+
"type": "string",
|
|
18407
|
+
"in": "path"
|
|
18408
|
+
},
|
|
18409
|
+
{
|
|
18410
|
+
"name": "orchestration_run_id",
|
|
18411
|
+
"description": "Public ID of the run (run_...)",
|
|
18412
|
+
"required": true,
|
|
18413
|
+
"type": "string",
|
|
18414
|
+
"in": "path"
|
|
18415
|
+
},
|
|
18416
|
+
{
|
|
18417
|
+
"name": "limit",
|
|
18418
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
18419
|
+
"required": false,
|
|
18420
|
+
"type": "integer",
|
|
18421
|
+
"in": "query"
|
|
18422
|
+
},
|
|
18423
|
+
{
|
|
18424
|
+
"name": "offset",
|
|
18425
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
18426
|
+
"required": false,
|
|
18427
|
+
"type": "integer",
|
|
18428
|
+
"in": "query"
|
|
18429
|
+
}
|
|
18430
|
+
]
|
|
18431
|
+
},
|
|
18226
18432
|
"list-projects": {
|
|
18227
18433
|
serviceClass: "Projects",
|
|
18228
18434
|
operationId: "listProjects",
|
|
@@ -19006,14 +19212,14 @@ const routes = {
|
|
|
19006
19212
|
},
|
|
19007
19213
|
{
|
|
19008
19214
|
"name": "limit",
|
|
19009
|
-
"description": "
|
|
19215
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19010
19216
|
"required": false,
|
|
19011
19217
|
"type": "integer",
|
|
19012
19218
|
"in": "query"
|
|
19013
19219
|
},
|
|
19014
19220
|
{
|
|
19015
19221
|
"name": "offset",
|
|
19016
|
-
"description": "
|
|
19222
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19017
19223
|
"required": false,
|
|
19018
19224
|
"type": "integer",
|
|
19019
19225
|
"in": "query"
|
|
@@ -19212,14 +19418,14 @@ const routes = {
|
|
|
19212
19418
|
},
|
|
19213
19419
|
{
|
|
19214
19420
|
"name": "limit",
|
|
19215
|
-
"description": "
|
|
19421
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19216
19422
|
"required": false,
|
|
19217
19423
|
"type": "integer",
|
|
19218
19424
|
"in": "query"
|
|
19219
19425
|
},
|
|
19220
19426
|
{
|
|
19221
19427
|
"name": "offset",
|
|
19222
|
-
"description": "
|
|
19428
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19223
19429
|
"required": false,
|
|
19224
19430
|
"type": "integer",
|
|
19225
19431
|
"in": "query"
|
|
@@ -19414,14 +19620,14 @@ const routes = {
|
|
|
19414
19620
|
},
|
|
19415
19621
|
{
|
|
19416
19622
|
"name": "limit",
|
|
19417
|
-
"description": "",
|
|
19623
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19418
19624
|
"required": false,
|
|
19419
19625
|
"type": "integer",
|
|
19420
19626
|
"in": "query"
|
|
19421
19627
|
},
|
|
19422
19628
|
{
|
|
19423
19629
|
"name": "offset",
|
|
19424
|
-
"description": "",
|
|
19630
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19425
19631
|
"required": false,
|
|
19426
19632
|
"type": "integer",
|
|
19427
19633
|
"in": "query"
|
|
@@ -19854,14 +20060,14 @@ const routes = {
|
|
|
19854
20060
|
},
|
|
19855
20061
|
{
|
|
19856
20062
|
"name": "limit",
|
|
19857
|
-
"description": "",
|
|
20063
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19858
20064
|
"required": false,
|
|
19859
20065
|
"type": "integer",
|
|
19860
20066
|
"in": "query"
|
|
19861
20067
|
},
|
|
19862
20068
|
{
|
|
19863
20069
|
"name": "offset",
|
|
19864
|
-
"description": "",
|
|
20070
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
19865
20071
|
"required": false,
|
|
19866
20072
|
"type": "integer",
|
|
19867
20073
|
"in": "query"
|
|
@@ -20023,14 +20229,14 @@ const routes = {
|
|
|
20023
20229
|
},
|
|
20024
20230
|
{
|
|
20025
20231
|
"name": "limit",
|
|
20026
|
-
"description": "
|
|
20232
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20027
20233
|
"required": false,
|
|
20028
20234
|
"type": "integer",
|
|
20029
20235
|
"in": "query"
|
|
20030
20236
|
},
|
|
20031
20237
|
{
|
|
20032
20238
|
"name": "offset",
|
|
20033
|
-
"description": "
|
|
20239
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20034
20240
|
"required": false,
|
|
20035
20241
|
"type": "integer",
|
|
20036
20242
|
"in": "query"
|
|
@@ -20315,22 +20521,39 @@ const routes = {
|
|
|
20315
20521
|
moduleDocsUrl: "https://naturali.ai/docs/modules/tasks",
|
|
20316
20522
|
httpMethod: "get",
|
|
20317
20523
|
pathParams: ["project_id", "task_id"],
|
|
20318
|
-
queryParams: [],
|
|
20524
|
+
queryParams: ["limit", "offset"],
|
|
20319
20525
|
headerParams: [],
|
|
20320
20526
|
cookieParams: [],
|
|
20321
|
-
flags: [
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
|
|
20325
|
-
|
|
20326
|
-
|
|
20327
|
-
|
|
20328
|
-
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
|
|
20333
|
-
|
|
20527
|
+
flags: [
|
|
20528
|
+
{
|
|
20529
|
+
"name": "project_id",
|
|
20530
|
+
"description": "Project public ID (proj_ prefix).",
|
|
20531
|
+
"required": true,
|
|
20532
|
+
"type": "string",
|
|
20533
|
+
"in": "path"
|
|
20534
|
+
},
|
|
20535
|
+
{
|
|
20536
|
+
"name": "task_id",
|
|
20537
|
+
"description": "",
|
|
20538
|
+
"required": true,
|
|
20539
|
+
"type": "string",
|
|
20540
|
+
"in": "path"
|
|
20541
|
+
},
|
|
20542
|
+
{
|
|
20543
|
+
"name": "limit",
|
|
20544
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20545
|
+
"required": false,
|
|
20546
|
+
"type": "integer",
|
|
20547
|
+
"in": "query"
|
|
20548
|
+
},
|
|
20549
|
+
{
|
|
20550
|
+
"name": "offset",
|
|
20551
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20552
|
+
"required": false,
|
|
20553
|
+
"type": "integer",
|
|
20554
|
+
"in": "query"
|
|
20555
|
+
}
|
|
20556
|
+
]
|
|
20334
20557
|
},
|
|
20335
20558
|
"list-tools": {
|
|
20336
20559
|
serviceClass: "Tools",
|
|
@@ -20352,14 +20575,14 @@ const routes = {
|
|
|
20352
20575
|
},
|
|
20353
20576
|
{
|
|
20354
20577
|
"name": "limit",
|
|
20355
|
-
"description": "
|
|
20578
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20356
20579
|
"required": false,
|
|
20357
20580
|
"type": "integer",
|
|
20358
20581
|
"in": "query"
|
|
20359
20582
|
},
|
|
20360
20583
|
{
|
|
20361
20584
|
"name": "offset",
|
|
20362
|
-
"description": "
|
|
20585
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20363
20586
|
"required": false,
|
|
20364
20587
|
"type": "integer",
|
|
20365
20588
|
"in": "query"
|
|
@@ -20708,7 +20931,11 @@ const routes = {
|
|
|
20708
20931
|
moduleDocsUrl: "https://naturali.ai/docs/modules/traces",
|
|
20709
20932
|
httpMethod: "get",
|
|
20710
20933
|
pathParams: ["project_id"],
|
|
20711
|
-
queryParams: [
|
|
20934
|
+
queryParams: [
|
|
20935
|
+
"parent_trace_id",
|
|
20936
|
+
"limit",
|
|
20937
|
+
"offset"
|
|
20938
|
+
],
|
|
20712
20939
|
headerParams: [],
|
|
20713
20940
|
cookieParams: [],
|
|
20714
20941
|
flags: [
|
|
@@ -20719,16 +20946,23 @@ const routes = {
|
|
|
20719
20946
|
"type": "string",
|
|
20720
20947
|
"in": "path"
|
|
20721
20948
|
},
|
|
20949
|
+
{
|
|
20950
|
+
"name": "parent_trace_id",
|
|
20951
|
+
"description": "Only the direct children of this trace. A trace naming nothing the caller can read matches nothing rather than widening the listing.",
|
|
20952
|
+
"required": false,
|
|
20953
|
+
"type": "string",
|
|
20954
|
+
"in": "query"
|
|
20955
|
+
},
|
|
20722
20956
|
{
|
|
20723
20957
|
"name": "limit",
|
|
20724
|
-
"description": "
|
|
20958
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20725
20959
|
"required": false,
|
|
20726
20960
|
"type": "integer",
|
|
20727
20961
|
"in": "query"
|
|
20728
20962
|
},
|
|
20729
20963
|
{
|
|
20730
20964
|
"name": "offset",
|
|
20731
|
-
"description": "
|
|
20965
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20732
20966
|
"required": false,
|
|
20733
20967
|
"type": "integer",
|
|
20734
20968
|
"in": "query"
|
|
@@ -20762,36 +20996,26 @@ const routes = {
|
|
|
20762
20996
|
"get-trace-tree": {
|
|
20763
20997
|
serviceClass: "Traces",
|
|
20764
20998
|
operationId: "getTraceTree",
|
|
20765
|
-
description: "Returns the full execution tree rooted at the given trace (or its root if the given trace is a child). Each node represents one agent's execution session. The `children` array contains traces triggered by sub-agent tool calls from that trace.",
|
|
20999
|
+
description: "Returns the full execution tree rooted at the given trace (or its root if the given trace is a child). Each node represents one agent's execution session. The `children` array contains traces triggered by sub-agent tool calls from that trace. A node's generations are listed by `GET /v1/projects/{project_id}/generations?trace_id=`, and a node's direct children page by `GET /v1/projects/{project_id}/traces?parent_trace_id=`.",
|
|
20766
21000
|
moduleDocsUrl: "https://naturali.ai/docs/modules/traces",
|
|
20767
21001
|
httpMethod: "get",
|
|
20768
21002
|
pathParams: ["project_id", "trace_id"],
|
|
20769
|
-
queryParams: [
|
|
21003
|
+
queryParams: [],
|
|
20770
21004
|
headerParams: [],
|
|
20771
21005
|
cookieParams: [],
|
|
20772
|
-
flags: [
|
|
20773
|
-
|
|
20774
|
-
|
|
20775
|
-
|
|
20776
|
-
|
|
20777
|
-
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20781
|
-
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
|
|
20785
|
-
"in": "path"
|
|
20786
|
-
},
|
|
20787
|
-
{
|
|
20788
|
-
"name": "include",
|
|
20789
|
-
"description": "Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including sub-agent generations linked via `initiator_generation_id`).\n",
|
|
20790
|
-
"required": false,
|
|
20791
|
-
"type": "string",
|
|
20792
|
-
"in": "query"
|
|
20793
|
-
}
|
|
20794
|
-
]
|
|
21006
|
+
flags: [{
|
|
21007
|
+
"name": "project_id",
|
|
21008
|
+
"description": "Project public ID (proj_ prefix).",
|
|
21009
|
+
"required": true,
|
|
21010
|
+
"type": "string",
|
|
21011
|
+
"in": "path"
|
|
21012
|
+
}, {
|
|
21013
|
+
"name": "trace_id",
|
|
21014
|
+
"description": "Public ID of any trace in the tree (root or child)",
|
|
21015
|
+
"required": true,
|
|
21016
|
+
"type": "string",
|
|
21017
|
+
"in": "path"
|
|
21018
|
+
}]
|
|
20795
21019
|
},
|
|
20796
21020
|
"purge-trace-content": {
|
|
20797
21021
|
serviceClass: "Traces",
|
|
@@ -20856,14 +21080,14 @@ const routes = {
|
|
|
20856
21080
|
},
|
|
20857
21081
|
{
|
|
20858
21082
|
"name": "limit",
|
|
20859
|
-
"description": "
|
|
21083
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20860
21084
|
"required": false,
|
|
20861
21085
|
"type": "integer",
|
|
20862
21086
|
"in": "query"
|
|
20863
21087
|
},
|
|
20864
21088
|
{
|
|
20865
21089
|
"name": "offset",
|
|
20866
|
-
"description": "
|
|
21090
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
20867
21091
|
"required": false,
|
|
20868
21092
|
"type": "integer",
|
|
20869
21093
|
"in": "query"
|
|
@@ -21246,14 +21470,14 @@ const routes = {
|
|
|
21246
21470
|
},
|
|
21247
21471
|
{
|
|
21248
21472
|
"name": "limit",
|
|
21249
|
-
"description": "",
|
|
21473
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
21250
21474
|
"required": false,
|
|
21251
21475
|
"type": "integer",
|
|
21252
21476
|
"in": "query"
|
|
21253
21477
|
},
|
|
21254
21478
|
{
|
|
21255
21479
|
"name": "offset",
|
|
21256
|
-
"description": "",
|
|
21480
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
21257
21481
|
"required": false,
|
|
21258
21482
|
"type": "integer",
|
|
21259
21483
|
"in": "query"
|
|
@@ -21966,14 +22190,14 @@ const routes = {
|
|
|
21966
22190
|
},
|
|
21967
22191
|
{
|
|
21968
22192
|
"name": "limit",
|
|
21969
|
-
"description": "
|
|
22193
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
21970
22194
|
"required": false,
|
|
21971
22195
|
"type": "integer",
|
|
21972
22196
|
"in": "query"
|
|
21973
22197
|
},
|
|
21974
22198
|
{
|
|
21975
22199
|
"name": "offset",
|
|
21976
|
-
"description": "
|
|
22200
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
21977
22201
|
"required": false,
|
|
21978
22202
|
"type": "integer",
|
|
21979
22203
|
"in": "query"
|
|
@@ -22200,14 +22424,14 @@ const routes = {
|
|
|
22200
22424
|
},
|
|
22201
22425
|
{
|
|
22202
22426
|
"name": "limit",
|
|
22203
|
-
"description": "
|
|
22427
|
+
"description": "Results per page. Above the maximum it is clamped, and `limit` in the response reports the page served; below 1 or not an integer it is `400 VALIDATION_FAILED`.",
|
|
22204
22428
|
"required": false,
|
|
22205
22429
|
"type": "integer",
|
|
22206
22430
|
"in": "query"
|
|
22207
22431
|
},
|
|
22208
22432
|
{
|
|
22209
22433
|
"name": "offset",
|
|
22210
|
-
"description": "
|
|
22434
|
+
"description": "Results to skip. Negative or not an integer it is `400 VALIDATION_FAILED`.",
|
|
22211
22435
|
"required": false,
|
|
22212
22436
|
"type": "integer",
|
|
22213
22437
|
"in": "query"
|