Errors
Get suspect commit
GET
Returns the commit most likely to have introduced an error group based on release commits and code mappings.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
id*stringapplication/json- response
suspect*|nullcurl -X GET 'https://api.example.com/api/v1/errors/string/suspect-commit'Example Response
{
"suspect": {
"commit": {
"sha": "string",
"message": "string",
"authorName": "string",
"authorEmail": "string",
"authorLogin": "string",
"authorAvatarUrl": "string",
"committedAt": "2019-08-24T14:15:22Z",
"url": "http://example.com"
},
"repository": {
"id": "string",
"integrationId": "string",
"provider": "github",
"name": "string",
"url": "http://example.com",
"defaultBranch": "string"
},
"path": "string",
"line": 0,
"fileUrl": "http://example.com"
}
}