Create a Measurement Project
Create a Measurement Project
Measurement projects are tenant-scoped. Create them with an admin token and external slugs; numeric database IDs are never part of the public contract.
await client.admin.measurement.projects.create({
projectSlug: "checkout-runway",
name: "Checkout Runway",
kind: "deadline_forecast",
series: [{
seriesSlug: "completed-work",
name: "Completed work",
unit: "points",
completionDirection: "increase",
source: "manual",
}],
target: {
targetSlug: "launch",
name: "Launch",
targetValue: 100,
targetDate: "2026-08-31T00:00:00Z",
state: "active",
},
});
Use the Admin API routes to add extra series, targets, decisions, or calibration exercises after the initial project exists.