svanja task continue
Send Task action continue.
svanja task continue <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task continue <task-id> --field instructions="Also check the March invoices"
Details
This command calls POST /tasks/{task}/actions on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task events
List Task events.
svanja task events <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--query
|
query parameter as key=value (repeatable) |
svanja task events <task-id> --json
svanja task events <task-id> --plain
svanja task events <task-id> --jq .
svanja task events <task-id> --template '{{.}}'
svanja task events <task-id> --json --include-meta
Details
This command calls GET /tasks/{task}/events on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task list
List Tasks.
svanja task list [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--query
|
query parameter as key=value (repeatable) |
svanja task list --json
svanja task list --plain
svanja task list --jq .
svanja task list --template '{{.}}'
svanja task list --json --include-meta
Details
This command calls GET /tasks on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task outputs
List Task outputs.
svanja task outputs <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--query
|
query parameter as key=value (repeatable) |
svanja task outputs <task-id> --json
svanja task outputs <task-id> --plain
svanja task outputs <task-id> --jq .
svanja task outputs <task-id> --template '{{.}}'
svanja task outputs <task-id> --json --include-meta
Details
This command calls GET /tasks/{task}/outputs on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task pause
Send Task action pause.
svanja task pause <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task pause <task-id>
Details
This command calls POST /tasks/{task}/actions on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task resume-wait
Send Task action resume-wait.
svanja task resume-wait <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task resume-wait <task-id>
Details
This command calls POST /tasks/{task}/actions on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task resume
Send Task action resume.
svanja task resume <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task resume <task-id>
Details
This command calls POST /tasks/{task}/actions on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task retry
Send Task action retry.
svanja task retry <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task retry <task-id>
Details
This command calls POST /tasks/{task}/actions on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task show
Show a Task.
svanja task show <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--query
|
query parameter as key=value (repeatable) |
svanja task show <task-id> --json
svanja task show <task-id> --plain
svanja task show <task-id> --jq .
svanja task show <task-id> --template '{{.}}'
svanja task show <task-id> --json --include-meta
Details
This command calls GET /tasks/{task} on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task start
Start a background Task.
svanja task start [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task start --field brief="Summarize what Halden asked this month"
svanja task start --body '{"brief":"Compare the three hosting offers","credit_cap_microcredits":50000000}'
svanja task start --field brief="Check the Halden export" --dry-run
Details
This command calls POST /tasks on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task stop
Send Task action stop.
svanja task stop <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--body
|
JSON request body (mutually exclusive with --field and --body-file) |
--body-file
|
read the JSON request body from a file, or - for stdin |
--dry-run
|
preview the request without resolving credentials or contacting the API |
--field
|
body field as key=value (repeatable; mutually exclusive with --body and --body-file) |
--idempotency-key
|
explicit idempotency key (1-255 visible ASCII bytes); generated when omitted |
--query
|
query parameter as key=value (repeatable) |
svanja task stop <task-id>
Details
This command calls POST /tasks/{task}/actions on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
Build the request body with --field key=value, --body '<json>' or --body-file <path>; field flags cannot be combined with body input. Every real mutation sends an idempotency key so a retried request is not applied twice. Pass --idempotency-key <key> to supply your own. Use --dry-run to preview the method, path, query, body fields and idempotency behavior without resolving credentials or contacting the API.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task watch
Reconnect to Task events without starting work.
svanja task watch <task-id> [flags]
Needs a stored key (svanja login) or SVANJA_API_KEY.
| Flag |
What it does |
--after-sequence
|
start after this event sequence |
--max-polls
|
maximum event polls before exiting; 0 watches until interrupted |
--poll-interval
|
delay between watch polls |
--query
|
query parameter as key=value (repeatable) |
svanja task watch <task-id> --max-polls 3 --json
svanja task watch <task-id> --after-sequence 42 --max-polls 1 --plain
svanja task watch <task-id> --max-polls 1 --jq .next_sequence
svanja task watch <task-id> --max-polls 1 --template '{{.next_sequence}}'
svanja task watch <task-id> --max-polls 1 --json --include-meta
Details
This command calls GET /tasks/{task}/events on the public Svanja API. The API remains authoritative for validation, access, capabilities, receipts, conflicts and domain-specific failure reasons. Use --query key=value for filters, cursors, pages or operation-specific query fields.
The watch loop repeatedly requests events with after_sequence and resumes from the server's next_sequence. Use --max-polls to exit after a fixed number of polls, or leave it at 0 to watch until interrupted.
Output modes: default human detail, --plain copy-safe output, --json stable JSON, and --jq/--template transforms over the documented JSON value.
--include-meta adds safe transport context under meta when --json, --jq or --template is selected. The ordinary value moves under data; output without --include-meta remains unchanged. It cannot be combined with --dry-run.
svanja task
Start and control Tasks.
svanja task [flags]
Works without a key.
svanja task --help
Details
Use this family to call native Svanja public API operations with the active team API key. The server owns validation, access checks, authorization, receipts and domain-specific behavior; the CLI supplies product identity, explicit arguments, stable output modes and safe local request handling.