Subscribe to command completion events.
+ Deprecated: please use ``GetCompletions`` instead. Subscribe to command completion events.
WebSocket
diff --git a/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/details.mdx b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/details.mdx
new file mode 100644
index 000000000..1cba1a4ab
--- /dev/null
+++ b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/details.mdx
@@ -0,0 +1,146 @@
+---
+title: "Details and history"
+description: "Subscribe to command completion events.
+This streaming endpoint provides more flexibility in filtering than the predecessor ``CompletionStream``."
+---
+
+
Back to overview
+
+
+
+
AsyncAPI Channel
+
+
+
/v2/commands/command-completions
+
+
+
Subscribe to command completion events. This streaming endpoint provides more flexibility in filtering than the predecessor ``CompletionStream``.
+
+
+
+
+ WebSocket
+
+ Since 3.5
+
+
+
+
+
+
+
+
- Channel
+ - /v2/commands/command-completions
+
+
+
+
- Actions
+ - publish, subscribe
+
+
+
+
- Introduced
+ - 3.5
+
+
+
+
- Removed
+ - -
+
+
+
+
+
+
+
+## Actions
+
+
+Subscribe to command completion events.
+This streaming endpoint provides more flexibility in filtering than the predecessor ``CompletionStream``.
+
+
+
+
diff --git a/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/publish.mdx b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/publish.mdx
new file mode 100644
index 000000000..b4d84482a
--- /dev/null
+++ b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/publish.mdx
@@ -0,0 +1,248 @@
+---
+title: "Publish command completions"
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
/v2/commands/command-completions
+
+
+
Publish command completions
+
+
+
+
+
+ WebSocket
+
+ Since 3.5
+
+
+
+
+
+
+
+
+ PUBLISH
+
+ /v2/commands/command-completions
+
+
+## Protocol Details
+
+
+
+
+
+
- Protocol
+ - WebSocket
+
+
+
+
- Channel
+ - /v2/commands/command-completions
+
+
+
+
- Action
+ - publish
+
+
+
+
- Operation ID
+ - sendV2CommandsCommand-completions
+
+
+
+
- Content type
+ - application/json
+
+
+
+
- Payload
+ - object
+
+
+
+
+
+## Inputs
+
+
+
+
+
GetCompletionsRequest
+
+
+
+
+
+
+
+
+
- Direction
+ - Client -> Server
+
+
+
+
- Message
+ - GetCompletionsRequest
+
+
+
+
+
+
+
+
+
+
+
+ parties
+ array[string]
+
+
+
+
+
+
+
+ beginExclusive
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Outputs
+
+
+
+
+
+
+
+
+## Related Schemas
+
+
+
+
+
+
+
+
+
+
+
+ parties
+ array[string]
+
+
+
+
+
+
+
+ beginExclusive
+ string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ wscat
+
+
+
+```bash wscat
+npx wscat \
+ -c
\
+ -x '{"parties": [""], "beginExclusive": ""}' \
+ -w -1
+```
+
+
+
+
+
+
+
+ message
+
+ application/json
+
+
+
+```json message
+{
+ "parties": [
+ "
"
+ ],
+ "beginExclusive": ""
+}
+```
+
+
+
+
+
+
+
diff --git a/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/subscribe.mdx b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/subscribe.mdx
new file mode 100644
index 000000000..8886097d5
--- /dev/null
+++ b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/subscribe.mdx
@@ -0,0 +1,236 @@
+---
+title: "Subscribe command completions"
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
/v2/commands/command-completions
+
+
+
Subscribe command completions
+
+
+
+
+
+ WebSocket
+
+ Since 3.5
+
+
+
+
+
+
+
+
+ SUBSCRIBE
+
+ /v2/commands/command-completions
+
+
+## Protocol Details
+
+
+
+
+
+
- Protocol
+ - WebSocket
+
+
+
+
- Channel
+ - /v2/commands/command-completions
+
+
+
+
- Action
+ - subscribe
+
+
+
+
- Operation ID
+ - onV2CommandsCommand-completions
+
+
+
+
- Content type
+ - application/json
+
+
+
+
- Payload
+ - oneOf
+
+
+
+
+
+## Inputs
+
+
+
+## Outputs
+
+
+
+
+
Either_JsCantonError_CompletionStreamResponse
+
+
+
+
+
+
+
+
+
- Direction
+ - Server -> Client
+
+
+
+
- Message
+ - Either_JsCantonError_CompletionStreamResponse
+
+
+
+
+
+
+
+
+
+
+
+ completionResponse
+ object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Related Schemas
+
+
+
+
+
+
+
+
+
+
+
+ completionResponse
+ object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ wscat
+
+
+
+```bash wscat
+npx wscat -c
+```
+
+
+
+
+
+
+
+ message
+
+ application/json
+
+
+
+```json message
+{
+ "completionResponse": {
+ "Completion": {
+ "value": {
+ "commandId": "
",
+ "userId": "",
+ "actAs": [
+ ""
+ ],
+ "offset": "",
+ "synchronizerTime": "
+
+
+
+
+
diff --git a/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-completions/details.mdx b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-completions/details.mdx
index 8cc06eb9e..459858f3d 100644
--- a/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-completions/details.mdx
+++ b/docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-completions/details.mdx
@@ -1,6 +1,7 @@
---
title: "Details and history"
-description: "Subscribe to command completion events."
+description: "Deprecated: please use ``GetCompletions`` instead.
+Subscribe to command completion events."
---
Back to overview
@@ -13,7 +14,7 @@ description: "Subscribe to command completion events."
/v2/commands/completions
-
Subscribe to command completion events.
+
Deprecated: please use ``GetCompletions`` instead. Subscribe to command completion events.
@@ -57,6 +58,7 @@ description: "Subscribe to command completion events."
## Actions
+Deprecated: please use ``GetCompletions`` instead.
Subscribe to command completion events.