postCreate operations activity export

Required capabilityoperations_reports.create_export

Authentication: Send Authorization: Bearer <access_token>.

Creates an operations activity export with format csv or json; json produces newline-delimited JSON. The time range must be strictly increasing. Requested scope requires operations_reports.create_export coverage; client_refs and client_account_refs filters also require operations_reports.read coverage. Inspect status and download_path for readiness. storage_location is always null; download_path is a relative gateway route.

Parameters

Name Location Type Required Description and constraints
Idempotency-Key header string No Client-generated key, 1-128 characters. Accepted on POST requests and required where marked. For the same concrete path and caller/subject/tenant scope, an identical body replays the original status and body; a different body returns 409 idempotency_conflict. Keep query parameters unchanged when retrying. minLength: 1; maxLength: 128

Request

Required request body.

Request body schema

Field Type Required Description and constraints
format "csv" / "json" Yes
filter_criteria object Yes No additional fields
requested_scope object or object or object or object or object Yes

Additional fields are not accepted.

Request body schema.filter_criteria

Field Type Required Description and constraints
assets string[] No
client_account_refs string[] No
client_refs string[] No
date_from_utc string or string Yes
date_to_utc string or string Yes
failure_reason_codes string[] No
operation_families "deposit" / "withdrawal" / "conversion" / "external_settlement_conversion" / "internal_transfer" / "on_ramp" / "off_ramp" / "loan_origination" / "loan_repayment" / "loan_liquidation" / "loan_closing" / "loan_extension"[] No
statuses "created" / "pending_approval" / "in_progress" / "completed" / "failed" / "cancelled" / "reversed" / "corrected"[] No

Additional fields are not accepted.

Request body schema.filter_criteria.assets

Type: string[].

Request body schema.filter_criteria.assets item

Currency code (ISO-4217 or on-chain ticker)

Type: string. pattern: ^[A-Z0-9]{1,16}$

Request body schema.filter_criteria.client_account_refs

Type: string[].

Request body schema.filter_criteria.client_account_refs item

