Elicit Routines API
Schedule a recurring instruction against an existing Research Agent session, manage its lifecycle, inspect its run history, or request an immediate run. ### Conventions - Routines are available to eligible Pro, Scale, and Enterprise accounts. A `403` response indicates whether API access or routines are unavailable. - API keys act as their user. Session owners and editors can manage a routine; readers can list it, retrieve it, and inspect its runs. Only the routine owner can change `ownerNotificationLevel`. - An inaccessible routine or session returns `404` so its existence is not disclosed. - Schedules are daily or weekly in an IANA time zone. Pausing stops future scheduled occurrences; resuming restores the schedule. Archiving removes the schedule but preserves the routine and its run history. Restoring an archived routine leaves it paused, so call resume separately when it should run again. - Creating, updating, resuming, or immediately running a routine can be refused when the attached session owner's plan does not include routines. Creation, resume, and immediate runs also require that owner to be able to run agent work. Pause, archive, and restore remain available to eligible managers. - Each executed immediate run consumes an agent turn. Accepted requests may be skipped if another run starts before processing; skipped requests do not appear in run history. Only one manual request may be queued or running at a time; another request returns `409 routine_run_already_pending`. - List cursors are opaque and bound to their filters and sort. Run-history cursors are also bound to the routine. Pass `nextCursor` back unchanged and stop when it is `null`.