Authorization: Bearer ********************{
"title": "Freshest KPI",
"type": "output",
"internshipProgramId": 16,
"targetValue": 100,
"fileFormat": "pdf",
"description": "description text",
"urlPattern": "https://uploads.example.com/{internId}/reports/{week}.pdf"
}
curl --location 'http://localhost:3000/api/v1/internship-kpis' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Freshest KPI",
"type": "output",
"internshipProgramId": 16,
"targetValue": 100,
"fileFormat": "pdf",
"description": "description text",
"urlPattern": "https://uploads.example.com/{internId}/reports/{week}.pdf"
}'{
"status": "Success",
"message": "KPI created successfully",
"data": {
"title": "Freshest KPI",
"type": "output",
"internshipProgramId": 16,
"targetValue": 100,
"fileFormat": "pdf",
"urlPattern": "https://uploads.example.com/{internId}/reports/{week}.pdf",
"id": 4,
"createdAt": "2025-07-17T10:59:51.125Z",
"updatedAt": "2025-07-17T10:59:51.125Z",
"deletedAt": null
}
}