Skip to main content
POST
Check the instructions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

Body

application/json
systemPrompt
string

Check these instructions instead of the saved ones (a draft). Nothing is saved.

Maximum string length: 10000
modelId
string

Check the instructions for this model id (from GET /v1/agents/{agentId}/models) instead of the saved model.

refresh
boolean

Run the check again even when the same instructions were checked in the last 24 hours. Counts toward the daily limit.

Response

promptHash
string
required

Hash of the checked instructions and model; the cache key.

checkedAt
string
required
cached
boolean
required

True when the result is a replay of a check from the last 24 hours.

checkedBy
object
required
target
object
required
summary
string
required
findings
object[]
required
suggestedPrompt
string
required

The instructions with every applicable edit applied. A suggestion for a person to review before saving, never something to save automatically.

prompt
object
required