Events
training-completions
/api/v1/reporting/training-completionsCompleted training courses. The time window refers to completedAt. Load the last 7 days every day and replace that window; see Pagination and time windows.
Each time someone repeats a course, a new row is added.
locationId is the person's current home location, not the place where they completed the course. It is null if none is set.
Query parameters
fromdate | timestamp · optional · Default: 7 days before toYYYY-MM-DD (UTC day) or timestamp with a time zone, inclusive
todate | timestamp · optional · Default: nowYYYY-MM-DD (UTC day, inclusive) or timestamp with a time zone (exclusive). The window can span at most 92 days
limitinteger · optional · Default: 500Rows per page, 1 to 1000
cursorstring · optionalnextCursor of the previous page
Fields
idintegerCompletion ID
trainingIdintegerTraining ID
trainingTitlestringTitle of the training at the time of completion
trainingVersionintegerVersion at the time of completion
areaIdinteger · nullableID of the person's current area; null for organization accounts and removed people
areaNamestring · nullableName of that area
locationIdinteger · nullableID of the person's current home location, if one is set; null for organization accounts and removed people
locationNamestring · nullableName of that location
employeeIdintegerPerson who completed the training (employee ID)
employeeNamestring · nullableName of that person
completedAttimestampCompleted at
scoreinteger · nullableNumber of questions answered correctly; null if there were no questions
maxScoreinteger · nullableNumber of questions asked; null if there were no questions
Request
curl -G "https://www.gastrotodo.de/api/v1/reporting/training-completions" \
-d from=2026-11-24 \
-d to=2026-11-30 \
-H "Authorization: Bearer $GASTROTODO_API_KEY"Response
{
"data": [
{
"id": 55,
"trainingId": 88,
"trainingTitle": "Cash register training",
"trainingVersion": 2,
"areaId": 812,
"areaName": "Hamburg",
"locationId": 4011,
"locationName": "Harbor",
"employeeId": 9021,
"employeeName": "Mara Wolf",
"completedAt": "2026-11-27T10:00:00.000Z",
"score": 4,
"maxScore": 5
}
],
"nextCursor": null,
"meta": {
"dataset": "training-completions",
"count": 1,
"generatedAt": "2026-12-01T06:00:00.000Z",
"from": "2026-11-24T06:00:00.000Z",
"to": "2026-12-01T06:00:00.000Z"
}
}