You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3bc192f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/logs.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ sim logs get <runId> [options]
31
31
32
32
| Option | Required | Description |
33
33
| --- | --- | --- |
34
+
|`--include-workflow-state`| No | Include the saved workflow snapshot. Set false to omit block configuration from a log read. Other run fields are unchanged. |
35
+
|`--no-include-workflow-state`| No | Send --include-workflow-state as false. |
34
36
|`--trace`| No | Show expanded trace spans with inputs, outputs, errors, timing, and cost. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/reference.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2731,6 +2731,8 @@ sim logs get <runId> [options]
2731
2731
2732
2732
| Option | Required | Description |
2733
2733
| --- | --- | --- |
2734
+
|`--include-workflow-state`| No | Include the saved workflow snapshot. Set false to omit block configuration from a log read. Other run fields are unchanged. |
2735
+
|`--no-include-workflow-state`| No | Send --include-workflow-state as false. |
2734
2736
|`--trace`| No | Show expanded trace spans with inputs, outputs, errors, timing, and cost. |
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-logs.json
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -383,6 +383,16 @@
383
383
"pattern": "^[A-Za-z0-9._:-]+$",
384
384
"description": "Unique workflow run identifier."
385
385
}
386
+
},
387
+
{
388
+
"name": "includeWorkflowState",
389
+
"in": "query",
390
+
"required": false,
391
+
"description": "Include the saved workflow snapshot. Set false to omit block configuration from a log read. Other run fields are unchanged.",
392
+
"schema": {
393
+
"description": "Include the saved workflow snapshot. Set false to omit block configuration from a log read. Other run fields are unchanged.",
394
+
"type": "boolean"
395
+
}
386
396
}
387
397
],
388
398
"responses": {
@@ -1602,7 +1612,7 @@
1602
1612
"type": "null"
1603
1613
}
1604
1614
],
1605
-
"description": "Workflow graph captured for the run, or null if unavailable. Sensitive values are redacted to null; environment-variable references may be preserved."
1615
+
"description": "Workflow graph captured for the run, or null if unavailable or includeWorkflowState=false. Sensitive values are redacted to null; environment-variable references may be preserved."
* v2 logs contracts. The query schemas are reused verbatim from v1 (the request
28
-
* shape is unchanged); only the response envelope is upgraded to the canonical
29
-
* v2 shapes with concrete item schemas.
26
+
* v2 logs contracts. List queries retain the v1 filters; responses use the
27
+
* canonical v2 envelope and concrete item schemas.
30
28
*/
31
29
32
30
constv2LogCostSchema=z
@@ -164,7 +162,7 @@ const v2LogWorkflowStateSchema = z
164
162
)
165
163
.nullable()
166
164
.describe(
167
-
'Workflow graph captured for the run, or null if unavailable. Sensitive values are redacted to null; environment-variable references may be preserved.'
165
+
'Workflow graph captured for the run, or null if unavailable or includeWorkflowState=false. Sensitive values are redacted to null; environment-variable references may be preserved.'
0 commit comments