Zuplo Developer API

ApiKeyBulkCreateOrUpdateBody

expiresOn
​string · date-time

When the key expires.

description
​string

The description of the api key.

key
​string

The API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection

Zuplo.Accounts.Account

A Zuplo account
id
​string · required

The id of the account

Example: 103f832d-5331-42db-9d38-bbac05a68305
name
​string · required

The name of the account

Example: my-account
label
​string

The label of the account

Example: My Account

Zuplo.Accounts.AccountsList

​Zuplo.Accounts.Account[] · required

Zuplo.ApiKeys.ApiKey

A Consumer can have any number of API keys associated with it. Each API Key shares the same identity (i.e. Consumer) when authenticating with this service. Keys can have their own description to note the use of the key and can have an expiration date. Expired keys will not be permitted to authenticate after their expiration.
createdOn
​string · date-time · readOnly · required

When the item was created.

Example: 2023-04-18T05:54:34.408Z
updatedOn
​string · date-time · readOnly · required

When the item was last updated.

Example: 2023-04-20T05:54:34.408Z
id
​string · readOnly · required
expiresOn
​string · date-time

When the key expires.

description
​string

The description of the api key.

key
​string

The API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection

Zuplo.ApiKeys.ApiKeyCreateOrUpdateBody

expiresOn
​string · date-time

When the key expires.

description
​string

The description of the api key.

key
​string

The API key's value. You can use this parameter to override Zuplo's default key format, but this is not recommended as you will lose our API Key Leak Detection

Zuplo.ApiKeys.ApiKeys

​Zuplo.ApiKeys.ApiKey[] · required
limit
​integer · uint32
offset
​integer · uint32
total
​integer · uint32

Zuplo.ApiKeys.Bucket

Top level group for API key mangement. A bucket could be used with a single Zuplo environment or shared among multiple environments or projects. By default a Zuplo API Gateway project will be created with several buckets that map to production, preview, and working copy environments.
createdOn
​string · date-time · readOnly · required

When the item was created.

Example: 2023-04-18T05:54:34.408Z
updatedOn
​string · date-time · readOnly · required

When the item was last updated.

Example: 2023-04-20T05:54:34.408Z
id
​string · readOnly · required
name
​string · pattern: ^[a-z0-9-]{5,128}$ · required

A friendly name for the bucket.

isRetrievable
​boolean

Whether the API keys stored in the bucket are retrievable

description
​string

A description of the bucket.

​object

Key value pairs to associate with the bucket.

Zuplo.ApiKeys.BucketCreateBody

name
​string · pattern: ^[a-z0-9-]{5,128}$ · required

A friendly name for the bucket.

description
​string

A description of the bucket.

​object

Key value pairs to associate with the bucket.

Zuplo.ApiKeys.BucketUpdateBody

description
​string

A description of the bucket.

​object

Key value pairs to associate with the bucket.

Zuplo.ApiKeys.Buckets

​Zuplo.ApiKeys.Bucket[] · required
limit
​integer · uint32
offset
​integer · uint32
total
​integer · uint32

Zuplo.ApiKeys.Consumer

Consumers are the core of the API Key service. The consumer is the 'identity' of any API Keys that are created.
createdOn
​string · date-time · readOnly · required

When the item was created.

Example: 2023-04-18T05:54:34.408Z
updatedOn
​string · date-time · readOnly · required

When the item was last updated.

Example: 2023-04-20T05:54:34.408Z
id
​string · readOnly · required
name
​string · pattern: ^[a-z0-9-]{1,128}$ · required

A friendly name for the consumer. This name is used as the default user.sub property in the API Key Authentication policy.

description
​string

A description of the consumer.

​object

Key value pairs to associate with the consumer.

​object

Generic metadata associated with the consumer.

Zuplo.ApiKeys.ConsumerCreateBody

name
​string · pattern: ^[a-z0-9-]{1,128}$ · required

A friendly name for the consumer. This name is used as the default user.sub property in the API Key Authentication policy.

​

Email addresses of the managers to invite or a list of managers (with subs) to add to the consumer.

description
​string

A description of the consumer.

​object

Key value pairs to associate with the consumer.

​object

Generic metadata associated with the consumer.

Zuplo.ApiKeys.ConsumerUpdateBody

description
​string

A description of the consumer.

​object

Key value pairs to associate with the consumer.

​object

Generic metadata associated with the consumer.

Zuplo.ApiKeys.Consumers

​Zuplo.ApiKeys.Consumer[] · required
limit
​integer · uint32
offset
​integer · uint32
total
​integer · uint32

Zuplo.ApiKeys.KeyFormat

string · enum
Enum values:
none
visible
masked

Zuplo.ApiKeys.Manager

Managers are users that have access to a consumer. Managers can be added directly to a consumer (using email and sub) or invited (using only email) to a consumer.
email
​string · required

The email address of the manager

sub
​string · required

The sub of the manager in the identity provider

Zuplo.ApiKeys.ManagerCreateBody

email
​string · required

The email address of the manager

sub
​string · required

The sub of the manager in the identity provider

Zuplo.ApiKeys.Managers

​Zuplo.ApiKeys.Manager[] · required
limit
​integer · uint32
offset
​integer · uint32
total
​integer · uint32

Zuplo.AuditLogs.ActingAs

Details about the user being impersonated, if applicable
sub
​string · required

The subject identifier of the user being impersonated

email
​string | null · required

The email address of the impersonated user (if available)

Zuplo.AuditLogs.Actor

Details about the actor who performed the action
sub
​string · required

The subject identifier of the actor (user ID, API key, etc.)

email
​string | null · required

The email address of the actor (only for user actors)

type
​string · required

The type of actor (e.g., 'user', 'consumer', 'service', 'anonymous')

connection
​string | null · required

The authentication connection used (e.g., 'auth0', 'google')

actingAs
​object | null · required

Information about the user being impersonated, if any

​object | null · required

Additional metadata about the actor

Zuplo.AuditLogs.AuditLog

An audit log entry representing an action performed in the system
action
​string · required

The action that was performed (e.g., 'account.create', 'project.delete')

​object | null · required

Additional metadata about the action

​object · required

Details about the actor who performed the action

​array | null · required

List of resources affected by this action

​object · required

Contextual information about where and how the action was performed

​object · required

Information about the API route that triggered this audit event

timestamp
​string · date-time · required

The timestamp when the action occurred

requestId
​string · required

The unique request ID for correlation

success
​boolean | null · required

Whether the action was successful

error
​string | null · required

Error message if the action failed

Zuplo.AuditLogs.AuditLogsPagination

Pagination information for audit logs
limit
​integer · int32 · required

Maximum number of results returned

offset
​integer · int32 · required

Number of results skipped

total
​integer · int32 · required

Total number of results available

hasMore
​boolean · required

Whether there are more results available

Zuplo.AuditLogs.AuditLogsResponse

Response containing a list of audit logs with pagination
​Zuplo.AuditLogs.AuditLog[] · required

Array of audit log entries

​object · required

Pagination information

Zuplo.AuditLogs.Context

Contextual information about where and how the action was performed
ipAddress
​string | null · required

The IP address of the request

userAgent
​string | null · required

The user agent string of the request

country
​string | null · required

The ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB')

region
​string | null · required

The region/state code (e.g., 'CA' for California)

city
​string | null · required

The city name from which the request originated

