Skip to content
POST
/v1/runs
curl --request POST \
--url https://api.proxymail.qa/v1/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "Run", "source": "ci", "meta": { "repository": "acme/web", "branch": "example", "commit": "example", "pull_request": 1, "workflow": "example", "job_url": "https://example.com", "agent": "Claude Code" } }'

Groups a CI job or an agent session as one run, with a report for a pull request. Send its id in the Proxy-Mail-QA-Run header of later calls and each adds what it saw: addresses made, emails that arrived and how long after since, the code, a link’s site and path (never its query or anything that looks like a token), email checks, counts, and emails that never came or came when none should. Then finish it. Runs are kept 90 days, and the project’s people can open them in the app. The GitHub Action (https://proxymail.qa/docs/ci) does all of this for you.

Media typeapplication/json
object
name
string
default: Run <= 120 characters

Example

Sign-up tests
source

Where it runs. Default: agent for keys from an MCP sign-in, api for the rest.

string
Allowed values: ci agent api
meta
object
repository
string
<= 200 characters

Example

acme/web
branch
string
<= 200 characters
commit

A commit hash.

string
<= 64 characters /^[0-9a-fA-F]{7,64}$/
pull_request
integer
>= 1
workflow
string
<= 200 characters
job_url

An https:// link to the job.

string format: uri
<= 500 characters
agent
string
<= 200 characters

Example

Claude Code

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"
}
]
}
}

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"
}

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.

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.