Certify, revoke or deprecate a catalog entry
const url = 'https://shareout.site/v1/workspaces/example/catalog/entries/example/certify';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"decision":"certified","note":"example","content_hash":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shareout.site/v1/workspaces/example/catalog/entries/example/certify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "decision": "certified", "note": "example", "content_hash": "example" }'Owner/admin in a signed-in browser session only: certification is a human act, so bearer tokens (personal, Agent, MCP) get 403 SESSION_REQUIRED. Records an append-only decision on the entry’s current version (for kind metric, its normalized spec). The entry reads certified while its current version matches a certification made since the last revoke/deprecate; an edit shows it as changed since certification. Send the content_hash you reviewed to get 409 CONFLICT instead of deciding on a version you did not see.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Workspace ID or slug.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Certification.content_hash of the version you reviewed
Responses
Section titled “Responses”The new effective status, certification overlay and history
Invalid decision or note
FORBIDDEN (not an owner/admin) or SESSION_REQUIRED (a token, not a signed-in session)
Resource not found
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}CONFLICT (entry changed since content_hash) or CATALOG_DISABLED
