Skip to content

Certify, revoke or deprecate a catalog entry

POST
/v1/workspaces/{workspaceId}/catalog/entries/{entryId}/certify
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.

workspaceId
required
string

Workspace ID or slug.

entryId
required
string
Media typeapplication/json
object
decision
required
string
Allowed values: certified revoked deprecated
note
string
<= 1000 characters
content_hash

Certification.content_hash of the version you reviewed

string

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

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>

Example

{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}

CONFLICT (entry changed since content_hash) or CATALOG_DISABLED