Summarize project task-agent sessions

GET/v1/projects/{projectId}/agent-sessions/summary

Computes reliability, latency, token, cost, and stalled-attempt metrics from durable project execution records.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
projectIdpathstringYesProject ID
Query parameters
NameLocationTypeRequiredDescription
windowquery24h | 7d | 30d | allNo
stalledAfterMinutesqueryintegerNo

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Project task-agent execution summaryapplication/json
FieldTypeRequiredDescription
projectIdstringYesProject ID.
window24h | 7d | 30d | allYes
metricsobjectYes
metrics.generatedAtstringYes
metrics.windowStartedAtstringYes
metrics.totalAttemptsintegerYes
metrics.stateCountsobjectYes
metrics.terminalAttemptsintegerYes
metrics.successfulAttemptsintegerYes
metrics.failedAttemptsintegerYes
metrics.successRatenumberYes
metrics.failureRatenumberYes
metrics.stalledAttemptsintegerYes
metrics.totalInputTokensintegerYes
metrics.totalOutputTokensintegerYes
metrics.totalTokensintegerYes
metrics.totalCostUsdnumberYes
metrics.averageDurationMsintegerYes
metrics.p95DurationMsintegerYes
400Response
None.
404Resource not foundapplication/json
FieldTypeRequiredDescription
errorstringNo
Summarize project task-agent sessions
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow