Skip to main content

Overview

The Storage API exposes a workspace’s unified file tree — uploaded documents, generated deliverables, images, and imported source files (including whole GitHub repos) — as a single browsable, foldered structure.

Base URL

https://suite.sundaypyjamas.com/api/v1/workspaces/{workspaceId}/storage

Authentication

Supports dual authentication — either works:
Authorization: Bearer spj_ai_your_api_key_here
or an authenticated session cookie (for calls made from the AI Suite web app itself).

Resources

Files

List, move, rename, and read the content of files.

Folders & Tree

Create and rename folders, and browse the folder tree.

Import

Bulk-import folders, zip archives, or an entire GitHub repository.