Menu

Get the data of a user-provided Edge Config

GEThttps://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config
When the user enabled Edge Config syncing, then this endpoint can be used by the partner to fetch the contents of the Edge Config.
https://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config
const response = await fetch('https://api.vercel.com/v1/installations/string/resources/string/experimentation/edge-config', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{
"items": "value",
"updatedAt": "123",
"digest": "string",
"purpose": "flags"
}
AuthorizationbearerToken

Default authentication mechanism

integrationConfigurationIdstringRequired
resourceIdstringRequired
The Edge Config data
itemsobjectRequired
updatedAtnumberRequired
digeststringRequired
purposestringOptional
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404Error
Get the data of a user-provided Edge Config | Vercel API