Board

Route input from the board’s input bar

Decides which project the input belongs to (or the home, for personal work), whether it is a new task, a question, or a steer for an open task, and splits an input that asks for several tasks into the person’s own words per task, each with a title. It reads the projects and open tasks you can see; it never starts work and never reaches a computer.

selected_task_id: the row the person points at; input about it steers it unless it asks about it. ? or "quick question" at the start makes it a question. When it is unclear whether the input is a task or a question, it is a question.

post/v1/router

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/router
  • Auth: HTTP bearer

Request body

textstring required
selected_task_idstring nullable

A task id (t_…).

organization_idstring uuid

UUIDv7, lowercase canonical form.

project_idstring uuid

UUIDv7, lowercase canonical form.

Response

Default Response

kind'task' | 'question' | 'steer' required
task_refstring nullable required

A task id (t_…).

confidencenumber required
uncertainboolean required

Show the project chip as uncertain (confidence below 0.6): one key fixes it.

forced'question' nullable required

question when the input started with ? or "quick question".

routed_by'model' | 'rules' required
latency_msinteger required

Changes

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