> For the complete documentation index, see [llms.txt](https://docs.catalyx.solutions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.catalyx.solutions/catalyx-blockchain-manager/canton-network/version-2.0/support-and-resources/openapi-reference/validator-settings.md). Agents can also search and read this documentation through its [MCP server](https://docs.catalyx.solutions/~gitbook/mcp).

# Validator Settings

Validator settings saved from the UI: automatic traffic top-up

## Get automatic traffic top-up

> Automatic traffic top-up as the operator applies it: the Validator's spec.validator.topup with the validator settings applied, then the default (enabled, 20000 bytes per second, 1m). 409 when the saved validator settings are not valid.

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Validator Settings","description":"Validator settings saved from the UI: automatic traffic top-up"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AutomaticTopupResponse":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the validator buys extra traffic automatically."},"targetThroughput":{"type":"integer","format":"int64","description":"The traffic, in bytes per second, that automatic top-up buys for."},"minTopupInterval":{"type":"string","description":"The minimum time between two automatic top-ups."}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/validators/{name}/automatic-topup":{"get":{"tags":["Validator Settings"],"summary":"Get automatic traffic top-up","description":"Automatic traffic top-up as the operator applies it: the Validator's spec.validator.topup with the validator settings applied, then the default (enabled, 20000 bytes per second, 1m). 409 when the saved validator settings are not valid.","operationId":"getAutomaticTopup","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AutomaticTopupResponse"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## Update automatic traffic top-up

> Saves automatic traffic top-up in the validator settings as validator.topup.enabled, validator.topup.targetThroughput and validator.topup.minTopupInterval. The operator restarts the validator-app with it. Buying traffic spends CC from the validator wallet.

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Validator Settings","description":"Validator settings saved from the UI: automatic traffic top-up"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AutomaticTopupRequest":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Buy extra traffic automatically, with CC from the validator wallet."},"targetThroughput":{"type":"integer","format":"int64","description":"The traffic, in bytes per second, that automatic top-up buys for.","maximum":1000000000},"minTopupInterval":{"type":"string","description":"The minimum time between two automatic top-ups: a number and a unit, ms, s, m or h.","minLength":1,"pattern":"^[1-9][0-9]{0,8}(ms|s|m|h)$"}},"required":["enabled","minTopupInterval","targetThroughput"]},"AutomaticTopupResponse":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the validator buys extra traffic automatically."},"targetThroughput":{"type":"integer","format":"int64","description":"The traffic, in bytes per second, that automatic top-up buys for."},"minTopupInterval":{"type":"string","description":"The minimum time between two automatic top-ups."}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/validators/{name}/automatic-topup":{"put":{"tags":["Validator Settings"],"summary":"Update automatic traffic top-up","description":"Saves automatic traffic top-up in the validator settings as validator.topup.enabled, validator.topup.targetThroughput and validator.topup.minTopupInterval. The operator restarts the validator-app with it. Buying traffic spends CC from the validator wallet.","operationId":"updateAutomaticTopup","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomaticTopupRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AutomaticTopupResponse"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.catalyx.solutions/catalyx-blockchain-manager/canton-network/version-2.0/support-and-resources/openapi-reference/validator-settings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
