Skip to content
openlaunch
Esc
↑↓navigate↵open⌘Jpreview

Report action result

Correlated outcome can be succeeded or failed. Request bodies are limited to 16 KiB, except authenticated Linux result uploads up to 64 KiB. Only desktop.screenshot may return up to 48 KiB of UTF-8 JSON; other results retain their 4096-character limit. Results must fit the workspace’s 16 MiB logical storage budget. Exact repeats are idempotent; conflicting repeats are rejected. Delivery does not guarantee exactly-once physical execution.

POST/v1/device/{deviceId}/result
Authorization
AuthorizationBearer token (device child credential) · headerrequired

Child device credential, independently revocable from its setup token.

Path parameters
deviceIdstring<uuid>required
Header parameters
x-openlaunch-workspacestringrequired

Workspace routing identifier for the device credential; not a secret.

matches ^[a-f0-9]{64}$
Request body
requiredapplication/json
actionIdstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
statusstringrequired
Allowed:succeededfailed
resultanyrequired
Responses
200

Successful response

dataActionReceiptrequired
Show properties
idstring<uuid>required
deviceIdstring<uuid>required
capabilitystringrequired
argsobjectrequired
statusstringrequired
Allowed:queuedreceivedsucceededfailedexpiredcancelledunknown
createdAtintegerrequired
expiresAtintegerrequired
dispatchedAtinteger
resultReceivedAtinteger

Server time in Unix milliseconds when the first terminal device result was saved. Preserved on identical retries; absent for older receipts. This is receipt delivery, not physical completion.

resultany
clientKeystringrequired

Internal idempotency key stored in the action ledger; included by request/get/result handler responses.

fingerprintstringrequired

Internal canonical request fingerprint; included by request/get/result and action history responses.

principalIdstringrequired

Principal identifier associated with the action.

ownerAuthorizedbooleanrequired

Internal provenance: true for an owner-originated action. False is normal for an accepted agent action whose live grants authorize it; it is not a missing-approval status. MCP receipts omit this field.

accessPolicystring

Policy principal that authorized this action when queued; dispatch re-checks the live chain for that policy before delivering.

accessConstraintsstring[]

Constraint principals (e.g. the original OAuth client of a linked membership) re-checked against their live policies at dispatch time.

400

Invalid request or validation failure

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
401

Missing or invalid credential

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
403

Insufficient access or grant

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
404

Resource not found

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
413

Request body exceeds the 16 KiB limit

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
429

Rate limit or workspace capacity limit

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
500

Internal error

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
503

Service or required integration is not configured

errorobjectrequired
Show properties
codestringrequired
messagestring
issuesobject[]
Show properties
Array of object
pathstring
messagestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://www.openlaunch.dev/v1/device/497f6eca-6276-4993-bfeb-53cbbbba6f08/result' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'x-openlaunch-workspace: string' \
  -H 'Content-Type: application/json' \
  -d '{
  "actionId": "4a2794ff-94cb-4bac-8d36-d5fb36c563a0",
  "status": "succeeded",
  "result": null
}'
Response
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "deviceId": "4de4adb9-21ee-47e3-aeb4-8cf8ed6c109a",
    "capability": "string",
    "args": {},
    "status": "queued",
    "createdAt": 0,
    "expiresAt": 0,
    "dispatchedAt": 0,
    "resultReceivedAt": 0,
    "result": null,
    "clientKey": "string",
    "fingerprint": "string",
    "principalId": "string",
    "ownerAuthorized": true,
    "accessPolicy": "string",
    "accessConstraints": [
      "string"
    ]
  }
}