Workbench API reference
Run flows, browse the public gallery, fork public flows into your workspace, and manage + search knowledge bases. Authentication, key management, and the shared error envelope live in API setup. New to the model? Start with Flows.
Base URL
https://api.zerowidth.ai/1.0
All endpoints return JSON. All requests require a bearer token. See Authentication for the key format + how to mint one.
Endpoints
Execute a flow synchronously or stream it. Returns outputs + cost + timeline. Scope: workbench:flows:run.
Browse the public gallery, newest first. Anonymous, cursor-paged.
Read a public flowGET /1.0/flows/public/:flowUuidRead one public flow's metadata + full definition. Anonymous.
Fork a public flowPOST /1.0/flows/:flowUuid/forkCopy a public flow into your workspace. Scope: workbench:flows:write (Personal key).
Every knowledge base in the key's workspace. Scope: workbench:knowledge_bases:read.
One knowledge base in full — status, counts, ingestion settings. Scope: workbench:knowledge_bases:read.
Create an empty docs / tabular / graph knowledge base. Scope: workbench:knowledge_bases:write.
Upload text or base64 PDF/DOCX sources; ingestion runs in the background. Scope: workbench:knowledge_bases:write.
Semantic or keyword retrieval — the RAG primitive over REST. Scope: workbench:knowledge_bases:search.