Skip to content
Docs

Get project daemons

GET/__remote/api.vercel.com/v1/projects/{idOrName}/daemons
List the daemons of a project.
/__remote/api.vercel.com/v1/projects/{idOrName}/daemons
const response = await fetch('/__remote/api.vercel.com/v1/projects/idOrName/daemons?limit=string&cursor=string&scopeType=string&scopeValue=string&teamId=string&slug=string', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{
"daemons": [
{
"config": {
"command": [],
"configuredInstances": "123",
"image": {
"requested": "string",
"resolved": "string"
},
"instances": "123",
"livenessProbe": {
"failureThreshold": "123",
"httpGet": {
"host": "string",
"httpHeaders": [
{
"name": "Example Name",
"value": "string"
}
],
"path": "string",
"port": "123",
"scheme": "HTTP"
},
"initialDelaySeconds": "123",
"periodSeconds": "123",
"successThreshold": "123",
"timeoutSeconds": "123"
},
"resources": {
"requests": {
"memory": "string"
}
},
"terminationGracePeriodSeconds": "123"
},
"createdAt": "string",
"deploymentId": "example_id",
"instances": {
"desired": "123",
"items": [
{
"alive": "false",
"id": "icfg_1234567890",
"image": "string",
"lastCheckedAt": "string",
"memoryMiB": "123",
"region": "string",
"startedAt": "string",
"stoppedAt": "string"
}
],
"ready": "123",
"total": "123"
},
"name": "Example Name",
"scope": {
"type": "target",
"value": "development"
},
"status": "ready",
"updatedAt": "string"
}
],
"pagination": {
"count": "123",
"next": "string"
}
}
AuthorizationbearerToken

Default authentication mechanism

idOrNamestringRequired
The unique project identifier or the project name
limitstringOptional
Maximum daemons to return (default: 10, max: 100)
cursorstringOptional
Pagination cursor
scopeTypestringOptional
Filter by scope type
scopeValuestringOptional
Filter by scope value (requires scopeType)
teamIdstringOptional
The Team identifier to perform the request on behalf of.
slugstringOptional
The Team slug to perform the request on behalf of.
200The daemons of the project and the pagination details.
daemonsarrayRequired
400One of the provided values in the request query is invalid. The scope filter is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404Error
410Error