Get canary settings
GET
/canary/settings
const url = 'https://example.com/api/v1/canary/settings';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/canary/settingsResponses
Section titled “Responses”Canary settings
Media typeapplication/json
object
enabled
required
Opt-in. When false the staged flow is hidden and start falls through to a plain sync.
boolean
defaultMaxBatchSize
required
integer
autoSelect
required
Allow least-critical auto-pick when no explicit or default canary is set.
boolean
defaultPartialPolicy
required
How a partial canary outcome is treated:
gate: pass-with-warning; continue to the verification gateabort: treat as failure; remaining instances are never touched
string
Example
{ "defaultPartialPolicy": "gate"}Failed to read canary settings
Media typeapplication/json
object
error
required
Error message
string
Examplegenerated
{ "error": "example"}