v1
latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KBOperation
List operations
Retrieves a list of operations for the specified Neon project. The number of operations returned can be large. To paginate the response, issue an initial request with a limit value. Then, add the cursor value that was returned in the response to the next request. Operations older than 6 months may be deleted from our systems. If you need more history than that, you should store your own history.
get/projects/{project_id}/operations
Path parameters
project_idstring required
The Neon project ID
Query parameters
cursorstring
Specify the cursor value from the previous response to get the next batch of operations
limitinteger
Specify a value from 1 to 1000 to limit number of operations in the response
Response
Returned a list of operations
Example response
{
"operations": [
{
"id": "d8ac46eb-a757-42b1-9907-f78322ee394e",
"project_id": "spring-example-302709",
"branch_id": "br-wispy-meadow-118737",
"endpoint_id": "ep-silent-smoke-806639",
"action": "start_compute",
"status": "finished",
"failures_count": 0,
"created_at": "2022-11-15T20:02:00Z",
"updated_at": "2022-11-15T20:02:02Z",
"total_duration_ms": 200
}
],
"pagination": {
"cursor": "2022-12-07T00:45:05.262011Z"
}
}