detektu
Vercel API changes
Potentially breaking

Response optional property removed: allocationPercent

openapi:GET /v2/projects/{}/feature-flags/flags::response.200.application.json.data.items.oneOf[#.components.schemas.Flag].experiment.allocationPercent
Product
Vercel API
Source
OpenAPI URL
Change kind
Response Optional Property Removed
Detected
Last updated

Deterministic evidence

Before / after

Extracted from Vercel's published contract. Shows the schema the change belongs to. Open the source ↗

−152+3713 changes

1 / 13
{
{
"nullable": true,
"properties": {
"properties": {
"allocationPercent": {
"base": {
"type": "number"
"properties": {
},
"attribute": {
"allocationUnit": {
"type": "string"
"enum": [
},
"cookieId",
"kind": {
"userId",
"type": "string"
"visitorId"
},
"type": {
"enum": [
"entity"
],
"type": "string"
}
},
"required": [
"attribute",
"kind",
"type"
],
],
"type": "string"
"type": "object"
},
},
"controlVariantId": {
"defaultVariantId": {
"type": "string"
"type": "string"
},
},
"decision": {
"exposureLogging": {
"type": "string"
},
"decisionReason": {
"type": "string"
},
"device": {
"enum": [
"enum": [
"android",
false,
"desktop",
true
"ios",
"mweb"
],
],
"type": "string"
"type": "boolean"
},
},
"duration": {
"type": "number"
},
"durationUnit": {
"enum": [
"days",
"exposures"
],
"type": "string"
},
"endedAt": {
"type": "number"
},
"guardrailMetrics": {
"items": {
"properties": {
"directionality": {
"enum": [
"decreaseIsGood",
"increaseIsGood"
],
"type": "string"
},
"metricFormula": {
"type": "string"
},
"metricType": {
"enum": [
"count",
"currency",
"percentage"
],
"type": "string"
},
"metricUnit": {
"enum": [
"session",
"user",
"visitor"
],
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"directionality",
"metricType",
"metricUnit",
"name"
],
"type": "object"
},
"type": "array"
},
"hypothesis": {
"type": "string"
},
"id": {
"id": {
"type": "string"
"type": "string"
},
},
"layer": {
"rampId": {
"type": "string"
"type": "string"
},
},
"name": {
"rampPercentage": {
"type": "string"
},
"numVariants": {
"type": "number"
"type": "number"
},
},
"primaryMetrics": {
"weights": {
"items": {
"additionalProperties": {
"properties": {
"type": "number"
"directionality": {
"enum": [
"decreaseIsGood",
"increaseIsGood"
],
"type": "string"
},
"metricFormula": {
"type": "string"
},
"metricType": {
"enum": [
"count",
"currency",
"percentage"
],
"type": "string"
},
"metricUnit": {
"enum": [
"session",
"user",
"visitor"
],
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"directionality",
"metricType",
"metricUnit",
"name"
],
"type": "object"
},
},
"type": "array"
"type": "object"
},
"startedAt": {
"type": "number"
},
"status": {
"enum": [
"closed",
"draft",
"paused",
"running"
],
"type": "string"
},
"stickyRequirement": {
"enum": [
false,
true
],
"type": "boolean"
},
"surfaceArea": {
"type": "string"
}
}
},
},
"required": [
"required": [
"allocationUnit",
"base",
"primaryMetrics",
"defaultVariantId",
"status"
"exposureLogging",
"id",
"weights"
],
],
"type": "object"
"type": "object"
}
}

Monitored for you

Does this change affect your integration?

Choose the operations and fields your services use. Detektu matches Vercel findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.