Today
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
POST | |
GET | |
GET | |
GET |
Retrieve today briefing
Today's personal briefing: a short text about up to 5 items and the same items for the left bar. A new one is written every morning from 8:00 local time. Starts generating today's when there is none yet and returns it as 'collecting'. While a refresh is being written, the ready briefing is returned as 'writing', so it can stay on screen; poll again after a few seconds. 404 when the person gets no briefing: the flag is off, the organization has not approved AI data processing, or it is out of AI credits.
Required API key scopes
today:readQuery parameters
- timezonestring
Response
Example request
GET /api /projects /:project_id /today /briefingExample response
Status 200
Create today briefing refresh
Regenerate today's briefing. The ready briefing stays on screen until the new one is written.
Required API key scopes
today:writeQuery parameters
- timezonestring
Response
Example request
POST /api /projects /:project_id /today /briefing /refreshExample response
Status 200
Retrieve today candidates
The items behind today's briefing, with the facts and the reason for each, without the written text.
Required API key scopes
today:readQuery parameters
- timezonestring
Response
Example request
GET /api /projects /:project_id /today /candidatesExample response
Status 200
Create today excerpt choice
Asks the decision model which of several code excerpts shows what a finding describes. Returns null when it is unsure. 404 when the person may not use Jev.
Required API key scopes
today:readRequest parameters
- findingstring
- excerptsarray
Response
Example request
POST /api /projects /:project_id /today /excerpt_choiceExample response
Status 200
Status 503 The decision model is unavailable.
Retrieve today reports figure marks
The numbers in the report's lead and impact sentence that a signal or the agent's research states, each with the sentence that states it. A number is marked only when the decision model is sure it is a measured result and that one source states the same result. 404 when the report is missing or the person may not use Jev.
Required API key scopes
today:readtask:readPath parameters
- report_idstring
Response
Example request
GET /api /projects /:project_id /today /reports /:report_id /figure_marksExample response
Status 200
Status 503 The decision model is unavailable.
Retrieve today reports key clauses
The clauses in the report page's lead, impact sentence and proposal that state the problem, its cause or the fix, each with sentences from the report that explain it. Only clauses the report explains further are returned, at most 2 across all texts. 404 when the report is missing or the person may not use Jev.
Required API key scopes
today:readtask:readPath parameters
- report_idstring
Query parameters
- include_impactbooleanDefault:
true
Response
Example request
GET /api /projects /:project_id /today /reports /:report_id /key_clausesExample response
Status 200
Status 503 The decision model is unavailable.
Retrieve today reports page
What the Today report page shows for a report: its lead, the proposal and the impact sentence cut to whole sentences, and the pull request it names. Sample report ids return the built-in sample reports. 404 when the report is missing or the person does not have the new navigation. 403 when the person may not read Inbox reports, and a scoped key needs task:read as well, because the page shows the report's signals.
Required API key scopes
today:readtask:readPath parameters
- report_idstring
Response
Example request
GET /api /projects /:project_id /today /reports /:report_id /page