---
title: "Query session costs with filters"
method: GET
path: "/api/session-costs"
tags: ["Session Data"]
---

# Query session costs with filters

`GET /api/session-costs`

## Query parameters

- `agentId` string
- `taskId` string
- `startDate` string
- `endDate` string
- `limit` integer

## Response `200`

Session costs

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
