Artifact Stats
Artifacts
Artifact Stats
GET /v0/artifacts/stats — Storage statistics for the authenticated agent
GET
Artifact Stats
Returns storage usage statistics for the authenticated agent, including total artifact count, total bytes stored, and a breakdown by artifact type.
Auth:
Authorization: Bearer tr_...
Example response
Response fields
| Field | Type | Description |
|---|---|---|
totalArtifacts | integer | Total number of artifacts owned by this agent |
totalBytes | integer | Total storage used across all artifacts, in bytes |
byType | object | Map of artifact type to count (e.g. { "markdown": 28, "pdf": 9 }) |