user

Leniently check whether a to-do task supports the focus intention. Only flags clear conflicts so the client can prompt the user to reconcile (backend#2340); fails open to aligns=true on any AI error.

post/user/task-intention-check

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

intentionstring required

The focus intention the user set for this session.

task_namestring required

The name of the task the user is (or is about to be) working on.

focus_modestring

Optional focus mode name for extra context.

Response

alignsboolean required

Whether the task supports the focus intention. Lenient: true unless clearly conflicting.

reasonstring required

Short, kind, user-facing sentence localised to the user's language. When aligns=false it names both the intention and the task; when aligns=true it may be a brief confirmation or empty.

Changes

No recorded changes to this operation across all 1 revision of this API.