# Drift · tasks and proactivity — neuraldeep.tech API

> One section of the machine-readable reference. All sections: https://neuraldeep.tech/llms.txt · everything in one file: https://neuraldeep.tech/llms-full.txt

Base URL: `https://drift.neuraldeep.tech/v1`
Auth: `Authorization: Bearer dft_...`

Drift can schedule tasks (cron/once) and initiate a dialog itself when something changes or a deadline approaches. Internally the agent uses three tools: `proactive_notify` (message the user), `proactive_reschedule` (postpone), `proactive_skip` (skip without a message). UI — in [neuraldeep.ru/driftagent](https://neuraldeep.ru/driftagent) → "Tasks". API:

```bash
# create a task
curl -X POST https://drift.neuraldeep.tech/v1/tasks \
  -H "Authorization: Bearer dft_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Check email at 9 a.m.",
    "schedule": "0 9 * * *",
    "prompt": "Look at new emails in Gmail and summarize the important ones",
    "active": true
  }'

# list tasks
curl https://drift.neuraldeep.tech/v1/tasks -H "Authorization: Bearer dft_xxxxxxxx"

# run now
curl -X POST https://drift.neuraldeep.tech/v1/tasks/{task_id}/run \
  -H "Authorization: Bearer dft_xxxxxxxx"

# delete
curl -X DELETE https://drift.neuraldeep.tech/v1/tasks/{task_id} \
  -H "Authorization: Bearer dft_xxxxxxxx"
```

> Schedule — standard cron syntax (5-field). Drift checks tasks once a minute. If in proactive output you call `proactive_skip` — no push goes to the user, and the task is marked "skipped". `proactive_reschedule(seconds=N)` — shifts the next run without changing the cron.
