List bug-scan findings
GET
List the tenant's bug-scan findings in every state (open, running, done, wontfix), open first, then by priority, then most recently updated. Each carries the full finding and, once a fix run is linked, its newest PR. An app finding (finding.category = ui) adds media (its recorded clip, then the failed step's still, as short-lived signed URLs) and expected (the criterion text of the saved walkthrough it breaks, or the rule in plain words). Fix one by sending its id as backlog_task_id on POST /runs; dismiss one with a reason on POST /backlog/{id}/dismiss.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id?|nullrepository_id?|nullstate?|Value in
"open""running""done""wontfix"nullRequest fulfilled, document follows
application/json- response
items*array<>curl -X GET 'https://api.syndai.ai/api/v1/external/coding/findings'Example Response
{ "items": [ { "created_at": "2019-08-24T14:15:22Z", "dismiss_reason": "string", "expected": "string", "finding": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "media": [ { "alt": "string", "height": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "truncated": true, "url": "string", "url_expires_at": "2019-08-24T14:15:22Z", "width": 0 } ], "pr_state": "string", "pr_url": "string", "priority": 0, "prompt": "string", "repository_id": "b349ae61-b973-4c6c-a5e0-89183ba99ff3", "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec", "state": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z" } ]}