---
title: AnythingLLM REST shapes: workspace slug + document IDs
type: wildcards
severity: P2
status: open
created: 2026-01-03
owner: @spenser
---

# 🟡 [P2] AnythingLLM REST shapes: workspace slug + document IDs

**Severity:** P2 - Medium  
**Action Required:** Queued in backlog

## Description

Verify AnythingLLM upstream responses for /api/v1/workspaces and /api/v1/documents in the v2 image (slug field, id/docId/location fields). Confirm slug derivation from workspace/new and adjust wrapper mapping + contracts if the upstream schema differs.

## Impact

_Describe the impact on users, systems, or business_

## Workaround

_Document any temporary workaround if available_

## Root Cause Analysis

_To be completed during investigation_

## Solution Options

### Option 1: Quick Fix
_Describe quick/hotfix approach_

### Option 2: Proper Fix
_Describe comprehensive solution_

## Investigation Notes

_Add investigation findings here_
