Skip to main content
GET
Get a Hack me engagement

Overview

Returns one engagement; the read behind morph hackme info, watch and report. Gate on status, and on assessmentStatus once it is paid. While assessmentStatus is verifying, verification holds the DNS TXT record to publish. Once status is completed, report.findings holds the validated findings. Reading also runs a check that is due, such as looking for the DNS record or reading the assessment’s progress, so polling this route is enough to follow an engagement. Every 15 seconds is plenty: an assessment takes hours. See status values.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

id
string<uuid>
required

Identifies the engagement to read. Engagement id from the list response or from starting one.

Example:

"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16"

Response

The engagement.

One engagement: an authorized assessment of one host.

id
string<uuid>
required

Engagement id. Pass it to the other routes. A restart is a new attempt with its own id.

Example:

"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16"

hostname
string
required

The one host under test, lowercase. It is tested over HTTPS on port 443.

Example:

"app.example.com"

status
enum<string>
required

The field to act on. awaiting_payment: terms accepted, not paid; pay at the checkout route’s URL. paid: payment received; while assessmentStatus is verifying it waits for the DNS TXT record in verification, otherwise the assessment is being started. dispatched: the assessment started; assessmentStatus is queued or running. completed: report is ready. failed: the run failed; restart says whether it can run again at no charge. cancelled: cancelled before payment, stopped at your request, or refused (see refundReason). awaiting_dns: a draft from a retired flow that cannot be continued; cancel it.

Available options:
awaiting_dns,
awaiting_payment,
paid,
dispatched,
completed,
failed,
cancelled
Example:

"completed"

assessmentStatus
enum<string> | null
required

The assessment’s own status. verifying: waiting for the DNS TXT record. queued: waiting to start. running: testing, which takes hours. completed, failed and cancelled: the run ended. Null before payment and while a paid assessment is being started.

Available options:
verifying,
queued,
running,
completed,
failed,
cancelled,
null
Example:

"completed"

detail
string | null
required

One line on the current state, in plain text: why it is waiting (the DNS record not found yet, a delayed start, another assessment of the host running) or why it failed or was cancelled. Null when there is nothing to add.

Example:

null

verification
object | null
required

The DNS TXT record to publish. Set only while status is paid and assessmentStatus is verifying. Otherwise null.

Example:

null

agreementVersion
string
required

Version of the authorization terms accepted for this attempt.

Example:

"2026-12-02-v1"

authorizationAcceptedAt
string<date-time>
required

ISO 8601 time the authorization terms were accepted.

Example:

"2027-01-04T09:02:00.000Z"

paidAt
string<date-time> | null
required

ISO 8601 time of payment. Null until paid. A restart shows the payment it runs on.

Example:

"2027-01-04T09:05:00.000Z"

amountSubtotalCents
integer | null
required

The price before discount and tax, in US cents. Null until paid.

Example:

50000

amountDiscountCents
integer | null
required

Discount from a promotion code, in US cents. Null until paid.

Example:

0

amountTaxCents
integer | null
required

Sales tax Stripe charged from the billing address, in US cents. Null until paid. The example is illustrative.

Example:

0

amountTotalCents
integer | null
required

What was charged, in US cents: subtotal, less discount, plus tax. Null until paid. The example is illustrative.

Example:

50000

activity
object | null
required

The run’s stages and where each one is. Null until the run reports them.

Example:
completedAt
string<date-time> | null
required

ISO 8601 time the assessment ended: completed, failed or cancelled. Null before, and on an engagement cancelled before payment.

Example:

"2027-01-04T15:12:00.000Z"

createdAt
string<date-time>
required

ISO 8601 time the engagement was created.

Example:

"2027-01-04T09:02:00.000Z"

report
object | null
required

The findings. Set once status is completed. Otherwise null.

Example:
stopRequestedAt
string<date-time> | null
required

ISO 8601 time you cancelled the engagement or asked to stop it. While status is still paid or dispatched, the stop waits for the assessment service to confirm it, then status reads cancelled. Otherwise null.

Example:

null

attemptNumber
integer
required

1 for the paid run, then 2 and 3 for restarts (at most 3 attempts per payment).

Example:

1

attempts
object[]
required

Every attempt on this payment, oldest first, this one included.

Example:
restart
object | null
required

Set only on a failed attempt that no restart has replaced yet: whether it can run again at no charge. Otherwise null.

Example:

null

refundReason
string | null
required

Set when Morph will refund the payment because the assessment was refused, for example because the host no longer resolves only to public addresses. Plain text. Otherwise null.

Example:

null