Skip to main content
GET
/
{org}
/
{repo}
/
agentblame
Get AI attribution data
curl --request GET \
  --url https://depot.mesa.dev/api/v1/{org}/{repo}/agentblame \
  --header 'Authorization: Bearer <token>'
{
  "attributions": {},
  "stats": {
    "total_lines": 123,
    "ai_lines": 123,
    "human_lines": 123,
    "ai_percentage": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required
Minimum string length: 1
repo
string
required
Minimum string length: 1

Query Parameters

base
string
required
Minimum string length: 1
head
string
required
Minimum string length: 1

Response

Attribution data

attributions
object
required
stats
object
required