postalCode
​string | null · required

The postal/ZIP code

metroCode
​string | null · required

The metro code (DMA code in the US)

asOrg
​string | null · required

The Autonomous System organization (ISP name)

Zuplo.AuditLogs.Resource

A resource affected by the action
type
​string · required

The type of resource (e.g., 'account', 'project', 'deployment')

id
​string · required

The unique identifier of the resource

​object | null · required

Additional metadata about the resource

Zuplo.AuditLogs.Route

Information about the API route that triggered this audit event
source
​string | null · required

The source system or API that handled the request (e.g., 'api', 'gateway')

url
​string | null · required

The full URL path of the request

method
​string | null · required

The HTTP method used for the request

Zuplo.AuditLogsV1.AuditLogEvent

A bucket-scoped audit log event in CloudEvents 1.0 format
specversion
​string · required

CloudEvents spec version, always '1.0'

id
​string · required

Unique event id (request id or generated)

source
​string · required

Originating component URI

type
​string · required

Reverse-DNS event type (e.g. 'com.zuplo.apikey.create')

time
​string · date-time · required

Event time

bucketid
​string · required

Bucket the event belongs to

datacontenttype
​string

Content type of the payload, always 'application/json'

subject
​string | null

The principal the event is about (user / actor)

actorsub
​string | null

Actor identifier (e.g. user sub)

actortype
​string

Actor type: user | service | apikey | anonymous

actoremail
​string | null

Actor email when known

actorconnection
​string | null

Auth issuer / IdP

Resources affected by this event

requestid
​string | null

Correlation id matching the originating request

success
​boolean | null

Whether the action succeeded

httpmethod
​string | null

HTTP method of the originating request

httpurl
​string | null

URL path (with query) of the originating request

httpstatus
​integer | null · int32

HTTP status code of the response

ipaddress
​string | null

Client IP address

useragent
​string | null

Client user agent

country
​string | null

ISO 3166-1 alpha-2 country code

region
​string | null

Region / state code

city
​string | null

City name

​object

Event payload

​object

Spillover for unknown CloudEvent extensions

Zuplo.AuditLogsV1.AuditLogResource

A resource affected by an audit event
type
​string · required

Resource type (e.g. 'api-key', 'account')

id
​string · required

Resource identifier

Zuplo.AuditLogsV1.AuditLogsEventsResponse

Audit log events response
​Zuplo.AuditLogsV1.AuditLogsPagination · required

Pagination for audit log events

Zuplo.AuditLogsV1.AuditLogsPagination

Pagination for audit log events
limit
​integer · int32 · required
offset
​integer · int32 · required
total
​integer · int64 · required
hasMore
​boolean · required

Zuplo.AuditLogsV1.AuditLogsStatsEntry

Aggregated audit log stats entry
key
​string · required

Key value for this bucket (e.g. event type, actor sub)

count
​integer · int64 · required

Event count for this key

Zuplo.AuditLogsV1.AuditLogsStatsResponse

Audit log stats response
groupBy
​string · required

Column that was grouped by

Zuplo.BuildLogs.BuildLogRow

​string[] · minItems: 3 · maxItems: 3

A single build-log row, returned as a fixed 3-tuple of [timestamp (ISO 8601), severity, message].

Example: {"0":"2024-01-01T00:00:00.000Z","1":"INFO","2":"Build started"}

Zuplo.BuildLogs.BuildLogStage

string · enum
Enum values:
api
dev-portal

The build stage that produced a set of build logs. Wire values are kebab-case (api, dev-portal); the response groups logs under camelCase keys (api, devPortal). Mirrors tenant-api's DeploymentStageNameSchema — keep in sync when new stages are added upstream.

Zuplo.BuildLogs.BuildLogStepGroup

Build logs for a stage, grouped by build step. Keys are step names (e.g. "build"); values are ordered arrays of build-log rows.

Zuplo.BuildLogs.BuildLogsData

Build logs grouped by stage (API vs Dev Portal) and then by build step.
​object · required

Build logs for the API/gateway build stage, grouped by step.

​object · required

Build logs for the Dev Portal build stage, grouped by step.

Zuplo.BuildLogs.BuildLogsResponse

Response containing the build logs for a deployment build.
​object · required

Build logs grouped by stage and step.

Zuplo.ClientMtlsCaCertificates.ClientMtlsCaCertificate

A client mTLS CA certificate configured for an account.
id
​string · readOnly · required

The unique identifier for the client mTLS CA certificate.

Example: cert_abc123
name
​string · minLength: 1 · maxLength: 120 · required

The name of the client mTLS CA certificate.

Example: my_client_ca
​object · required

Certificate information.

createdOn
​string · date-time · readOnly · required

When the item was created.

Example: 2023-04-18T05:54:34.408Z
updatedOn
​string · date-time · readOnly · required

When the item was last updated.

Example: 2023-04-20T05:54:34.408Z

Zuplo.ClientMtlsCaCertificates.ClientMtlsCaCertificateCreateBody

name
​string · minLength: 1 · maxLength: 120 · required

The name of the client mTLS CA certificate.

Example: my_client_ca
certificate
​string · minLength: 1 · required

The PEM-encoded CA certificate.

Zuplo.ClientMtlsCaCertificates.ClientMtlsCaCertificateInfo

Details parsed from a client mTLS CA certificate.
subject
​string · required

Certificate subject.

Example: CN=Example Client CA
issuer
​string · required

Certificate issuer.

Example: CN=Example Root CA
validFrom
​string · required

Certificate valid from date.

Example: 2024-01-01T00:00:00Z
validTo
​string · required

Certificate valid to date.

Example: 2025-01-01T00:00:00Z
serialNumber
​string · required

Certificate serial number.

Example: 12345

Zuplo.ClientMtlsCaCertificates.ClientMtlsCaCertificateListResponse

List of client mTLS CA certificates.

offset
​integer · int32 · required

Offset for pagination.

limit
​integer · int32 · required

Limit for pagination.

Zuplo.ClientMtlsCaCertificates.ClientMtlsCaCertificateUpdateBody

name
​string · minLength: 1 · maxLength: 120 · required

The name of the client mTLS CA certificate.

Example: my_client_ca

Zuplo.Common.ExpiresOnField

expiresOn
​string · date-time · required

When the item will expire.

Example: 2050-04-18T05:54:34.408Z

Zuplo.ConsumerAnalytics.CallsByStatusCodeData

Zuplo.ConsumerAnalytics.CallsDetailData

consumer
​string · readOnly · required
timeStamp
​string · readOnly · required
totalCalls
​integer · readOnly · required
​Zuplo.ConsumerAnalytics.CallsByStatusCodeData[] · readOnly · required

Zuplo.ConsumerAnalytics.RecentCallsData

​Zuplo.ConsumerAnalytics.RequestData[] · readOnly · required

Zuplo.ConsumerAnalytics.ReponseStatsByStatusCodeData

​object · readOnly · required

Zuplo.ConsumerAnalytics.RequestData

consumer
​string · readOnly · required
method
​string · readOnly · required
routePath
​string · readOnly · required
statusCode
​string · readOnly · required
timeStamp
​string · readOnly · required
city
​string · readOnly · required
country
​string · readOnly · required

Zuplo.ConsumerAnalytics.StatsByStatusCode.TimeWindowFilter

string · enum
Enum values:
last-hour
last-24-hours
last-7-days
last-30-days
last-3-months

