GET
/
projects
/
{projectId}
/
logs-presets
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel();

async function run() {
  const result = await vercel.getProjectsProjectIdLogsPresets({
    projectId: "<id>",
  });

  // Handle the result
  console.log(result);
}

run();
[
  {
    "id": "ABCDEFG000011111",
    "data": {
      "query": "<string>",
      "creatorId": "<string>",
      "title": "<string>",
      "groupId": "<string>",
      "ownerId": "<string>",
      "projectId": "<string>",
      "createdAt": 123
    }
  }
]

Path Parameters

projectId
string
required

Response

200
application/json

The response is of type object[].