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 e46554a
Browse filesBrowse the repository at this point in the historyBrowse files
ks-release-bot
committed
chore(release): regenerate ksapi v3.37.0 from ks-backend
**content_ready_at** | **datetime** | When ingestion published fully enriched content for workflow use; indexing may still be running. Managed by ingestion. | [optional][readonly]
9
10
**last_stage_retry_attempt** | **int** | Zero-based retry count for the current stage; maximum across fan-out activities. Managed by ingestion. | [optional][readonly][default to 0]
Copy file name to clipboardExpand all lines: docs/WorkflowDefinitionsApi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ async with ksapi.ApiClient(configuration) as api_client:
164
164
files =None# List[bytes] | DEPRECATED — do not send files here. Carrying file bytes on run creation makes the call block on synchronous S3 upload (the ~30s 'Create run' wait). Instead create an empty draft (omit this field), then upload each file to the run's ``inputs/`` folder via ``POST /v1/documents/ingest`` with ``path_part_id`` set to the run's ``inputs_path_part_id``; that path ingests asynchronously and auto-syncs the run's state. This field will be removed once the FE has migrated. (optional)
165
165
input_scope ='input_scope_example'# str | JSON array of ``DOCUMENT`` or ``FOLDER`` path_part UUIDs referenced from the existing knowledge base, pinned onto the new draft's input scope. Optional — omit for an empty draft and add references later via PATCH. (optional)
166
166
idempotency_key ='idempotency_key_example'# str | Optional key to prevent duplicate runs from retries. (optional)
167
-
auto_start =False# bool | When true, the run starts itself once its ``inputs/`` uploads finish ingesting — eliminating the separate Start call. If an upload's ingestion fails, the run is marked FAILED. Default false (two-step flow). Arm only after all uploads are queued; a synchronously-completing first upload would otherwise start the run before later uploads are added. (optional) (default to False)
167
+
auto_start =False# bool | When true, the run starts itself once its ``inputs/`` uploads finish preparing content, eliminating the separate Start call. If preparation fails, the run is marked FAILED. Default false (two-step flow). When sending files through separate upload requests, arm only after all uploads are queued. (optional) (default to False)
168
168
user_message ='user_message_example'# str | Optional note carried to the auto-start dispatch (the equivalent of the Start endpoint's ``user_message`` for a self-starting run). Applied only when ``auto_start`` fires. (optional)
169
169
name ='name_example'# str | Optional display name for the run. Omit to default to the run's UUID; rename later via PATCH. Must be unique among sibling runs under this definition's ``runs/`` folder — a collision returns 409. (optional)
170
170
selected_skill_ids ='selected_skill_ids_example'# str | JSON array of SKILL PDO UUIDs to force-load into this run ON TOP of the definition's prefill — the run's skills are the definition's list plus these additions. Each must be a SKILL the caller can read (else 400/403). Optional; omit to run with just the definition's skills. (optional)
@@ -189,7 +189,7 @@ Name | Type | Description | Notes
189
189
**files** | **List[bytes]**| DEPRECATED — do not send files here. Carrying file bytes on run creation makes the call block on synchronous S3 upload (the ~30s 'Create run' wait). Instead create an empty draft (omit this field), then upload each file to the run's ``inputs/`` folder via ``POST /v1/documents/ingest`` with ``path_part_id`` set to the run's ``inputs_path_part_id``; that path ingests asynchronously and auto-syncs the run's state. This field will be removed once the FE has migrated. | [optional]
190
190
**input_scope** | **str**| JSON array of ``DOCUMENT`` or ``FOLDER`` path_part UUIDs referenced from the existing knowledge base, pinned onto the new draft's input scope. Optional — omit for an empty draft and add references later via PATCH. | [optional]
191
191
**idempotency_key** | **str**| Optional key to prevent duplicate runs from retries. | [optional]
192
-
**auto_start** | **bool**| When true, the run starts itself once its ``inputs/`` uploads finish ingesting — eliminating the separate Start call. If an upload's ingestion fails, the run is marked FAILED. Default false (two-step flow). Arm only after all uploads are queued; a synchronously-completing first upload would otherwise start the run before later uploads are added. | [optional][default to False]
192
+
**auto_start** | **bool**| When true, the run starts itself once its ``inputs/`` uploads finish preparing content, eliminating the separate Start call. If preparation fails, the run is marked FAILED. Default false (two-step flow). When sending files through separate upload requests, arm only after all uploads are queued. | [optional][default to False]
193
193
**user_message** | **str**| Optional note carried to the auto-start dispatch (the equivalent of the Start endpoint's ``user_message`` for a self-starting run). Applied only when ``auto_start`` fires. | [optional]
194
194
**name** | **str**| Optional display name for the run. Omit to default to the run's UUID; rename later via PATCH. Must be unique among sibling runs under this definition's ``runs/`` folder — a collision returns 409. | [optional]
195
195
**selected_skill_ids** | **str**| JSON array of SKILL PDO UUIDs to force-load into this run ON TOP of the definition's prefill — the run's skills are the definition's list plus these additions. Each must be a SKILL the caller can read (else 400/403). Optional; omit to run with just the definition's skills. | [optional]
0 commit comments