Today
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
GET | |
GET | |
GET |
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 highlights
The project's key metrics and up to 6 ranked items, each labeled risk or opportunity. Queries, rules and copy templates make every item; no AI is used. The highlights are computed in the background and stay fresh for 15 minutes per person, or 1 minute when a source failed. The call never waits: while they are computed, it returns computing with the last ready highlights of the day, so poll every 2 seconds until the status is ready or failed. 404 when the person does not have the new navigation. A scoped key needs query:read as well, because every highlight runs a query.
Required API key scopes
today:readquery:readResponse
Example request
GET /api /projects /:project_id /today /highlightsExample response
Status 200
Retrieve today pulse pins
The numbers the person keeps at the start of the key numbers on their home, in order. Suggestions fill the free places. 404 when the person does not have the new navigation.
Required API key scopes
today:readResponse
Example request
GET /api /projects /:project_id /today /pulse_pinsExample response
Status 200
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










