reports
GET
https://lucidace.com /v1/projects/{project_id}/report-settings Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/report-settings"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"daily_cap": 0,
"opened_today": 0,
"resets_at": "2024-01-01T00:00:00Z"
}Schema
daily_capintegerrequiredNew reports a day (UTC); signals joining an open report never count.
opened_todayintegerrequiredresets_atstringrequiredThe next UTC midnight, when held signals may open reports again.
404
PUT
https://lucidace.com /v1/projects/{project_id}/report-settings Scope settings:writeParameters
project_idstringpathrequiredRequest body
application/json
daily_capintegerrequiredNew reports the project may open per UTC day, 1 to 1000 (default 20).
{
"daily_cap": 0
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/report-settings" \
-H "Content-Type: application/json" \
-d '{"daily_cap":0}'TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucidace.com /v1/projects/{project_id}/reports Scope insight:readParameters
project_idstringpathrequiredfor_mebooleanqueryassigneestringquerystatestringqueryprioritystringquerysourcestringqueryoutcomestringquerylimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/reports"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of InboxReport, newest first
Example
{
"data": [
{
"assignee_id": "string",
"created_at": "2024-01-01T00:00:00Z",
"dismiss_note": "string",
"follow_up_of": "string",
"id": "string",
"merged_into": "string",
"outcome": "string",
"pr_url": "string",
"priority": "string",
"resolved_at": "2024-01-01T00:00:00Z",
"signal_count": 0,
"snooze_until": "2024-01-01T00:00:00Z",
"sources": [
"string"
],
"state": "string",
"tags": [
"string"
],
"title": "string",
"updated_at": "2024-01-01T00:00:00Z"
}
],
"next_cursor": "string"
}Schema
dataInboxReport[]requiredShow child parameters
assignee_idstringcreated_atstringrequireddismiss_notestringrequiredfollow_up_ofstringThe resolved report this one follows up: opened by hand, or a recurrence of its key.
idstringrequiredmerged_intostringSet when this report was merged into another one (it is then resolved as a duplicate).
outcomestringSet on resolve or dismiss:
fixed | wont_fix | duplicate | not_reproducible | expected.pr_urlstringrequiredThe pull request that fixes it ("" = none).
prioritystringrequiredP0 (most urgent) to P4.resolved_atstringsignal_countintegerrequiredsnooze_untilstringsourcesstring[]requiredstatestringrequiredactionable | needs_input | snoozed | resolved | dismissed; an expired snooze reads as actionable.tagsstring[]requiredtitlestringrequiredupdated_atstringrequirednext_cursorstring400
404
GET
https://lucidace.com /v1/projects/{project_id}/reports/{id} Scope insight:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/reports/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"links": {
"follow_up_of": {
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"outcome": "string",
"state": "string",
"title": "string"
},
"follow_ups": [
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"outcome": "string",
"state": "string",
"title": "string"
}
],
"merged_from": [
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"outcome": "string",
"state": "string",
"title": "string"
}
],
"merged_into": {
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"outcome": "string",
"state": "string",
"title": "string"
}
},
"report": {
"assignee_id": "string",
"created_at": "2024-01-01T00:00:00Z",
"dismiss_note": "string",
"follow_up_of": "string",
"id": "string",
"merged_into": "string",
"outcome": "string",
"pr_url": "string",
"priority": "string",
"resolved_at": "2024-01-01T00:00:00Z",
"signal_count": 0,
"snooze_until": "2024-01-01T00:00:00Z",
"sources": [
"string"
],
"state": "string",
"tags": [
"string"
],
"title": "string",
"updated_at": "2024-01-01T00:00:00Z"
},
"signals": [
{
"dedupe_key": "string",
"evidence": {},
"finding": "string",
"first_seen_at": "2024-01-01T00:00:00Z",
"id": "string",
"last_seen_at": "2024-01-01T00:00:00Z",
"occurrences": 0,
"report_id": "string",
"source": "string",
"suggested_action": "string",
"tags": [
"string"
]
}
]
}Schema
linksobjectrequiredFollow-up chain and merges, both ways.
Show child parameters
follow_up_ofReportRefShow child parameters
created_atstringrequiredidstringrequiredoutcomestringstatestringrequiredtitlestringrequiredfollow_upsReportRef[]requiredReports opened as follow-ups of this one, oldest first.
Show child parameters
created_atstringrequiredidstringrequiredoutcomestringstatestringrequiredtitlestringrequiredmerged_fromReportRef[]requiredReports merged into this one.
Show child parameters
created_atstringrequiredidstringrequiredoutcomestringstatestringrequiredtitlestringrequiredmerged_intoReportRefShow child parameters
created_atstringrequiredidstringrequiredoutcomestringstatestringrequiredtitlestringrequiredreportobjectrequiredShow child parameters
assignee_idstringcreated_atstringrequireddismiss_notestringrequiredfollow_up_ofstringThe resolved report this one follows up: opened by hand, or a recurrence of its key.
idstringrequiredmerged_intostringSet when this report was merged into another one (it is then resolved as a duplicate).
outcomestringSet on resolve or dismiss:
fixed | wont_fix | duplicate | not_reproducible | expected.pr_urlstringrequiredThe pull request that fixes it ("" = none).
prioritystringrequiredP0 (most urgent) to P4.resolved_atstringsignal_countintegerrequiredsnooze_untilstringsourcesstring[]requiredstatestringrequiredactionable | needs_input | snoozed | resolved | dismissed; an expired snooze reads as actionable.tagsstring[]requiredtitlestringrequiredupdated_atstringrequiredsignalsInboxSignal[]requiredShow child parameters
dedupe_keystringrequiredevidenceobjectrequiredfindingstringrequiredfirst_seen_atstringrequiredidstringrequiredlast_seen_atstringrequiredoccurrencesintegerrequiredHow many times the same signal was reported while the report was open.
report_idstringrequiredsourcestringrequiredsuggested_actionstringrequiredtagsstring[]required404
PATCH
https://lucidace.com /v1/projects/{project_id}/reports/{id} Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
assigneestringA member's user id;
null clears the assignee.notestringWhy it was dismissed or snoozed (at most 1000 characters).
outcomestringWith a resolve or dismiss:
fixed | wont_fix | duplicate | not_reproducible | expected.pr_urlstringThe fixing pull request (an http(s) URL, at most 500 characters); "" clears it.
snooze_untilstringA future time; on its own it snoozes the report until then.
statestringactionable | needs_input | snoozed | resolved | dismissed. Resolved is final.{
"assignee": "string",
"note": "string",
"outcome": "string",
"pr_url": "string",
"snooze_until": "2024-01-01T00:00:00Z",
"state": "string"
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/reports/{id}" \
-H "Content-Type: application/json" \
-d '{"assignee":"string","note":"string","outcome":"string","pr_url":"string","snooze_until":"2024-01-01T00:00:00Z","state":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"assignee_id": "string",
"created_at": "2024-01-01T00:00:00Z",
"dismiss_note": "string",
"follow_up_of": "string",
"id": "string",
"merged_into": "string",
"outcome": "string",
"pr_url": "string",
"priority": "string",
"resolved_at": "2024-01-01T00:00:00Z",
"signal_count": 0,
"snooze_until": "2024-01-01T00:00:00Z",
"sources": [
"string"
],
"state": "string",
"tags": [
"string"
],
"title": "string",
"updated_at": "2024-01-01T00:00:00Z"
}Schema
assignee_idstringcreated_atstringrequireddismiss_notestringrequiredfollow_up_ofstringThe resolved report this one follows up: opened by hand, or a recurrence of its key.
idstringrequiredmerged_intostringSet when this report was merged into another one (it is then resolved as a duplicate).
outcomestringSet on resolve or dismiss:
fixed | wont_fix | duplicate | not_reproducible | expected.pr_urlstringrequiredThe pull request that fixes it ("" = none).
prioritystringrequiredP0 (most urgent) to P4.resolved_atstringsignal_countintegerrequiredsnooze_untilstringsourcesstring[]requiredstatestringrequiredactionable | needs_input | snoozed | resolved | dismissed; an expired snooze reads as actionable.tagsstring[]requiredtitlestringrequiredupdated_atstringrequired400
404
409 The report is resolved
POST
https://lucidace.com /v1/projects/{project_id}/reports/{id}/claim Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/reports/{id}/claim"TypeScript
Python
Go
PHP
Ruby
Java
Responses
400
404
409 Claimed by someone else, or resolved
POST
https://lucidace.com /v1/projects/{project_id}/reports/{id}/follow-up Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
prioritystringP0 to P4, default P3.titlestringrequiredTitle of the new report (1 to 300 characters).
{
"priority": "string",
"title": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/reports/{id}/follow-up" \
-H "Content-Type: application/json" \
-d '{"priority":"string","title":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
400 The report is still open
404
Updated