Sleep every computer and database in the project at once, each as POST /v1/computers/{cmp}/sleep or POST /v1/databases/{db}/sleep would.
curl -X POST "https://api.nevia.cloud/v1/projects/01ck8y1dm5qqnf88mytnh4m0h4g/sleep" \
-H "Authorization: Bearer $TOKEN"{
"project": {
"id": "01ck8y1dm5qqnf88mytnh4m0h4g",
"workspace": "01d4cnjjq40hnnh0nwmkg35nv2h",
"name": "agent-evals",
"created_at": "2026-09-10T12:34:56Z",
"updated_at": "2026-09-10T12:34:56Z"
},
"operations": [
"01d4cnjm89yk0r3xtv80dy0x7by"
]
}Authorization
bearerAuth Send the token in the Authorization: Bearer <token> header. See Authenticate.
In: header
Path Parameters
Project id: 27 lowercase letters and digits.
^[A-Za-z0-9_-]{1,64}$Behavior
Each member gets the result its own call would give: one already sleeping with nothing pending is done, and one that cannot sleep right now fails with its own error. When every member is done the response is 200 with the project. Otherwise it is 202 with a project.sleep operation, which finishes when the members' own operations do. If any member fails, the operation ends failed with error.details.members holding each failed member's id and error, and the other members stay done. Repeating the request while that operation runs returns 202 with the same operation.
Response
application/jsonThe project, with every member sleeping.
Grant project access
Grant a principal that has signed in at least once a role on the project, or change the one it has, reaching every computer and database in the project with no workspace role needed.
Wake a project
Wake every computer and database in the project at once, each as `POST /v1/computers/{cmp}/wake` or `POST /v1/databases/{db}/wake` would.