Get Registry Op
GET/ops/registry/:name
Return the most-recently upserted version of a single op entry from the registry by name.
Scoped to what the caller may see: global ops plus the caller's own workspaces' custom ops. When a name exists both globally and in a workspace, the workspace-scoped op is preferred.
Pass ?workspace_id= (membership-enforced) to resolve deterministically
against exactly one workspace + the global namespace — use it when the caller
belongs to several workspaces that each define the same op name, where the
default (latest across all visible workspaces) would be ambiguous.
"Latest" is determined by updated_at DESC — updated_at refreshes on every upsert, so whichever version row was last written wins. This holds while seeding writes everything in a single scan_all() pass. If manual inserts or partial re-seeds ever add an older version row after a newer one exists, updated_at ordering may return the wrong version; true semver ordering would require a Postgres SPLIT_PART sort on the version string.
Request
Responses
- 200
- 403
- 404
- 422
Successful Response
Forbidden
Not Found
Validation Error