Ask the reviewer model for the rubric checks of a profile whose pass conditions cannot both hold. A fix for a finding of one such check causes a finding of the other, so a review of a doc does not converge. It changes no profile.
POST
/profiles/conflicts
const url = 'https://example.com/api/v1/profiles/conflicts';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","checks":[{"slug":"example","question":"example","pass_when":"example","section":"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://example.com/api/v1/profiles/conflicts \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "checks": [ { "slug": "example", "question": "example", "pass_when": "example", "section": "example" } ] }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
The name of the doc type, such as Software Design Document.
string
checks
required
Array<object>
object
slug
required
string
question
required
string
pass_when
required
string
section
string
Examplegenerated
{ "name": "example", "checks": [ { "slug": "example", "question": "example", "pass_when": "example", "section": "example" } ]}Responses
Section titled “ Responses ”The conflicts. An empty list means the model found none.
Media typeapplication/json
object
conflicts
required
Array<object>
object
checks
required
One slug for a check that pulls against itself, or two or more for checks that pull against each other.
Array<string>
reason
required
string
Examplegenerated
{ "conflicts": [ { "checks": [ "example" ], "reason": "example" } ]}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}