Vercel runtime logs REST API returning empty

Tried hitting REST API with bearer token https://api.vercel.com/v1/projects/<test_project_id>/deployments/<dep_id>/runtime-logs?teamId=<team_id>&slug=<proj_slug>

{
    "message": "Exceeded query duration limit of 5 minutes",
    "messageTruncated": false,
    "source": "delimiter",
    "level": "error",
    "rowId": "",
    "domain": "",
    "timestampInMs": 1756817565844,
    "requestMethod": "",
    "requestPath": "",
    "responseStatusCode": 0
}

Expected: To Get the dashboard stream of logs via REST API

The endpoint to get logs for a deployment returns a stream rather than a historical list of existing logs, so you’ll need to make sure whatever tool you’re using is set up to handle the stream

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.