cURL
curl --request GET \ --url https://depot.mesa.dev/api/v1/{org}/{repo}/analytics \ --header 'Authorization: Bearer <token>'
{ "analytics": { "version": 123, "summary": { "totalLines": 123, "aiLines": 123, "humanLines": 123, "providers": {}, "models": {}, "updated": "<string>" }, "contributors": {}, "history": [ { "date": "<string>", "sha": "<string>", "author": "<string>", "added": 123, "removed": 123, "aiLines": 123, "message": "<string>", "providers": {}, "models": {} } ], "_meta": { "lastAttempt": "<string>", "lastSuccess": "<string>", "lastError": "<string>" } }, "status": "current" }
Retrieve repository-wide AI attribution analytics from agentblame
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
24h
1w
1m
all
Analytics data
Show child attributes
current
stale
none