Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Reference

The CatalyX REST API — endpoints, authentication, and error handling.

The CatalyX API is the integration surface for the platform. The UI is built entirely on it, so anything you can do in the UI you can automate.

It does two things:

  • Reads validator and application state from the Kubernetes custom resources. It never writes them.

  • Proxies privileged Canton operations — the Ledger API, the participant Admin API, the network Scan API, and the validator app's admin API — so callers do not need direct network access to the nodes.

Base URL and discovery

Endpoints are served under /api/v1 on the platform hostname, for example https://validators.example.com/api/v1/validators.

The API publishes its own OpenAPI description:

OpenAPI document

GET /v3/api-docs

Swagger UI

GET /swagger-ui.html

Authentication

Send an OIDC bearer token on every /api/v1 request:

Authorization: Bearer <access-token>

Tokens are validated against the JWKS endpoint configured at install time (api.auth.jwksUri). Signature and expiry are checked.

Unauthenticated requests return 401 with an empty body and a WWW-Authenticate: Bearer header.

Namespace scoping

Every endpoint operates on the single namespace the API is configured to watch (api.namespace in the Helm values — see Platform Installation). There is no namespace parameter, and resources elsewhere return 404.


Validators

Method
Path
Returns

GET

/api/v1/validators

Every Validator resource, sorted by namespace and name.

GET

/api/v1/validators/{name}

One Validator resource.

GET

/api/v1/validators/{name}/status

Just the resource's status.

GET

/api/v1/validators/{name}/details

Aggregate view: the validator, its Ledger API endpoint, the authenticated user, all ledger users, and all DAR packages.

GET

/api/v1/validators/{name}/traffic-status

Synchronizer traffic counters.

GET

/api/v1/validators/{name}/participant-status

Participant node health.

GET

/api/v1/validators/{name}/keys

Public keys in the participant's key vault.

GET

/api/v1/validators/{name}/identity-dump

The participant identity export, as a file download.

POST

/api/v1/validators

Creates a DevNet validator from a name. Available only in sandbox mode (api.sandbox.enabled), where each user sees only the validators they own. Returns 503 if a sandbox URL is not configured. See Platform Installation.

/details degrades rather than failing. If one of its sections cannot be fetched, the response still returns 200 with that section replaced by a corresponding *Error field. Check for those fields rather than relying on the status code alone.

Version note. GET /api/v1/validators/{name}/balances was removed in 2.0.1. Query the network's Scan API directly for Canton Coin balances.

Applications

Method
Path
Returns

GET

/api/v1/applications

Every Application resource.

GET

/api/v1/applications/{name}

One Application resource.

GET

/api/v1/applications/{name}/status

Just the resource's status.

GET

/api/v1/applications/metrics

Resource metrics for every application.

GET

/api/v1/applications/{name}/metrics

Resource metrics for one application.

Metrics report CPU in millicores and memory in bytes. Any usage, request, or limit value may be null. A metricsAvailable: false response means the cluster metrics API was unreachable — usually a missing metrics-server.

Parties

Method
Path
Purpose

GET

/api/v1/validators/{name}/parties

Look up parties by ID prefix. Optional partyId query parameter.

POST

/api/v1/validators/{name}/parties

Allocate a participant-managed party. Requires the partyIdHint query parameter.

GET

/api/v1/validators/{name}/local-parties

Parties hosted by this participant, with their hosts, permissions, and threshold.

GET

/api/v1/validators/{name}/external-parties

Externally-signed parties onboarded here.

GET

/api/v1/validators/{name}/topology-proposals

Hosting proposals on the synchronizer, each flagged with whether this participant must act.

GET

/api/v1/validators/{name}/participant-lookup

Advisory check of a participant UID. Requires participantUid.

External parties

The onboarding and hosting flow. See External & Multi-Host Parties for the concepts.

Method
Path
Purpose

POST

/api/v1/validators/{name}/external-parties/generate-topology

Generate topology transactions and the multi-hash to sign.

POST

/api/v1/validators/{name}/external-parties/allocate

Allocate the party using the party's signature over the multi-hash.

POST

/api/v1/validators/{name}/external-parties/approve-pending

Authorize a hosting proposal naming this participant. Requires partyId.

POST

/api/v1/validators/{name}/external-parties/amend-hosting/prepare

Prepare a hosting change, returning a transaction hash to sign.

POST

/api/v1/validators/{name}/external-parties/amend-hosting/submit

Submit the signed hosting change.

generate-topology

Field
Required
Notes

partyHint

Yes

Incorporated into the generated party ID.

publicKeyBase64

Yes

X.509 SubjectPublicKeyInfo, DER encoded, then Base64.

keySpec

No

Defaults to Ed25519.

hosts

No

Array of { participantUid, permission }. permission is CONFIRMING or OBSERVING; participantUid must be alias::fingerprint. Omit for a single-hosted party.

confirmationThreshold

No

Defaults to 1. Must not exceed the number of confirming participants.

localParticipantObservationOnly

No

Defaults to false. When true, this validator observes but does not confirm.

Returns the generated partyId, the multiHash to sign, the topologyTransactions, the synchronizerId, and otherHostingParticipantUids.

allocate

Requires synchronizerId, topologyTransactions, signature, and publicKeyFingerprint. signatureFormat and signingAlgorithmSpec default to the Ed25519 pair and must match the key you used.

Returns partyId, the hosts still owing approval, and complete — which is false until every named host has authorized.

