Skip to content
This site documents the main branch, which may hold changes not yet released. Latest release: v0.3.0 (changelog).

Active overrides and effective settings per connection

GET
/capture/override
curl --request GET \
--url http://localhost:3000/capture/override \
--header 'Authorization: Bearer <token>'

The state.

Media typeapplication/json
object
workspace
required
Any of:
object
id
required
string
/^ovr_[A-Za-z0-9-]{1,64}$/
connectionId
required
Any of:
string
/^con_[A-Za-z0-9-]{1,64}$/
config
required
object
rates
object
key
additional properties
number
<= 100
rules
Array<object>
<= 50 items
object
match
required
string
>= 1 characters
status
string
Allowed values: delivered deferred soft_bounce hard_bounce complained failed invalid
delayMs
integer
<= 600000
smtpCode
integer
>= 400 <= 599
latency
object
minMs
required
integer
<= 600000
maxMs
required
integer
<= 600000
chaos
object
errorRate
required
number
<= 100
httpCodes
required
Array
default: 500 >= 1 items
smtpCodes
required
Array
default: 451 >= 1 items
rateLimit
object
limit
required
integer
> 0 <= 9007199254740991
windowSeconds
required
integer
default: 1 > 0 <= 9007199254740991
burst
integer
> 0 <= 9007199254740991
activatedVia
required
string
Allowed values: simulation api ui mcp
expiresAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
connections
required
Array<object>
object
id
required
string
/^ovr_[A-Za-z0-9-]{1,64}$/
connectionId
required
Any of:
string
/^con_[A-Za-z0-9-]{1,64}$/
config
required
object
rates
object
key
additional properties
number
<= 100
rules
Array<object>
<= 50 items
object
match
required
string
>= 1 characters
status
string
Allowed values: delivered deferred soft_bounce hard_bounce complained failed invalid
delayMs
integer
<= 600000
smtpCode
integer
>= 400 <= 599
latency
object
minMs
required
integer
<= 600000
maxMs
required
integer
<= 600000
chaos
object
errorRate
required
number
<= 100
httpCodes
required
Array
default: 500 >= 1 items
smtpCodes
required
Array
default: 451 >= 1 items
rateLimit
object
limit
required
integer
> 0 <= 9007199254740991
windowSeconds
required
integer
default: 1 > 0 <= 9007199254740991
burst
integer
> 0 <= 9007199254740991
activatedVia
required
string
Allowed values: simulation api ui mcp
expiresAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
effective
required
object
key
additional properties
object
rates
required
object
key
additional properties
number
<= 100
rules
required
Array<object>
default: <= 50 items
object
match
required
string
>= 1 characters
status
string
Allowed values: delivered deferred soft_bounce hard_bounce complained failed invalid
delayMs
integer
<= 600000
smtpCode
integer
>= 400 <= 599
latency
required
object
minMs
required
integer
<= 600000
maxMs
required
integer
<= 600000
openRate
required
number
0 <= 100
clickRate
required
number
0 <= 100

Example

{
"workspace": {
"config": {
"rules": [
{
"status": "delivered"
}
],
"chaos": {
"httpCodes": [
500
],
"smtpCodes": [
451
]
},
"rateLimit": {
"windowSeconds": 1
}
},
"activatedVia": "simulation"
},
"connections": [
{
"config": {
"rules": [
{
"status": "delivered"
}
],
"chaos": {
"httpCodes": [
500
],
"smtpCodes": [
451
]
},
"rateLimit": {
"windowSeconds": 1
}
},
"activatedVia": "simulation"
}
],
"effective": {
"additionalProperty": {
"rates": {
"delivered": 100
},
"rules": [],
"latency": {
"minMs": 0,
"maxMs": 0
},
"openRate": 0,
"clickRate": 0
}
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: validation_error

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: unauthorized

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

WWW-Authenticate
required

Sent with every 401.

string
Allowed value: Bearer

Sent with every 401.

Error: forbidden

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: internal_error

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.