Type: string. pattern: ^(client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request body schema.filter_criteria.client_refs

Type: string[].

Request body schema.filter_criteria.client_refs item

Type: string. pattern: ^(clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request body schema.filter_criteria.date_from_utc

At least one alternative must match.

Request body schema.filter_criteria.date_from_utc: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

Request body schema.filter_criteria.date_from_utc: alternative 2

Type: string. format: date-time

Request body schema.filter_criteria.date_to_utc

At least one alternative must match.

Request body schema.filter_criteria.date_to_utc: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

Request body schema.filter_criteria.date_to_utc: alternative 2

Type: string. format: date-time

Request body schema.filter_criteria.failure_reason_codes

Type: string[].

Request body schema.filter_criteria.failure_reason_codes item

Type: string. minLength: 1

Request body schema.filter_criteria.operation_families

Type: "deposit" / "withdrawal" / "conversion" / "external_settlement_conversion" / "internal_transfer" / "on_ramp" / "off_ramp" / "loan_origination" / "loan_repayment" / "loan_liquidation" / "loan_closing" / "loan_extension"[].

Request body schema.filter_criteria.operation_families item

Type: "deposit" / "withdrawal" / "conversion" / "external_settlement_conversion" / "internal_transfer" / "on_ramp" / "off_ramp" / "loan_origination" / "loan_repayment" / "loan_liquidation" / "loan_closing" / "loan_extension".

Request body schema.filter_criteria.statuses

Type: "created" / "pending_approval" / "in_progress" / "completed" / "failed" / "cancelled" / "reversed" / "corrected"[].

Request body schema.filter_criteria.statuses item

Type: "created" / "pending_approval" / "in_progress" / "completed" / "failed" / "cancelled" / "reversed" / "corrected".

Request body schema.requested_scope

Exactly one alternative must match.

Request body schema.requested_scope: alternative 1
Field Type Required Description and constraints
kind "enterprise" Yes
ref string Yes pattern: ^(enterprises)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

Request body schema.requested_scope: alternative 2
Field Type Required Description and constraints
kind "master_account" Yes
ref string Yes pattern: ^(master-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

Request body schema.requested_scope: alternative 3
Field Type Required Description and constraints
kind "client" Yes
ref string Yes pattern: ^(clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

Request body schema.requested_scope: alternative 4
Field Type Required Description and constraints
kind "client_account" Yes
ref string Yes pattern: ^(client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

Request body schema.requested_scope: alternative 5
Field Type Required Description and constraints
kind "platform_operator" Yes
ref string Yes pattern: ^(platform-operators)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

Request URL

POST
POST /operations-activity-exports

Request Body

application/json
{
  "format": "csv",
  "filter_criteria": {
    "date_from_utc": "2026-04-01T00:00:00Z",
    "date_to_utc": "2026-04-30T23:59:59Z"
  },
  "requested_scope": {
    "kind": "enterprise",
    "ref": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
  }
}

Responses

Response

application/json
{
  "format": "csv",
  "byte_size": 32768,
  "download_path": "/operations-activity-exports/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b/download",
  "expires_at_utc": "2026-05-02T10:00:00Z",
  "failure_reason": null,
  "filter_criteria": {
    "date_from_utc": "2026-04-01T00:00:00Z",
    "date_to_utc": "2026-04-30T23:59:59Z"
  },
  "finished_at_utc": "2026-05-01T10:00:00Z",
  "generated_at_utc": "2026-05-01T10:00:00Z",
  "generated_by": "users/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "id": "b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "requested_scope": {
    "kind": "enterprise",
    "ref": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
  },
  "row_count": 150,
  "status": "ready",
  "storage_location": null
}

Resource created successfully.

Response 201 schema

Content type: application/json.

application/json body

Field Type Required Description and constraints
format "csv" / "json" Yes
byte_size integer or null Yes
download_path string or null Yes
expires_at_utc string or string or null Yes
failure_reason string or null Yes
filter_criteria object Yes No additional fields
finished_at_utc string or string or null Yes
generated_at_utc string or string Yes
generated_by string Yes pattern: ^(users|service-accounts|platform-principals|identity-providers)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
id string Yes format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
requested_scope object or object or object or object or object Yes
row_count integer or null Yes
status "queued" / "running" / "ready" / "failed" / "expired" Yes
storage_location string or null Yes

Additional fields are not accepted.

application/json body.byte_size

At least one alternative must match.

application/json body.byte_size: alternative 1

Type: integer. minimum: 0; maximum: 9007199254740991

application/json body.byte_size: alternative 2

Type: null.

application/json body.download_path

At least one alternative must match.

application/json body.download_path: alternative 1

Type: string.

application/json body.download_path: alternative 2

Type: null.

application/json body.expires_at_utc

At least one alternative must match.

application/json body.expires_at_utc: alternative 1

At least one alternative must match.

application/json body.expires_at_utc: alternative 1: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.expires_at_utc: alternative 1: alternative 2

Type: string. format: date-time

application/json body.expires_at_utc: alternative 2

Type: null.

application/json body.failure_reason

At least one alternative must match.

application/json body.failure_reason: alternative 1

Type: string.

application/json body.failure_reason: alternative 2

Type: null.

application/json body.filter_criteria
Field Type Required Description and constraints
assets string[] No
client_account_refs string[] No
client_refs string[] No
date_from_utc string or string Yes
date_to_utc string or string Yes
failure_reason_codes string[] No
operation_families "deposit" / "withdrawal" / "conversion" / "external_settlement_conversion" / "internal_transfer" / "on_ramp" / "off_ramp" / "loan_origination" / "loan_repayment" / "loan_liquidation" / "loan_closing" / "loan_extension"[] No
statuses "created" / "pending_approval" / "in_progress" / "completed" / "failed" / "cancelled" / "reversed" / "corrected"[] No

Additional fields are not accepted.

application/json body.filter_criteria.assets

Type: string[].

application/json body.filter_criteria.assets item

Currency code (ISO-4217 or on-chain ticker)

Type: string. pattern: ^[A-Z0-9]{1,16}$

application/json body.filter_criteria.client_account_refs

Type: string[].

application/json body.filter_criteria.client_account_refs item

Type: string. pattern: ^(client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.filter_criteria.client_refs

Type: string[].

application/json body.filter_criteria.client_refs item

Type: string. pattern: ^(clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

application/json body.filter_criteria.date_from_utc

At least one alternative must match.

application/json body.filter_criteria.date_from_utc: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.filter_criteria.date_from_utc: alternative 2

Type: string. format: date-time

application/json body.filter_criteria.date_to_utc

At least one alternative must match.

application/json body.filter_criteria.date_to_utc: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.filter_criteria.date_to_utc: alternative 2

Type: string. format: date-time

application/json body.filter_criteria.failure_reason_codes

Type: string[].

application/json body.filter_criteria.failure_reason_codes item

Type: string. minLength: 1

application/json body.filter_criteria.operation_families

Type: "deposit" / "withdrawal" / "conversion" / "external_settlement_conversion" / "internal_transfer" / "on_ramp" / "off_ramp" / "loan_origination" / "loan_repayment" / "loan_liquidation" / "loan_closing" / "loan_extension"[].

application/json body.filter_criteria.operation_families item

Type: "deposit" / "withdrawal" / "conversion" / "external_settlement_conversion" / "internal_transfer" / "on_ramp" / "off_ramp" / "loan_origination" / "loan_repayment" / "loan_liquidation" / "loan_closing" / "loan_extension".

application/json body.filter_criteria.statuses

Type: "created" / "pending_approval" / "in_progress" / "completed" / "failed" / "cancelled" / "reversed" / "corrected"[].

application/json body.filter_criteria.statuses item

Type: "created" / "pending_approval" / "in_progress" / "completed" / "failed" / "cancelled" / "reversed" / "corrected".

application/json body.finished_at_utc

At least one alternative must match.

application/json body.finished_at_utc: alternative 1

At least one alternative must match.

application/json body.finished_at_utc: alternative 1: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.finished_at_utc: alternative 1: alternative 2

Type: string. format: date-time

application/json body.finished_at_utc: alternative 2

Type: null.

application/json body.generated_at_utc

At least one alternative must match.

application/json body.generated_at_utc: alternative 1

Type: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

application/json body.generated_at_utc: alternative 2

Type: string. format: date-time

application/json body.requested_scope

Exactly one alternative must match.

application/json body.requested_scope: alternative 1
Field Type Required Description and constraints
kind "enterprise" Yes
ref string Yes pattern: ^(enterprises)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

application/json body.requested_scope: alternative 2
Field Type Required Description and constraints
kind "master_account" Yes
ref string Yes pattern: ^(master-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

application/json body.requested_scope: alternative 3
Field Type Required Description and constraints
kind "client" Yes
ref string Yes pattern: ^(clients)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

application/json body.requested_scope: alternative 4
Field Type Required Description and constraints
kind "client_account" Yes
ref string Yes pattern: ^(client-accounts)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

application/json body.requested_scope: alternative 5
Field Type Required Description and constraints
kind "platform_operator" Yes
ref string Yes pattern: ^(platform-operators)\/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Additional fields are not accepted.

application/json body.row_count

At least one alternative must match.

application/json body.row_count: alternative 1

Type: integer. minimum: 0; maximum: 9007199254740991

application/json body.row_count: alternative 2

Type: null.

application/json body.storage_location

At least one alternative must match.

application/json body.storage_location: alternative 1

Type: string.

application/json body.storage_location: alternative 2

Type: null.

Response 400 schema

Content type: application/json.

application/json body

Field Type Required Description and constraints
code string Yes
data object No No additional fields
details object No Additional fields allowed
message string Yes

Additional fields are not accepted.

application/json body.data
Field Type Required Description and constraints
acr_values string No RFC 9470 step-up challenge (insufficient_user_authentication).
blockers object[] No For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.
code string No For legal refusals: the document code the refusal is about.
max_age string No RFC 9470 step-up challenge (insufficient_user_authentication).
max_source_amount object No For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum. No additional fields
min_source_amount object No For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included. No additional fields
published_version string No For document_version_superseded: the version currently published.
reason string No Typed refinement of code, from the failing service's contract.
resource string No Resource kind a resource_not_found refers to.
retry_after_ms integer No Suggested back-off in milliseconds for throttling or temporary unavailability; null means no delay is known. minimum: 0
source string No For not_admissible: the gate that denied (verification, lifecycle, policy, compliance).

Additional fields are not accepted.

application/json body.data.blockers

For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.

Type: object[].

application/json body.data.blockers item
Field Type Required Description and constraints
description string Yes
type "non_zero_balance" / "active_sub_resources" / "pending_operations" / "active_users" / "active_service_accounts" / "active_role_assignments" Yes
assets object[] No minItems: 1
count integer No minimum: 0; maximum: 9007199254740991

Additional fields are not accepted.

application/json body.data.blockers item.assets

Type: object[]. minItems: 1

application/json body.data.blockers item.assets item
Field Type Required Description and constraints
asset string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
kind "balance" / "held" / "owed" / "unsettled" Yes

Additional fields are not accepted.

application/json body.data.max_source_amount

For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

application/json body.data.min_source_amount

For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

Response 401 schema

Content type: application/json.

application/json body

Field Type Required Description and constraints
code string Yes
data object No No additional fields
details object No Additional fields allowed
message string Yes

Additional fields are not accepted.

application/json body.data
Field Type Required Description and constraints
acr_values string No RFC 9470 step-up challenge (insufficient_user_authentication).
blockers object[] No For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.
code string No For legal refusals: the document code the refusal is about.
max_age string No RFC 9470 step-up challenge (insufficient_user_authentication).
max_source_amount object or null No For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum. No additional fields
min_source_amount object No For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included. No additional fields
published_version string No For document_version_superseded: the version currently published.
reason string No Typed refinement of code, from the failing service's contract.
resource string No Resource kind a resource_not_found refers to.
retry_after_ms integer or null No Suggested back-off in milliseconds for throttling or temporary unavailability; null means no delay is known. minimum: 0
source string No For not_admissible: the gate that denied (verification, lifecycle, policy, compliance).

Additional fields are not accepted.

application/json body.data.blockers

For closure_preconditions_not_met on a terminal lifecycle verb: what must be resolved before the transition.

Type: object[].

application/json body.data.blockers item
Field Type Required Description and constraints
description string Yes
type "non_zero_balance" / "active_sub_resources" / "pending_operations" / "active_users" / "active_service_accounts" / "active_role_assignments" Yes
assets object[] No minItems: 1
count integer No minimum: 0; maximum: 9007199254740991

Additional fields are not accepted.

application/json body.data.blockers item.assets

Type: object[]. minItems: 1

application/json body.data.blockers item.assets item
Field Type Required Description and constraints
asset string Yes Currency code (ISO-4217 or on-chain ticker) pattern: ^[A-Z0-9]{1,16}$
kind "balance" / "held" / "owed" / "unsettled" Yes

Additional fields are not accepted.

application/json body.data.max_source_amount

For amount_below_minimum / amount_above_maximum: the product maximum in source asset units; null means no maximum.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

application/json body.data.min_source_amount

For amount_below_minimum / amount_above_maximum: the effective minimum in source asset units, fees included.

Field Type Required Description and constraints
currency string Yes
value string Yes

Additional fields are not accepted.

Response 403 schema

Content type: application/json.

See response 401 schema.

Response 409 schema

Content type: application/json.

See response 401 schema.

Response 500 schema

Content type: application/json.

See response 401 schema.

Response 502 schema

Content type: application/json.

See response 400 schema.

Response 503 schema

Content type: application/json.

See response 400 schema.