# Streak evidence

> API type: streak. Own-platform only. A day counts when your server reports the streak’s daily activity that day.

Source: https://dashboard.adquest.io/docs/quest-evidence/streak · Audience: Developers · Section: Quest evidence

## What you do

1. Report the streak’s daily activity from your server whenever the user does it. Sending it more than once a day is fine: a day counts once.
2. AdQuest counts one day per local day in the streak’s timezone, applies the missed-day rule (reset or freeze) and settles the reward on the last day.
3. Show progress with getStreakStatus(questId): currentDay, dayCount, unlocked, nextUnlockAt and lastCompletedDay.

**Report today’s activity — using reportActivities from Report activities**

```typescript
await reportActivities([
  { id: "lesson_" + lessonId, type: "lesson.completed", user: externalUserId, occurred_at: Math.floor(Date.now() / 1000) },
]);
```

> **There is no complete call.** Every user of your platform is in the streak from the moment it goes live. A complete request on a streak quest returns STREAK_SETTLES_ITSELF: the last day settles it.

## Check before publishing

- Report twice on the same local day and check that one day counts.
- Skip a day and check that reset or freeze matches the quest.
- Check that only the last day pays the full reward.
- Send occurred_at as the real time of the action: it decides which local day counts.

## Next steps

- [Report activities](https://dashboard.adquest.io/docs/quest-evidence/activities): The signed call, its fields and its answers.
- [Quest evidence overview](https://dashboard.adquest.io/docs/quest-evidence): What each quest format needs.
- [Set up this quest in the dashboard](https://dashboard.adquest.io/docs/dashboard/quests/streak): For publishers: configure and publish the quest.
