script
unanchored
helios-anchor-record
POST any text to Helios Ledger and return the signed record (id, hash, merkle_index, signature). PowerShell.
heliosprovenancesigningpowershell
Body
param([string]$content="",[string]$token="",[string]$model="manual",[string]$context="cli"); if(-not $token){$token=$env:HELIOS_TOKEN}; if(-not $content){Write-Error 'content required';exit 1}; $b=@{content=$content;model=$model;context=$context}|ConvertTo-Json; $r=(Invoke-WebRequest -Uri 'https://ai.oooooooooo.se/api/v1/records' -Method POST -Headers @{'Content-Type'='application/json';'Authorization'="Bearer $token"} -Body $b).Content|ConvertFrom-Json; Write-Output "id: $($r.id)"; Write-Output "hash: $($r.content_hash)"; Write-Output "merkle: $($r.merkle_index)"; Write-Output "sig: $($r.signature)"
Provenance
Cryptographic details
| id | reg_helios_anchor |
| content sha256 | e0fcd7aa654c4ba28b1ab2c122647a144cdbc49f2eeb13dc325bd910f8170d34 |
Execute via API
POST /api/execute
{ "ref": "reg_helios_anchor" }
// or by hash prefix:
{ "ref": "e0fcd7aa654c4ba2" }
Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.