Zuplo.ConsumerAnalytics.StatsByStatusCodeData

Zuplo.ConsumerAnalytics.StatsData

totalCalls
​integer · readOnly · required
consumer
​string · readOnly · required
​Zuplo.ConsumerAnalytics.CallsByStatusCodeData[] · readOnly · required

Zuplo.CustomDomains.CustomDomain

A custom domain configured for an account.
id
​string · required

The unique identifier for the custom domain.

Example: cdm_01HZX8D7A1M9S0K4Y2N6P3Q8R5
accountName
​string · required

The account that owns the custom domain.

Example: chocolate_great_buzzard
projectName
​string · required

The project associated with the custom domain.

Example: todo-list-api

The deployments currently mapped to this hostname.

hostname
​string · required

The hostname assigned to the custom domain.

Example: api.example.com
provider
​string · enum · required

The provider backing the custom domain.

Enum values:
cloudflare
amazon
custom
alias
Example: cloudflare

Zuplo.CustomDomains.CustomDomainCreateBody

Request body for creating a custom domain.
hostname
​string · required

The hostname to configure as a custom domain.

Example: api.example.com
deploymentName
​string

The deployment to associate with the hostname.

Example: todo-list-api-main-59eec11
stage
​string · enum

The stage to expose on the hostname.

Enum values:
api
dev-portal
Example: api
isDefault
​boolean

Whether this domain should be the default domain for the deployment.

Example: true
isAlias
​boolean

Whether the domain should be configured as an alias.

Example: false

Zuplo.CustomDomains.CustomDomainDeployment

A deployment bound to a custom domain.
deploymentName
​string | null · required

The deployment name associated with the custom domain.

Example: todo-list-api-main-59eec11
branch
​string | null · required

The branch associated with the deployment.

Example: main
environmentType
​Zuplo.CustomDomains.CustomDomainEnvironmentType | null · enum · required

The environment type associated with the deployment.

Enum values:
PRODUCTION
PREVIEW
WORKING_COPY
isDefault
​boolean · required

Whether this deployment is the default for the hostname.

Example: true
stage
​Zuplo.CustomDomains.CustomDomainStage | null · enum · required

The stage exposed by this custom domain mapping.

Enum values:
api
dev-portal
cname
​string | null · required

The CNAME target for this deployment.

Example: todo-list-api-main-59eec11.zuplo.app

Zuplo.CustomDomains.CustomDomainEnvironmentType

string · enum
Enum values:
PRODUCTION
PREVIEW
WORKING_COPY

The environment type targeted by a custom domain deployment.

Zuplo.CustomDomains.CustomDomainMutationResult

The result of creating or updating a custom domain.
deploymentName
​string | null · required

The deployment associated with the hostname.

Example: todo-list-api-main-59eec11
hostname
​string · required

The hostname that was created or updated.

Example: api.example.com
stage
​Zuplo.CustomDomains.CustomDomainStage | null · enum · required

The stage exposed by the hostname.

Enum values:
api
dev-portal
ownershipVerification
​object | null · required

The DNS record required to verify domain ownership, if any.

Example: {"name":"_zuplo.api.example.com","type":"TXT","value":"zuplo-verification-token"}
cname
​string | null · required

The CNAME target for the custom domain, if any.

Example: todo-list-api-main-59eec11.zuplo.app

Zuplo.CustomDomains.CustomDomainProvider

string · enum
Enum values:
cloudflare
amazon
custom
alias

The provider backing a custom domain.

Zuplo.CustomDomains.CustomDomainStage

string · enum
Enum values:
api
dev-portal

The stage exposed by a custom domain.

Zuplo.CustomDomains.CustomDomainUpdateBody

Request body for updating a custom domain.
hostname
​string · required

The hostname to update.

Example: api.example.com
deploymentName
​string

The deployment to associate with the hostname.

Example: todo-list-api-main-59eec11
isDefault
​boolean

Whether this domain should be the default domain for the deployment.

Example: true

Zuplo.CustomDomains.CustomDomainsList

Response containing a paginated list of custom domains.

The custom domains returned for the account.

offset
​integer · uint32 · required

The number of records skipped.

Example: 0
limit
​integer · uint32 · required

The maximum number of records returned.

Example: 100

Zuplo.CustomDomains.OwnershipVerification

DNS record details used to verify domain ownership.
name
​string · required

The DNS record name to create.

Example: _zuplo.api.example.com
type
​string · required

The DNS record type to create.

Example: TXT
value
​string · required

The DNS record value to create.

Example: zuplo-verification-token

Zuplo.DeploymentStatus.DeploymentStatus

Status of a Zuplo project deployment, including the status, build results, and a URL to view more details.
status
​string · enum · required
Enum values:
SUCCESS
ERROR
IN_PROGRESS
Example: SUCCESS
url
​string · required
​object · required
​object · required

Zuplo.Deployments.Deployment

A single deployment of a Zup.
name
​string · required

The name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.

Example: lime-fox-main-bbe7540
url
​string · required
label
​string · required
urlParameter
​string · required
createdOn
​string · required
updatedOn
​string · required
loggingId
​string · required
accountName
​string · required
projectName
​string · required
state
​string · required
message
​string · enum · required
Enum values:
Example:
branchName
​string · required
environmentType
​string · required

Zuplo.Deployments.DeploymentsList

​Zuplo.Deployments.Deployment[] · required

Zuplo.Deploys.DeploymentResponse

status
​string · required

Zuplo.Deploys.SourceCreateBody

accountName
​string · required

The name of the account

Example: my-account
projectName
​string · required

The name of the project

Example: my-project
branchName
​string · required

The name of the branch for deployment

Example: main

Zuplo.Environments.Environment

The environment representing a Zup. This is mainly used in self-hosting deployments.
name
​string · required

The name of the environment.

Example: lime-fox-main-bbe7540
createdOn
​string · required
accountName
​string · required
projectName
​string · required
branchName
​string · required
environmentType
​string · enum · required
Enum values:
production
preview
development
Example: production

Zuplo.Environments.EnvironmentsList

Zuplo.HttpProblemDetails.BadRequestProblemResponse

type
​string · enum · required
Enum values:
https://httpproblems.com/http-status/400
title
​string · enum · required
Enum values:
Bad Request
detail
​string
instance
​string

Zuplo.HttpProblemDetails.ForbiddenProblemResponse

type
​string · enum · required
Enum values:
https://httpproblems.com/http-status/403
title
​string · enum · required
Enum values:
Forbidden
detail
​string
instance
​string

Zuplo.HttpProblemDetails.InternalServerErrorProblemResponse

type
​string · enum · required
Enum values:
https://httpproblems.com/http-status/500
title
​string · enum · required
Enum values:
Internal Server Error
detail
​string
instance
​string

Zuplo.HttpProblemDetails.NotFoundProblemResponse

type
​string · enum · required
Enum values:
https://httpproblems.com/http-status/404
title
​string · enum · required
Enum values:
Not Found
detail
​string
instance
​string

Zuplo.HttpProblemDetails.UnauthorizedProblemResponse

type
​string · enum · required
Enum values:
https://httpproblems.com/http-status/401
title
​string · enum · required
Enum values:
Unauthorized
detail
​string
instance
​string

Zuplo.MCP.McpServerCardDocument