amend-hosting

prepare takes partyId, the complete new hosts array, and confirmationThreshold, and returns the current and next serial plus a transactionHash to sign. submit takes the signed transaction back.

Ledger users

Method
Path
Purpose

POST

/api/v1/validators/{name}/users

Create a ledger user.

POST

/api/v1/validators/{name}/users/{userId}

Update a user's primary party, deactivation state, and annotations.

GET

/api/v1/validators/{name}/users/{userId}/rights

List a user's rights.

POST

/api/v1/validators/{name}/users/{userId}/rights

Replace a user's rights.

User creation and rights take query or form parameters, not a JSON body: userId, primaryParty, the boolean flags participantAdmin, identityProviderAdmin, canReadAsAnyParty, canExecuteAsAnyParty, and the repeatable party lists canActAs, canReadAs, canExecuteAs.

There is no endpoint that lists users directly. The user list is the allUsers field of /details.

Wallet users

Method
Path
Purpose

GET

/api/v1/validators/{name}/wallet-users

List wallet usernames.

POST

/api/v1/validators/{name}/wallet-users

Onboard a wallet user. Body { "name": "<username>" }.

DELETE

/api/v1/validators/{name}/wallet-users/{username}

Offboard a wallet user.

The validator refuses to offboard its own wallet user, returning 409.

Wallet Gateway

Method
Path
Purpose

GET

/api/v1/validators/{name}/wallet-gateway/wallets

Lists the wallets Wallet Gateway manages for this validator.

POST

/api/v1/validators/{name}/wallet-gateway/wallets

Creates a wallet for a party. Requires a party hint and a signing provider (dfns or bitgo); optionally a primary flag and a DFNS vault.

POST

/api/v1/validators/{name}/wallet-gateway/wallets/allocate

Allocates the party of an initialized wallet once the provider has signed. Requires partyId.

GET

/api/v1/validators/{name}/wallet-gateway/providers

Lists the signing providers and whether each is enabled.

GET

/api/v1/validators/{name}/wallet-gateway/providers/dfns

Reads the validator's current DFNS provider settings. Never returns credentials.

PUT

/api/v1/validators/{name}/wallet-gateway/providers/dfns

Updates the enabled flag, connection details, and/or credentials for the DFNS provider. Each field is optional per call. Takes effect immediately, without editing the Validator resource or restarting anything.

GET

/api/v1/validators/{name}/wallet-gateway/providers/bitgo

Reads the validator's current BitGo provider settings. Never returns the access token.

PUT

/api/v1/validators/{name}/wallet-gateway/providers/bitgo

Updates the BitGo provider settings. The access token is optional per call.

These calls only manage wallet custody — creating a wallet and reading its state. Nothing here asks Wallet Gateway to sign a transaction; that flow does not exist yet. See Wallet Gateway.


DAR packages

Method
Path
Purpose

POST

/api/v1/validators/{name}/dars/upload

Upload a DAR. multipart/form-data, part name file. Limited to 10 MiB by default (api.upload.maxFileSize). A file that is not a valid DAR returns 422.

The package list is the dars field of /details.

Health

Method
Path
Auth

GET

/actuator/health

Public

GET

/actuator/info

Public

These are the platform's own health endpoints, used by Kubernetes probes. Validator component metrics are exposed by the components themselves, not here.

Canton console

GET /api/ws/canton-console upgrades to a WebSocket carrying a raw terminal stream. It is not a REST endpoint and is intended for the console UI. See Canton Console, including its security notes.


Conventions

Aspect
Behaviour in 2.0

Status codes

Success is always 200 — including creates, which do not return 201, and deletes, which return 200 with a body.

Pagination

None. Collection endpoints return complete lists. A nextPageToken may appear in passthrough payloads but cannot be used — there is no corresponding request parameter.

Filtering

Only partyId on party lookup and participantUid on participant lookup. Both are prefix filters.

Sorting

Validators and applications are sorted by namespace and name. Not client-controllable.

Rate limiting

None.

Timeouts

Upstream calls have their own timeouts; an upstream that is slow or unavailable surfaces as 502.

Errors

From 2.0.2, error responses use the problem details format of RFC 9457. This includes errors raised before a request reaches an endpoint: unreadable bodies, unsupported or unacceptable media types, wrong methods, wrong or missing parameters, and oversized uploads.

Read title and detail for the message, as the UI does.

Version note. Up to 2.0.1, the API used two other shapes: { timestamp, status, error } for validation and not-found errors, and { endpoint, error } for upstream errors.

401 and 403 return an empty body. A robust client should read detail from the body when present and fall back to the status code otherwise.

Status codes

Code
Meaning

200

Success — including creates and deletes

400

Invalid request. The detail field names the problem

401

Missing, invalid, or expired token. Empty body

404

No such validator, application, or party

405

Wrong HTTP method for the path

406

The requested response media type is not available

409

Conflict — for example offboarding the validator's own wallet user

413

Upload too large — see api.upload.maxFileSize

415

Unsupported request media type

422

Canton rejected the request as invalid — for example a signature that does not verify, or a file that is not a valid DAR

502

An upstream Canton, Scan, or validator app call failed

503

Sandbox mode is enabled but a sandbox URL is not configured

422 and 502 are worth distinguishing in your integration. 422 means the request was wrong and retrying will not help. 502 means something upstream was unavailable and retrying may succeed.

Last updated

Was this helpful?