---
title: "List bags in store"
method: GET
path: "/stores/{store_name}/bags"
tags: ["basic"]
---

# List bags in store

`GET /stores/{store_name}/bags`

## Request

- Base URL: `/api/v0` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v0/stores/{store_name}/bags`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/docs/stores/:store_name/bags/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `store_name` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `ordering` string
- `discovered_gte` string, date-time
- `discovered_lte` string, date-time
- `start_time_gte` string, date-time
- `start_time_lte` string, date-time
- `end_time_gte` string, date-time
- `end_time_lte` string, date-time
- `duration_gte` number
- `duration_lte` number
- `meta_available` boolean
- `is_extracted` boolean
- `name` string
- `tags` string
- `in_trash` boolean

## Response `200`

Returns a list of bags

- BagSummary[]
  - `detail_type` string, required
  - `name` string, required
  - `store_data` object, required: Data that is specific to the bag store type.
  - `discovered` string, date-time, required: Date and time this bag was discovered.
  - `extraction_failure` boolean: True if the extraction failed
  - `in_trash` boolean: True if the bag is in the trash bin.
  - `is_extracted` boolean, required: True if data is extracted from this bag.
  - `meta_available` boolean, required: True if meta data is known for this bag.
  - `size` integer: Size of the bag in bytes.
  - `start_time` string, date-time: Start time of this bag.
  - `end_time` string, date-time: Start time of this bag.
  - `duration` number: duration of this bag in seconds.
  - `messages` integer: Number of messages in this bag.
  - `tags` Tag[]
    - `tag` string, required
    - `color` string, required

## Other responses

- `400`: General error
- `404`: Store not found

---

[API](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api.md) - [All operations](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/revisions/9167cc5a1f11?raw)
