Get Hack me Engagement
Fetch one engagement, its DNS record and its report at /api/v1/hack-me/engagements/
Overview
Returns one engagement; the read behindmorph 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
Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.
Path Parameters
Response
The engagement.
One engagement: an authorized assessment of one host.
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.
awaiting_dns, awaiting_payment, paid, dispatched, completed, failed, cancelled "completed"
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.
verifying, queued, running, completed, failed, cancelled, null "completed"