Record Console Daily Close
Request and response reference for POST /v1/console/operations/daily-close-runs.
/v1/console/operations/daily-close-runsRequest
This entry point does not require an existing session. Applicable onboarding, origin and verification policies still apply.
curl -X POST "$OSAI_CONSOLE_BASE_URL/v1/console/operations/daily-close-runs" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <stable-operation-key>" \
--data '{
"command_id": "<command_id>",
"day": "1",
"reason": "<reason>"
}'Parameters
| Name | Location | Requirement | Description |
|---|---|---|---|
Idempotency-Key | header · string | Required | Use the value defined for this resource. |
X-CSRF-Token | header · string | Required | Use the value defined for this resource. |
Request body
Send JSON with Content-Type: application/json. Nested field names identify their parent object; required markers apply within that object. Replace template values using the relevant resource and configured instrument rules.
| Field | Type | Description & constraints |
|---|---|---|
command_idRequired in parent object | string | Defined by the resource contract.Pattern: ^[A-Za-z0-9:_-]{1,128}$ |
dayRequired in parent object | string | Defined by the resource contract.Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ |
reasonRequired in parent object | string | Defined by the resource contract. |
Responses
Inspect HTTP status before parsing a body. These tables describe client response fields rather than invented successful transaction payloads.
200 · Immutable scoped evidence was recorded
| Field | Type | Description & constraints |
|---|---|---|
command_idRequired in parent object | string | Defined by the resource contract. |
report_idRequired in parent object | string | Defined by the resource contract. |
dayRequired in parent object | string | Defined by the resource contract. |
ledger_hashRequired in parent object | string | Defined by the resource contract. |
statement_hashRequired in parent object | string | Defined by the resource contract. |
ledger_captured_atRequired in parent object | stringdate-time | Defined by the resource contract. |
recorded_atRequired in parent object | stringdate-time | Defined by the resource contract. |
400 · Invalid bounded instruction/scope
No client body fields are defined for this response.
401 · Named human session required
No client body fields are defined for this response.
403 · Current authorization/MFA/CSRF denied or authority changed
No client body fields are defined for this response.
409 · Idempotency command conflict
No client body fields are defined for this response.
503 · Ledger/signed-source/persistence unavailable; no successful close inferred
No client body fields are defined for this response.
Retries & recovery
Keep the original request identifiers and any required idempotency key. A timeout does not establish failure. Read the original resource or command before another financial write; use expected versions for concurrent changes.