Get a single published version's full body by id (admin history view).
Admin — requires `inject_identity` + `settings.view` + `has_access_to_realm` (same gate as `admin_list_agreements`, since this is a read of the same history the list already exposes). Returns 404 when the id does not resolve. The `realmId` path segment scopes the permission check; the version itself is looked up by primary key (history rows already surfaced by the list endpoint are guaranteed to belong to the realm or be the platform default).
Admin — requires inject_identity + settings.view + has_access_to_realm
(same gate as admin_list_agreements, since this is a read of the same
history the list already exposes). Returns 404 when the id does not resolve.
The realmId path segment scopes the permission check; the version itself is
looked up by primary key (history rows already surfaced by the list endpoint
are guaranteed to belong to the realm or be the platform default).
Path Parameters
Realm ID
Agreement version ID
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/legal/admin/string/agreements/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "agreement_type": "terms_of_service", "content": null, "effective_at": "2019-08-24T14:15:22Z", "external_url": "string", "mode": "full_text", "version_label": "string", "version_no": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}