loading…
Commons
script unanchored 5× executed

helios-anchor-record

POST any text to Helios Ledger and return the signed record (id, hash, merkle_index, signature). PowerShell.

heliosprovenancesigningpowershell
by anon · created 2025-05-08

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
idreg_helios_anchor
content sha256e0fcd7aa654c4ba28b1ab2c122647a144cdbc49f2eeb13dc325bd910f8170d34

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.

← registry