$schema
​string · required
name
​string · required
version
​string · required
description
​string · required
title
​string
websiteUrl
​string

Zuplo.MCP.McpServerCardHeaderInput

name
​string · required
description
​string
isRequired
​boolean
isSecret
​boolean
placeholder
​string

Zuplo.MCP.McpServerCardRemote

type
​string · enum · required
Enum values:
streamable-http
sse
url
​string · required
supportedProtocolVersions
​string[]

Zuplo.OpenApiRoute.ApiSpec

An OpenAPI 3 document describing the Zuplo Developer API.
No data returned

Zuplo.Projects.Project

A single project.
name
​string · required

The name of the project

Example: lime-fox
accountName
​string · required

The name of the account this project belongs to

Example: lime-fox

Zuplo.Projects.ProjectCreateBody

The body of the project creation request.
name
​string · required

The name of the project

Example: lime-fox

Zuplo.Projects.ProjectsList

​Zuplo.Projects.Project[] · required

Zuplo.RuntimeLogs.RequestLogDetail

Detailed information about a single request, returned in the detail response.
requestId
​string · required

Unique identifier for the request.

timestamp
​string · date-time · required

ISO 8601 timestamp when the request was received.

httpMethod
​string · required

HTTP method of the request.

httpStatus
​integer · int32 · required

HTTP status code of the response.

routePath
​string · required

Matched route path on the deployment.

durationMs
​integer · int32 · required

End-to-end duration of the request in milliseconds.

colo
​string · required

Edge colo (point of presence) that served the request.

country
​string · required

ISO 3166-1 alpha-2 country code of the client.

city
​string · required

City the request was made from, when derivable from the client IP.

continent
​string · required

Continent code (e.g. NA, EU) of the client.

clientIp
​string · required

IP address of the client.

asOrganization
​string · required

AS organization (ISP name) for the client IP.

userSub
​string · required

Authenticated user/consumer subject for the request, or (anonymous) if unauthenticated.

systemRouteName
​string · required

Internal system route name (Zuplo-defined), if applicable.

zuploUserAgent
​string · required

User-Agent header captured by the Zuplo runtime.

Zuplo.RuntimeLogs.RequestLogDetailResponse

Response containing the request detail and all log entries for a single request.
​object · required

The request summary and contextual fields.

All log entries emitted during the request, ordered by emit time.

Zuplo.RuntimeLogs.RequestLogEntry

A single log entry emitted during a request.
logId
​string · required

Unique identifier for the log entry.

timestamp
​string · date-time · required

ISO 8601 timestamp when the log entry was emitted.

severity
​string · required

Severity of the log entry (debug, info, warn, error).

messages
​string[] · required

Ordered array of message strings for the entry.

​object · required

Structured attributes attached to the entry.

source
​string · required

Source that emitted the log (e.g. policy or handler name).

requestId
​string · required

Request ID this log entry belongs to.

atomicCounter
​integer · int32 · required

Monotonically increasing counter used to preserve emit order within a single request.

Zuplo.RuntimeLogs.RequestLogSummary

Summary information for a single request, returned in the list response. Mirrors the per-row shape returned by tenant-api's request-list query.
requestId
​string · required

Unique identifier for the request (correlation ID stamped by the gateway).

Example: c21fefe0-8938-4f17-8fb8-c844d68042f3
timestamp
​string · date-time · required

ISO 8601 timestamp when the request was received.

Example: 2026-05-14T12:00:00.000Z
httpMethod
​string · required

HTTP method of the request.

Example: GET
httpStatus
​integer · int32 · required

HTTP status code of the response.

Example: 200
routePath
​string · required

Matched route path on the deployment.

Example: /v1/items/:id
durationMs
​integer · int32 · required

End-to-end duration of the request in milliseconds.

Example: 42
colo
​string · required

Edge colo (point of presence) that served the request.

Example: SFO
country
​string · required

ISO 3166-1 alpha-2 country code of the client.

Example: US
maxSeverity
​string | null · required

Maximum log severity recorded during this request, or null if no logs were emitted.

Example: info
logCount
​integer · int32 · required

Total number of log entries recorded for this request.

Example: 3

Zuplo.RuntimeLogs.RequestLogsListResponse

Response listing request-log summaries for a deployment.

Array of request-log summaries, ordered most recent first.

​object · required

Pagination state for the result set.

Zuplo.RuntimeLogs.RequestLogsPagination

Pagination information for a request-log list page.
cursor
​string | null · required

Opaque cursor to pass as cursor on the next request to fetch the next page. Treat as a string the client does not introspect — the encoding is owned by tenant-api and can change. null when there is no further page.

hasMore
​boolean · required

Whether more results are available beyond this page.

Zuplo.Sources.Source

uploadUrl
​string · required

Zuplo.Tunnels.Tunnel

