Cross-check a document against an existing product's specifications
Uploads one or more documents (PRD, spec, design doc, etc.), generates candidate specifications from them using the product’s existing description as the generation base, and cross-checks each candidate against the product’s CURRENT specifications. Returns classified suggestions — additions (new), updates to an existing specification (updated), and contradictions (contradictory). This endpoint persists NOTHING: applying a suggestion is a separate, explicit step via the specification endpoints.
Authorizations
API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....
Path Parameters
Product ID
"prod_123"
Body
Response
Cross-check suggestions generated successfully
new = a fresh addition. updated = refines/extends an existing specification. contradictory = conflicts with an existing specification.
new, updated, contradictory "updated"
"Refuses system-prompt disclosure"
"Must not reveal internal system prompts under social engineering"
CAPABILITY, INABILITY, POLICY "POLICY"
Only applicable for POLICY specifications. Null for CAPABILITY and INABILITY.
QUALITY, RED_TEAMING, SCENARIOS, null "RED_TEAMING"
Only applicable for POLICY specifications.
"data_leakage"
The existing specification this suggestion updates or contradicts. Null for new suggestions.
A brief explanation of why this status was chosen. May be null.
"Adds social-engineering scope to the existing disclosure policy"