<!--
Copyright (C) 2026 Ordinary Labs, LLC.

SPDX-License-Identifier: AGPL-3.0-only
-->

# `ordinaryd.json` Reference

## `OrdinaryApiConfig`

Config definition for an Ordinary API Instance

### `domain`



> string

### `contacts`



> array<string>

### `public_dns_ip`



> array<integer> | null

### `env_name`



> string

### `limits`



### `proxied_metrics`



> array<[ProxiedMetric](#proxiedmetric)>

### `console`



> boolean

whether to serve the web console

### `invite_token_link`



> string

link to the location where you are able to obtain an invite token

## `OrdinaryApiLimits`

### `app_domains`



> array<string>

### `privileged_domains`



> array<string>

### `max_default_timeout`



> integer

Max default timeout for all HTTP requests.

Default: 10

### `proxy`



### `middleware`



### `action`



### `auth`



### `integration`



### `monitor`



### `storage`



### `template`



## `ProxyLimits`

### `count`



> integer

max number of proxies per application.

### `disallowed_targets`



> array<string>

a list of any internal or external target
regexes that should be disallowed.

## `MiddlewareLimits`

### `count`



> integer

max number of proxies per application.

### `disallowed_endpoints`



> array<string>

a list of any internal or external target
regexes that should be disallowed.

## `ActionLimits`

### `count`



> integer

Max number of actions per app.

### `max_timeout`



> integer

Action request timeout.

Unit: seconds.

## `AuthLimits`



> object

## `IntegrationLimits`

### `count`



> integer

Max number of integrations per app.

### `max_timeout`



> integer

Integration request timeout.

Unit: seconds.

## `MonitorLimits`



> object

## `StorageLimits`

### `max_storage`



> integer

Maximum total storage for all apps and api.

Unit: bytes.

Default: 10 GB

### `max_app_storage`



> integer

Maximum per-app storage.

Unit: bytes.

Default: 50 MB

### `assets`



### `artifact`



### `cache`



### `content`



### `model`



### `secrets`



## `AssetsLimits`

### `allowed_extensions`



> array<string>

Allowed extensions corresponding to
[MIME](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types/Common_types) types.

(More to be supported in the future)

Supported:
- "txt"
- "xml"
- "html"
- "css"
- "css.map"
- "csv"
- "js"
- "png"
- "apng"
- "gif"
- "svg"
- "jpg"
- "jpeg"
- "bmp"
- "tif"
- "tiff"
- "webp"
- "avif"
- "ico"
- "pdf"
- "json"
- "wasm"

Special:
- "none" (for no extension; uses "application/octet-stream")
- "any" (for unsupported extensions; also uses "application/octet-stream")

### `max_store_size`



> integer

Limit on total storage for all assets within an app
(bytes).

### `max_asset_size`



> integer

Limit on individual asset size (bytes).

## `ArtifactLimits`

### `max_store_size`



> integer

### `max_artifact_size`



> integer

## `CacheLimits`

### `max_size_range`



> array

### `max_count_range`



> array

### `clean_interval_ranges`



> array

## `ContentLimits`

### `search_enabled`



> boolean

### `max_content_definitions`



> integer

### `max_content_fields`



> integer

### `max_store_size`



> integer

### `max_object_size`



> integer

### `max_field_size`



> integer

## `ModelLimits`

### `search_enabled`



> boolean

### `max_model_definitions`



> integer

### `max_model_fields`



> integer

### `max_item_size`



> integer

### `max_field_size`



> integer

## `SecretsLimits`

### `max_count`



> integer

### `max_size`



> integer

## `TemplateLimits`

### `count`



> integer

Max number of templates per app.

### `max_timeout`



> integer

Template request timeout.

Unit: seconds.

## `ProxiedMetric`

### `name`



> string

### `endpoint`



> string

<hr/>

_This document was generated automatically for structs defined in the [`ordinary-config`](https://docs.rs/ordinary-config/latest/ordinary_config/) crate._