Aex Brain
ReferenceAPI

Complete a host command

POST/v1/hosts/{host_id}/results

Authorization

hostToken
AuthorizationBearer <token>

The scoped token returned by POST /v1/hosts, sent as Authorization: Bearer . Identifies this registered host; do not substitute the server API token.

In: header

Path Parameters

host_id*string
Match^host_[A-Za-z0-9]{20,32}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/hosts/string/results" \  -H "Authorization: Bearer YOUR_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "sequence": 1,    "session_id": "string",    "update": {      "outcome": {        "status": "ok",        "value": true      },      "type": "result"    }  }'
{  "sequence": 1}