Agents
Everything the project's agents call
Every outgoing dependency in the project over the range, summed over every agent and monitor ("everything that calls postgres"), with the agents that call each one. Most calls first, at most 50; more counts the rest. Filter to one kind with kind.
get/api/v1/dependencies
Request
- Base URL: https://app.lastping.dev
- URL: https://app.lastping.dev/api/v1/dependencies
- Auth: API key in header X-Api-Key
Query parameters
range'24h' | '7d' | '30d'
24h, 7d (default) or 30d. The data is daily, so a range covers every UTC day that overlaps it: 24h reads yesterday and today.
kind'model' | 'tool' | 'http' | 'database' | 'queue' | 'rpc' | 'agent'
Restrict to one kind of dependency.
Response
The project's dependencies.
Example response
{
"range": "7d",
"dependencies": [
{
"kind": "database",
"name": "postgresql",
"direction": "out",
"calls": 1480,
"errors": 12,
"error_rate": 0.0081,
"p50_ms": 10,
"p95_ms": 25,
"series": [
{
"day": "2026-09-20",
"calls": 210,
"errors": 2
}
],
"agents": [
{
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"name": "Nightly ETL bot",
"calls": 880
}
]
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.