Register Runtime Version
Register a new runtime image version.
Called by the release-runtime CI workflow after building and
pushing a runtime image to the container registry. Creates or
updates the version record in the shared SurrealDB namespace.
Authenticated against the Pragmatiks Console Clerk realm — only a
ConsoleMachine M2M token is accepted. Customer-realm tokens are
rejected at the Clerk SDK layer (wrong JWKS); ConsoleUser session
tokens are rejected with 403 by require_console_machine.
Args: body: Runtime version registration payload. service: Shared-namespace RuntimeVersionService for persistence. machine: Authenticated ConsoleMachine performing the release.
Returns: The persisted RuntimeVersion record.
Documentation Index
Fetch the complete documentation index at: https://docs.pragmatiks.io/llms.txt
Use this file to discover all available pages before exploring further.
Body
Request body for registering a new runtime version.
Attributes:
version: Semver version string (e.g., "0.40.0").
image_url: Full container image URL for this runtime version
(e.g., europe-west4-docker.pkg.dev/.../pragma-runtime:0.40.0).
changelog: Optional release notes in markdown.
Response
Successful Response
A tracked runtime image version.
Identity fields (frozen): version: Semver string (e.g., "0.39.0"), used as SurrealDB record ID.
Metadata: image_url: Full container image URL for this runtime version. released_at: Timestamp when this version was released. changelog: Optional release notes in markdown.