Tunnels allow you to expose services running on bare metal, on-premises, or other non-cloud providers to the Zuplo platform. [Further reading](https://zuplo.com/docs/articles/secure-tunnel).
tunnelId
​string · readOnly · required
name
​string · pattern: ^[a-zA-Z0-9-]{3,24}$ · required

A friendly name for the tunnel.

Example: api-service-tunnel
token
​string · readOnly · required

Set your TUNNEL_TOKEN to this value to connect to the tunnel.

Example: eyJhIjoiODJh[..]m89In0=

Zuplo.Tunnels.TunnelList

​Zuplo.Tunnels.TunnelListItem[] · required
limit
​integer · uint32
offset
​integer · uint32
total
​integer · uint32

Zuplo.Tunnels.TunnelListItem

id
​string · readOnly · required
name
​string · pattern: ^[a-zA-Z0-9-]{3,24}$ · required

A friendly name for the tunnel.

Example: api-service-tunnel

Zuplo.Tunnels.TunnelTeardownOperation

id
​string · readOnly · required
status
​string · enum · required
Enum values:
in-progress
success
error
Example: success
message
​string
details
​string

Zuplo.Tunnels.TunneledServiceConfiguration

Tunnel service configuration.
name
​string · pattern: ^[a-zA-Z0-9-]{3,24}$ · required

A friendly name for the service. This name needs to be unique across all your tunneled services. Changing this will invalidate existing services with the name.

Example: authservice
endpoint
​string · required

The URL of the service that the tunnel will forward to, e.g, http://localhost:3000

Example: https://localhost:3000
​object[] · required

A list of projects that should have access to this tunneled service under the service://name URL scheme.

Zuplo.Tunnels.TunneledServicesConfiguration

version
​integer · uint8 · required

The version of this configuration format.

Example: 1

A list of services that the tunnel will connect to.

Zuplo.Tunnels.TunneledServicesProvisioningOperation

id
​string · readOnly · required
status
​string · enum · required
Enum values:
in-progress
success
error
Example: success
message
​string
details
​string

Zuplo.Variables.Variable

branch
​string · readOnly · required
createdOn
​string · date-time · readOnly · required

When the item was created.

Example: 2023-04-18T05:54:34.408Z
updatedOn
​string · date-time · readOnly · required

When the item was last updated.

Example: 2023-04-20T05:54:34.408Z
name
​string · required

The name of the variable. Must be named in SCREAMING_SNAKE_CASE.

Example: APP_ENVIRONMENT_KEY
isSecret
​boolean · required

Whether the variable is a secret.

Example: true
value
​string · required

The value of the variable.

Zuplo.Variables.VariableCreateBody

name
​string · required

The name of the variable. Must be named in SCREAMING_SNAKE_CASE.

Example: APP_ENVIRONMENT_KEY
isSecret
​boolean · required

Whether the variable is a secret.

Example: true
value
​string · required

The value of the variable.

Zuplo.Variables.VariableUpdateBody

value
​string

The value of the variable.

Zuplo.WhoAmI.WhoAmI

sub
​string · required
account
​string
email
​string

Alignment

Alignment configuration for a plan or subscription.

Annotations

Set of key-value pairs managed by the system. Cannot be modified by user.
No data returned

BadRequestProblemResponse

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

CurrencyCode

string · minLength: 3 · maxLength: 3 · pattern: ^[A-Z]{3}$

Three-letter ISO4217 currency code. Custom three-letter currency codes are also supported for convenience.

Example: USD

CustomInvoicingTaxConfig

Custom invoicing tax config.
code
​string · required

Tax code.

The tax code should be interpreted by the custom invoicing provider.

CustomerSubscriptionOrderBy

string · enum
Enum values:
activeFrom
activeTo

Order by options for customer subscriptions.

DiscountPercentage

Percentage discount.
percentage
​number · double · min: 0 · max: 100 · required

The percentage of the discount.

Example: 50

DiscountUsage

Usage discount. Usage discount means that the first N items are free. From billing perspective this means that any usage on a specific feature is considered 0 until this discount is exhausted.
quantity
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The quantity of the usage discount.

Must be positive.

Discounts

Discount by type on a price
​object

The percentage discount.

​object

The usage discount.

DynamicPriceWithCommitments

Dynamic price with spend commitments.
type
​string · enum · required

The type of the price.

Enum values:
dynamic
multiplier
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The multiplier to apply to the base price to get the dynamic price.

Examples:

  • 0.0: the price is zero
  • 0.5: the price is 50% of the base price
  • 1.0: the price is the same as the base price
  • 1.5: the price is 150% of the base price
Default: 1
minimumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is committed to spend at least the amount.

maximumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is limited to spend at most the amount.

EntitlementOrderBy

string · enum
Enum values:
createdAt
updatedAt

Order by options for entitlements.

Feature

Represents a feature that can be enabled or disabled for a plan. Used both for product catalog and entitlements.
createdAt
​string · date-time · readOnly · required

Timestamp of when the resource was created.

Example: 2024-01-01T01:01:01.001Z
updatedAt
​string · date-time · readOnly · required

Timestamp of when the resource was last updated.

Example: 2024-01-01T01:01:01.001Z
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A key is a unique string that is used to identify a resource.

name
​string · required
id
​string · readOnly · pattern: ^[0-7][0-9A-HJKMNP-T… · required

Readonly unique ULID identifier.

Example: 01ARZ3NDEKTSV4RRFFQ69G5FAV
deletedAt
​string · date-time · readOnly

Timestamp of when the resource was permanently deleted.

Example: 2024-01-01T01:01:01.001Z
archivedAt
​string · date-time · readOnly

Timestamp of when the resource was archived.

Example: 2023-01-01T01:01:01.001Z
​object

Set of key-value pairs. Metadata can be used to store additional information about a resource.

Example: {"key":"value"}
meterSlug
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-…

A key is a unique string that is used to identify a resource.

Example: tokens_total
​object

Optional advanced meter group by filters. You can use this to filter for values of the meter groupBy fields.

Example: {"model":{"$in":["gpt-4","gpt-4o"]},"type":{"$eq":"input"}}

FeatureCreateInputs

Represents a feature that can be enabled or disabled for a plan. Used both for product catalog and entitlements.
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A key is a unique string that is used to identify a resource.

name
​string · required
​object

Set of key-value pairs. Metadata can be used to store additional information about a resource.

Example: {"key":"value"}
meterSlug
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-…

A key is a unique string that is used to identify a resource.

Example: tokens_total
​object

Optional advanced meter group by filters. You can use this to filter for values of the meter groupBy fields.

Example: {"model":{"$in":["gpt-4","gpt-4o"]},"type":{"$eq":"input"}}

FeatureOrderBy

string · enum
Enum values:
id
key
name
createdAt
updatedAt

Order by options for features.

FeaturePaginatedResponse

Paginated response
totalCount
​integer · required

The total number of items.

Example: 500
page
​integer · required

The page index.

Example: 1
pageSize
​integer · required

The maximum number of items per page.

Example: 100
​Feature[] · required

The items in the current page.

FilterString

A filter for a string field.
$eq
​string | null

The field must be equal to the provided value.

$ne
​string | null

The field must not be equal to the provided value.

$in
​array | null

The field must be in the provided list of values.

$nin
​array | null

The field must not be in the provided list of values.

$like
​string | null

The field must match the provided value.

$nlike
​string | null

The field must not match the provided value.

$ilike
​string | null

The field must match the provided value, ignoring case.

$nilike
​string | null

The field must not match the provided value, ignoring case.

$gt
​string | null

The field must be greater than the provided value.

$gte
​string | null

The field must be greater than or equal to the provided value.

$lt
​string | null

The field must be less than the provided value.

$lte
​string | null

The field must be less than or equal to the provided value.

​array | null

Provide a list of filters to be combined with a logical AND.

​array | null

Provide a list of filters to be combined with a logical OR.

FlatPrice

Flat price.
type
​string · enum · required

The type of the price.

Enum values:
flat
amount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The amount of the flat price.

FlatPriceWithPaymentTerm

Flat price with payment term.
type
​string · enum · required

The type of the price.

Enum values:
flat
amount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The amount of the flat price.

paymentTerm
​string · enum

The payment term of the flat price. Defaults to in advance.

Enum values:
in_advance
in_arrears
Default: in_advance

ForbiddenProblemResponse

The server understood the request but refuses to authorize it.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

GrantOrderBy

string · enum
Enum values:
id
createdAt
updatedAt

Order by options for grants.

InternalServerErrorProblemResponse

The server encountered an unexpected condition that prevented it from fulfilling the request.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

ListFeaturesResult

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = array
type = object · requires: totalCount, page, pageSize +1 more
Properties for Variant 1:
Represents a feature that can be enabled or disabled for a plan. Used both for product catalog and entitlements.
createdAt
​string · date-time · readOnly · required

Timestamp of when the resource was created.

Example: 2024-01-01T01:01:01.001Z
updatedAt
​string · date-time · readOnly · required

Timestamp of when the resource was last updated.

Example: 2024-01-01T01:01:01.001Z
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A key is a unique string that is used to identify a resource.

name
​string · required
id
​string · readOnly · pattern: ^[0-7][0-9A-HJKMNP-T… · required

Readonly unique ULID identifier.

Example: 01ARZ3NDEKTSV4RRFFQ69G5FAV
deletedAt
​string · date-time · readOnly

Timestamp of when the resource was permanently deleted.

Example: 2024-01-01T01:01:01.001Z
archivedAt
​string · date-time · readOnly

Timestamp of when the resource was archived.

Example: 2023-01-01T01:01:01.001Z
​object

Set of key-value pairs. Metadata can be used to store additional information about a resource.

Example: {"key":"value"}
meterSlug
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-…

A key is a unique string that is used to identify a resource.

Example: tokens_total
​object

Optional advanced meter group by filters. You can use this to filter for values of the meter groupBy fields.

Example: {"model":{"$in":["gpt-4","gpt-4o"]},"type":{"$eq":"input"}}

Metadata

Set of key-value pairs. Metadata can be used to store additional information about a resource.
string

Meter

A meter is a configuration that defines how to match and aggregate events.
id
​string · readOnly · pattern: ^[0-7][0-9A-HJKMNP-T… · required

A unique identifier for the resource.

Example: 01G65Z755AFWAKHE12NY0CQ9FH
createdAt
​string · date-time · readOnly · required

Timestamp of when the resource was created.

Example: 2024-01-01T01:01:01.001Z
updatedAt
​string · date-time · readOnly · required

Timestamp of when the resource was last updated.

Example: 2024-01-01T01:01:01.001Z
slug
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A unique, human-readable identifier for the meter. Must consist only alphanumeric and underscore characters.

Example: tokens_total
aggregation
​string · enum · required

The aggregation type to use for the meter.

Enum values:
SUM
COUNT
UNIQUE_COUNT
AVG
MIN
MAX
LATEST
Example: SUM
eventType
​string · minLength: 1 · required

The event type to aggregate.

Example: prompt
description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
deletedAt
​string · date-time · readOnly

Timestamp of when the resource was permanently deleted.

Example: 2024-01-01T01:01:01.001Z
name
​string · minLength: 1 · maxLength: 256

Human-readable name for the resource. Between 1 and 256 characters. Defaults to the slug if not specified.

eventFrom
​string · date-time

The date since the meter should include events. Useful to skip old events. If not specified, all historical events are included.

Example: 2023-01-01T01:01:01.001Z
valueProperty
​string · minLength: 1

JSONPath expression to extract the value from the ingested event's data property.

The ingested value for SUM, AVG, MIN, and MAX aggregations is a number or a string that can be parsed to a number.

For UNIQUE_COUNT aggregation, the ingested value must be a string. For COUNT aggregation the valueProperty is ignored.

Example: $.tokens
​object

Named JSONPath expressions to extract the group by values from the event data.

Keys must be unique and consist only alphanumeric and underscore characters.

Example: {"type":"$.type"}

MeterAggregation

string · enum
Enum values:
SUM
COUNT
UNIQUE_COUNT
AVG
MIN
MAX
LATEST

The aggregation type to use for the meter.

MeterCreate

A meter create model.
slug
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A unique, human-readable identifier for the meter. Must consist only alphanumeric and underscore characters.

Example: tokens_total
aggregation
​string · enum · required

The aggregation type to use for the meter.

Enum values:
SUM
COUNT
UNIQUE_COUNT
AVG
MIN
MAX
LATEST
Example: SUM
eventType
​string · minLength: 1 · required

The event type to aggregate.

Example: prompt
description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
name
​string · minLength: 1 · maxLength: 256

Human-readable name for the resource. Between 1 and 256 characters. Defaults to the slug if not specified.

eventFrom
​string · date-time

The date since the meter should include events. Useful to skip old events. If not specified, all historical events are included.

Example: 2023-01-01T01:01:01.001Z
valueProperty
​string · minLength: 1

JSONPath expression to extract the value from the ingested event's data property.

The ingested value for SUM, AVG, MIN, and MAX aggregations is a number or a string that can be parsed to a number.

For UNIQUE_COUNT aggregation, the ingested value must be a string. For COUNT aggregation the valueProperty is ignored.

Example: $.tokens
​object

Named JSONPath expressions to extract the group by values from the event data.

Keys must be unique and consist only alphanumeric and underscore characters.

Example: {"type":"$.type"}

MeterOrderBy

string · enum
Enum values:
key
name
aggregation
createdAt
updatedAt

Order by options for meters.

MeterQueryRequest

A meter query request.
clientId
​string · minLength: 1 · maxLength: 36

Client ID Useful to track progress of a query.

Example: f74e58ed-94ce-4041-ae06-cf45420451a3
from
​string · date-time

Start date-time in RFC 3339 format.

Inclusive.

Example: 2023-01-01T01:01:01.001Z
to
​string · date-time

End date-time in RFC 3339 format.

Inclusive.

Example: 2023-01-01T01:01:01.001Z
windowSize
​string · enum

If not specified, a single usage aggregate will be returned for the entirety of the specified period for each subject and group.

Enum values:
MINUTE
HOUR
DAY
MONTH
Example: DAY
windowTimeZone
​string

The value is the name of the time zone as defined in the IANA Time Zone Database (http://www.iana.org/time-zones). If not specified, the UTC timezone will be used.

Example: UTC
Default: UTC
subject
​string[] · maxItems: 100

Filtering by multiple subjects.

Example: {"0":"subject-1","1":"subject-2"}
filterCustomerId
​string[] · maxItems: 100

Filtering by multiple customers.

Example: {"0":"id-1","1":"id-2"}
filterSubscription
​string[] · maxItems: 100

Filtering by multiple subscriptions.

Example: {"0":"subscription-1","1":"subscription-2"}
​object

Simple filter for group bys with exact match.

Example: {"model":["gpt-4-turbo","gpt-4o"],"type":["prompt"]}
​object

Optional advanced meter group by filters. You can use this to filter for values of the meter groupBy fields.

Example: {"model":{"$in":["gpt-4","gpt-4o"]},"type":{"$eq":"input"}}
groupBy
​string[] · maxItems: 100

If not specified a single aggregate will be returned for each subject and time window. subject is a reserved group by value.

Example: {"0":"model","1":"type"}

MeterQueryResult

The result of a meter query.
​MeterQueryRow[] · required

The usage data. If no data is available, an empty array is returned.

from
​string · date-time

The start of the period the usage is queried from. If not specified, the usage is queried from the beginning of time.

Example: 2023-01-01T01:01:01.001Z
to
​string · date-time

The end of the period the usage is queried to. If not specified, the usage is queried up to the current time.

Example: 2023-01-01T01:01:01.001Z
windowSize
​string · enum

The window size that the usage is aggregated. If not specified, the usage is aggregated over the entire period.

Enum values:
MINUTE
HOUR
DAY
MONTH

MeterQueryRow

A row in the result of a meter query.
value
​number · double · required

The aggregated value.

windowStart
​string · date-time · required

The start of the window the value is aggregated over.

Example: 2023-01-01T01:01:01.001Z
windowEnd
​string · date-time · required

The end of the window the value is aggregated over.

Example: 2023-01-01T01:01:01.001Z
subject
​string | null · required

The subject the value is aggregated over. If not specified, the value is aggregated over all subjects.

​object · required

The group by values the value is aggregated over.

customerId
​string

The customer ID the value is aggregated over.

MeterUpdate

A meter update model. Only the properties that can be updated are included. For example, the slug and aggregation cannot be updated.
description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
name
​string · minLength: 1 · maxLength: 256

Human-readable name for the resource. Between 1 and 256 characters. Defaults to the slug if not specified.

​object

Named JSONPath expressions to extract the group by values from the event data.

Keys must be unique and consist only alphanumeric and underscore characters.

Example: {"type":"$.type"}

NotFoundProblemResponse

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

NotificationChannelOrderBy

string · enum
Enum values:
id
type
createdAt
updatedAt

Order by options for notification channels.

NotificationEventOrderBy

string · enum
Enum values:
id
createdAt

Order by options for notification channels.

NotificationRuleOrderBy

string · enum
Enum values:
id
type
createdAt
updatedAt

Order by options for notification channels.

Numeric

string · pattern: ^\-?[0-9]+(\.[0-9]+)…

Numeric represents an arbitrary precision number.

PackagePriceWithCommitments

Package price with spend commitments.
type
​string · enum · required

The type of the price.

Enum values:
package
amount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The price of one package.

quantityPerPackage
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The quantity per package.

minimumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is committed to spend at least the amount.

maximumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is limited to spend at most the amount.

Percentage

number · double

Numeric representation of a percentage

50% is represented as 50

Example: 50

Plan

Plans provide a template for subscriptions.
id
​string · readOnly · pattern: ^[0-7][0-9A-HJKMNP-T… · required

A unique identifier for the resource.

Example: 01G65Z755AFWAKHE12NY0CQ9FH
name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

createdAt
​string · date-time · readOnly · required

Timestamp of when the resource was created.

Example: 2024-01-01T01:01:01.001Z
updatedAt
​string · date-time · readOnly · required

Timestamp of when the resource was last updated.

Example: 2024-01-01T01:01:01.001Z
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A semi-unique identifier for the resource.

version
​integer · min: 1 · readOnly · required

Version of the plan. Incremented when the plan is updated.

Default: 1
currency
​string · minLength: 3 · maxLength: 3 · pattern: ^[A-Z]{3}$ · required

The currency code of the plan.

Example: USD
Default: USD
billingCadence
​string · duration · required

The default billing cadence for subscriptions using this plan. Defines how often customers are billed using ISO8601 duration format. Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).

Example: P1M
status
​string · enum · readOnly · required

The status of the plan. Computed based on the effective start and end dates:

  • draft = no effectiveFrom
  • active = effectiveFrom <= now < effectiveTo
  • archived / inactive = effectiveTo <= now
  • scheduled = now < effectiveFrom < effectiveTo
Enum values:
draft
active
archived
scheduled
​PlanPhase[] · minItems: 1 · required

The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses. A phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices.

​array | null · readOnly · required

List of validation errors.

paymentMethodRequired
​boolean · readOnly · required

Indicates whether a payment method is required to create a subscription with this plan. Computed based on whether ANY phase has billable items (rate cards with prices). Aligns with the subscription validator's billing setup check which checks all phases.

description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
deletedAt
​string · date-time · readOnly

Timestamp of when the resource was permanently deleted.

Example: 2024-01-01T01:01:01.001Z
​object

Default pro-rating configuration for subscriptions using this plan.

Default: {"enabled":true,"mode":"max_consumption_based"}
effectiveFrom
​string · date-time · readOnly

The date and time when the plan becomes effective. When not specified, the plan is a draft.

Example: 2023-01-01T01:01:01.001Z
effectiveTo
​string · date-time · readOnly

The date and time when the plan is no longer effective. When not specified, the plan is effective indefinitely.

Example: 2023-01-01T01:01:01.001Z

PlanCreate

Resource create operation model.
name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A semi-unique identifier for the resource.

currency
​string · minLength: 3 · maxLength: 3 · pattern: ^[A-Z]{3}$ · required

The currency code of the plan.

Example: USD
Default: USD
billingCadence
​string · duration · required

The default billing cadence for subscriptions using this plan. Defines how often customers are billed using ISO8601 duration format. Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).

Example: P1M
​PlanPhase[] · minItems: 1 · required

The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses. A phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices.

description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
​object

Default pro-rating configuration for subscriptions using this plan.

Default: {"enabled":true,"mode":"max_consumption_based"}

PlanOrderBy

string · enum
Enum values:
id
key
version
created_at
updated_at

Order by options for plans.

PlanPaginatedResponse

Paginated response
totalCount
​integer · required

The total number of items.

Example: 500
page
​integer · required

The page index.

Example: 1
pageSize
​integer · required

The maximum number of items per page.

Example: 100
​Plan[] · required

The items in the current page.

PlanPhase

The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses.
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A semi-unique identifier for the resource.

name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

duration
​string | null · duration · required

The duration of the phase.

Example: P1Y
​RateCard[] · required

The rate cards of the plan.

description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}

PlanReplaceUpdate

Resource update operation model.
name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

billingCadence
​string · duration · required

The default billing cadence for subscriptions using this plan. Defines how often customers are billed using ISO8601 duration format. Examples: "P1M" (monthly), "P3M" (quarterly), "P1Y" (annually).

Example: P1M
​PlanPhase[] · minItems: 1 · required

The plan phase or pricing ramp allows changing a plan's rate cards over time as a subscription progresses. A phase switch occurs only at the end of a billing period, ensuring that a single subscription invoice will not include charges from different phase prices.

description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
​object

Default pro-rating configuration for subscriptions using this plan.

Default: {"enabled":true,"mode":"max_consumption_based"}

PlanStatus

string · enum
Enum values:
draft
active
archived
scheduled

The status of a plan.

PreconditionFailedProblemResponse

One or more conditions given in the request header fields evaluated to false when tested on the server.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

PricePaymentTerm

string · enum
Enum values:
in_advance
in_arrears

The payment term of a flat price. One of: in_advance or in_arrears.

PriceTier

A price tier. At least one price component is required in each tier.
flatPrice
​object | null · required

The flat price component of the tier.

unitPrice
​object | null · required

The unit price component of the tier.

upToAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

Up to and including to this quantity will be contained in the tier. If null, the tier is open-ended.

ProRatingConfig

Configuration for pro-rating behavior.
enabled
​boolean · required

Whether pro-rating is enabled for this plan.

Default: true
mode
​string · enum · required

How to handle pro-rating for billing period changes.

Enum values:
max_consumption_based
Default: max_consumption_based

ProRatingMode

string · enum
Enum values:
max_consumption_based

Pro-rating mode options for handling billing period changes.

RateCard

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = object · type="flat_fee" · requires: key, name, billingCadence +1 more
type = object · type="usage_based" · requires: key, name, billingCadence +1 more
Properties for Variant 1:
A flat fee rate card defines a one-time purchase or a recurring fee.
type
​string · enum · required

The type of the RateCard.

Enum values:
flat_fee
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A semi-unique identifier for the resource.

name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

billingCadence
​string | null · duration · required

The billing cadence of the rate card. When null it means it is a one time fee.

price
​object | null · required

The price of the rate card. When null, the feature or service is free.

Example: {"type":"flat","amount":"100","paymentTerm":"in_arrears"}
description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
featureKey
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-…

The feature the customer is entitled to use.

​object

The entitlement of the rate card. Only available when featureKey is set.

​object

The tax config of the rate card. When undefined, the tax config of the feature or the default tax config of the plan is used.

​object

The discount of the rate card. For flat fee rate cards only percentage discounts are supported. Only available when price is set.

RateCardBooleanEntitlement

Entitlement template of a boolean entitlement.
type
​string · enum · required
Enum values:
boolean
​object

Additional metadata for the feature.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}

RateCardEntitlement

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = object · type="metered"
type = object · type="static" · requires: config
type = object · type="boolean"
Properties for Variant 1:
The entitlement template with a metered entitlement.
type
​string · enum · required
Enum values:
metered
​object

Additional metadata for the feature.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
isSoftLimit
​boolean

If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.

Default: false
issueAfterReset
​number · double · min: 0

You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance. If an amount is specified here, a grant will be created alongside the entitlement with the specified amount. That grant will have it's rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here. Manually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.

issueAfterResetPriority
​integer · uint8 · min: 1 · max: 255

Defines the grant priority for the default grant.

Default: 1
preserveOverageAtReset
​boolean

If true, the overage is preserved at reset. If false, the usage is reset to 0.

Default: false
usagePeriod
​string · duration

The interval of the metered entitlement. Defaults to the billing cadence of the rate card.

RateCardFlatFee

A flat fee rate card defines a one-time purchase or a recurring fee.
type
​string · enum · required

The type of the RateCard.

Enum values:
flat_fee
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A semi-unique identifier for the resource.

name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

billingCadence
​string | null · duration · required

The billing cadence of the rate card. When null it means it is a one time fee.

price
​object | null · required

The price of the rate card. When null, the feature or service is free.

Example: {"type":"flat","amount":"100","paymentTerm":"in_arrears"}
description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
featureKey
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-…

The feature the customer is entitled to use.

​object

The entitlement of the rate card. Only available when featureKey is set.

​object

The tax config of the rate card. When undefined, the tax config of the feature or the default tax config of the plan is used.

​object

The discount of the rate card. For flat fee rate cards only percentage discounts are supported. Only available when price is set.

RateCardMeteredEntitlement

The entitlement template with a metered entitlement.
type
​string · enum · required
Enum values:
metered
​object

Additional metadata for the feature.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
isSoftLimit
​boolean

If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.

Default: false
issueAfterReset
​number · double · min: 0

You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance. If an amount is specified here, a grant will be created alongside the entitlement with the specified amount. That grant will have it's rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here. Manually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.

issueAfterResetPriority
​integer · uint8 · min: 1 · max: 255

Defines the grant priority for the default grant.

Default: 1
preserveOverageAtReset
​boolean

If true, the overage is preserved at reset. If false, the usage is reset to 0.

Default: false
usagePeriod
​string · duration

The interval of the metered entitlement. Defaults to the billing cadence of the rate card.

RateCardStaticEntitlement

Entitlement template of a static entitlement.
type
​string · enum · required
Enum values:
static
config
​string · json · required

The JSON parsable config of the entitlement. This value is also returned when checking entitlement access and it is useful for configuring fine-grained access settings to the feature, implemented in your own system. Has to be an object.

Example: { "integrations": ["github"] }
​object

Additional metadata for the feature.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}

RateCardUsageBased

A usage-based rate card defines a price based on usage.
type
​string · enum · required

The type of the RateCard.

Enum values:
usage_based
key
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-… · required

A semi-unique identifier for the resource.

name
​string · minLength: 1 · maxLength: 256 · required

Human-readable name for the resource. Between 1 and 256 characters.

billingCadence
​string · duration · required

The billing cadence of the rate card.

​RateCardUsageBasedPrice | null · required

The price of the rate card. When null, the feature or service is free.

description
​string · maxLength: 1024

Optional description of the resource. Maximum 1024 characters.

​object | null

Additional metadata for the resource.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}
featureKey
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9]+(?:_[a-z0-…

The feature the customer is entitled to use.

​object

The entitlement of the rate card. Only available when featureKey is set.

​object

The tax config of the rate card. When undefined, the tax config of the feature or the default tax config of the plan is used.

​object

The discounts of the rate card.

Flat fee rate cards only support percentage discounts.

RateCardUsageBasedPrice

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = object · type="flat" · requires: amount
type = object · type="unit" · requires: amount
type = object · type="tiered" · requires: mode, tiers
type = object · type="dynamic"
type = object · type="package" · requires: amount, quantityPerPackage
Properties for Variant 1:
Flat price with payment term.
type
​string · enum · required

The type of the price.

Enum values:
flat
amount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The amount of the flat price.

paymentTerm
​string · enum

The payment term of the flat price. Defaults to in advance.

Enum values:
in_advance
in_arrears
Default: in_advance

ServiceUnavailableProblemResponse

The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

SortOrder

string · enum
Enum values:
ASC
DESC

The order direction.

StripeTaxConfig

The tax config for Stripe.
code
​string · pattern: ^txcd_\d{8}$ · required
Example: txcd_10000000

TaxBehavior

string · enum
Enum values:
inclusive
exclusive

Tax behavior.

This enum is used to specify whether tax is included in the price or excluded from the price.

TaxConfig

Set of provider specific tax configs.
behavior
​string · enum

Tax behavior.

If not specified the billing profile is used to determine the tax behavior. If not specified in the billing profile, the provider's default behavior is used.

Enum values:
inclusive
exclusive
​object

Stripe tax config.

​object

Custom invoicing tax config.

TieredPriceMode

string · enum
Enum values:
volume
graduated

The mode of the tiered price.

TieredPriceWithCommitments

Tiered price with spend commitments.
type
​string · enum · required

The type of the price.

One of: flat, unit, or tiered.

Enum values:
tiered
mode
​string · enum · required

Defines if the tiering mode is volume-based or graduated:

  • In volume-based tiering, the maximum quantity within a period determines the per unit price.
  • In graduated tiering, pricing can change as the quantity grows.
Enum values:
volume
graduated
​PriceTier[] · minItems: 1 · required

The tiers of the tiered price. At least one price component is required in each tier.

minimumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is committed to spend at least the amount.

maximumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is limited to spend at most the amount.

UnauthorizedProblemResponse

The request has not been applied because it lacks valid authentication credentials for the target resource.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

UnexpectedProblemResponse

A Problem Details object (RFC 7807). Additional properties specific to the problem type may be present.
type
​string · uri · required

Type contains a URI that identifies the problem type.

Example: about:blank
Default: about:blank
title
​string · required

A a short, human-readable summary of the problem type.

Example: Bad Request
detail
​string · required

A human-readable explanation specific to this occurrence of the problem.

Example: The request body must be a JSON object.
instance
​string · uri · required

A URI reference that identifies the specific occurrence of the problem.

Example: urn:request:local/JMOlctsKV8-000001
status
​integer · int16 · min: 400 · max: 599

The HTTP status code generated by the origin server for this occurrence of the problem.

Example: 400
​object

Additional properties specific to the problem type may be present.

Example: {"validationErrors":[{"code":"validation_error","message":"Validation error"}],"otherAttribute":"otherValue"}
No data returned

UnitPrice

Unit price.
type
​string · enum · required

The type of the price.

Enum values:
unit
amount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The amount of the unit price.

UnitPriceWithCommitments

Unit price with spend commitments.
type
​string · enum · required

The type of the price.

Enum values:
unit
amount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)… · required

The amount of the unit price.

minimumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is committed to spend at least the amount.

maximumAmount
​string · pattern: ^\-?[0-9]+(\.[0-9]+)…

The customer is limited to spend at most the amount.

ValidationError

Validation errors providing detailed description of the issue.
field
​string · readOnly · required

The path to the field.

Example: addons/pro/ratecards/token/featureKey
code
​string · readOnly · required

The machine readable description of the error.

Example: invalid_feature_key
message
​string · readOnly · required

The human readable description of the error.

Example: not found feature by key
​object · readOnly

Additional attributes.

Example: {"externalId":"019142cc-a016-796a-8113-1a942fecd26d"}

WindowSize

string · enum
Enum values:
MINUTE
HOUR
DAY
MONTH

Aggregation window size.