Skip to content
POST
/v1/runs/{run}/finish
curl --request POST \
--url https://api.proxymail.qa/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/finish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "failed": false }'

Passed, unless an email was missing, one came when none should have, an email check failed, a note or a test failed it, or failed: true says your tests failed. Finishing a finished run changes nothing.

run
required
string format: uuid
<= 36 characters
Media typeapplication/json
object
failed
boolean

The run

Media typeapplication/json
object
id
string format: uuid
name
string
source
string
Allowed values: ci agent api
status
string
Allowed values: running passed failed
meta
object
started_at
string format: date-time
finished_at
string | null format: date-time
url

The run in the app.

string format: uri
project
object
id
string
name
string
events

What the run saw, oldest first. Not in lists.

Array<object>
object
at
string format: date-time
kind
string
Allowed values: address email missing none count checks note checkout test unsubscribe offers coupon
address
string | null
failed
boolean
detail

Email: type, subtype, service, received_at, after_seconds, and code (with a coupon’s discount) or link and goes_to ({ site, path }). missing: what was waited for and hint. none: arrived, since, until, and the email (type, subtype, category). count: count. checks: the email (type, subtype, category), passed, failed, warnings, notes and spam_score. checkout: tags and until. test: name, status, duration_ms and error, or totals. unsubscribe: action, sender and watches. offers: sender, reused and variants (never the codes). coupon: code, result, message, discount_applied and verdict. note: text.

object
checked

Only in a single run: how many results it recorded, such as emails that arrived, email checks and tests. At 0 the run can still say passed, as nothing failed, but nothing was checked.

integer
deliverability

Only in a single run that checked any email: how many emails were checked, how many look likely to be rejected or filed as spam, may go to spam, carry a harmful attachment, and the lowest inbox score out of 10 (10 is good). With the project’s spam checks off, only checked counts: the others are 0 and the scores null.

object
checked
integer
likely_spam
integer
may_spam
integer
harmful_attachments
integer
lowest_inbox_score

The lowest inbox score out of 10 among them (10 is good).

number | null
highest_spam_score

Deprecated: the highest spam points; use lowest_inbox_score.

number | null
comparison

Only in a single run: how it differs from up to 10 finished runs before it with the same name; null without any.

object
runs

How many earlier runs it was compared with.

integer
changes
Array<object>
object
kind
string
Allowed values: new_failure not_run fixed slower count flaky new_step sender site
text

Words, { code } for a value, or { quote } for text from an email or client.

Array

Example

{
"source": "ci",
"status": "running",
"events": [
{
"kind": "address"
}
],
"comparison": {
"changes": [
{
"kind": "new_failure"
}
]
}
}

No API key, or one that isn’t valid: it may have been revoked, or its creator no longer has access to the project.

Media typeapplication/json
object
error

What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}
WWW-Authenticate
string

Bearer realm="proxymail-qa", with error="invalid_token" when a key was sent but isn’t valid.

An error

Media typeapplication/json
object
error

What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}

The request body is over 64 KB, or 256 KB for POST /v1/form-values.

Media typeapplication/json
object
error

What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}

Too many requests. With a Retry-After header, a per-minute limit was reached: the key’s requests (60 a minute on Free, 600 on Team), password reveals (30 a minute per person), or keys that aren’t valid from one network (120 a minute). Without one, error says which longer limit: daily_limit, the space’s new addresses for today (50 on Free), until midnight UTC; account_held, 10 addresses a day while a Free account’s recent use is looked at; or rate_limited when something is full, such as a project’s 50 custom fields.

Media typeapplication/json
object
error

What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).

string
message

What went wrong and what to do, in words.

string

Example generated

{
"error": "example",
"message": "example"
}
Retry-After
integer
>= 1

Seconds to wait before trying again. Sent with per-minute limits only.