---
title: "List all test case generation requests"
method: GET
path: "/api/v1/tcg"
tags: ["TCG"]
---

# List all test case generation requests

`GET /api/v1/tcg`

## Request

- Base URL: `https://toolkit.browserstack.com`
- URL: `https://toolkit.browserstack.com/api/v1/tcg`
- Auth: API key in cookie `_wdt_rails_session`

Retrieves all test case generation requests for the authenticated user, ordered by creation date (newest first)

## Response `200`

Test case generation requests retrieved successfully

- object[]
  - `id` string
  - `user_id` string
  - `status` 'pending' | 'processing' | 'completed' | 'failed'
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api.md) - [All operations](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/llms.txt) - [OpenAPI document](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/revisions/cbd06b547b6a?raw)
