---
title: "Admin Session Debug"
method: GET
path: "/api/v1/creative-agent/admin/sessions/{session_id}/debug"
tags: ["Creative Agent"]
---

# Admin Session Debug

`GET /api/v1/creative-agent/admin/sessions/{session_id}/debug`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/creative-agent/admin/sessions/{session_id}/debug`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Admin-only: return the full debug bundle for a session — same JSON the
`scripts/dump_session.py` CLI produces. Use this when a user reports a
failure: ask them for the session-id from the URL, then GET this endpoint
and paste the JSON into a Claude Code conversation for diagnosis.

## Path parameters

- `session_id` string, required

## Query parameters

- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
