Get the version
The build the API is running. No key needed.
GET
https://api.trymorse.ai/v1/versionReturns the running build. It needs no key and costs nothing.
This endpoint needs no key. See Authentication for the others.
curl https://api.trymorse.ai/v1/version{
"version": "v1.4.0",
"pins": "pins@ed3a680"
}Response
The build.
versionstringRequiredThe running build, the same value as the X-Morse-Version header.
pinsstringThe revision of the attestation data this build checks enclaves against. Absent when the build has none.
vendor_pinsstringWhat the answering instance's enclave does with a newer signed set of vendor pins: off fetches none, log verifies and logs it, and enforce takes it. Absent behind a worker that runs no vendor pins loader, and until the relay first reads the mode from its worker.
One of
off,log, orenforce.
Response headers
| Header | What it says |
|---|---|
X-Morse-Version | The running build. Every reply carries it. |