Origami

Workspaces

Create, list, get and delete workspaces.

The workspace object

JSON
{
  "id": "ws_3f9c2a71d0b84e6a5c1d7e20",
  "name": "notes",
  "createdAt": "2026-11-24T18:02:11.204Z"
}
Field
idThe workspace's id, which every other call uses
nameUnique among the organization's workspaces
createdAtWhen it was created

Create a workspace

http
POST /v1/workspaces
Body field
nameRequired. 1 to 200 characters

201 with the workspace.

ErrorWhen
409 already_existsThe organization has a workspace of that name
400 invalid_requestThe name is missing, empty or too long
Bash
curl -s -X POST "$ORIGAMI_URL/v1/workspaces" \
  -H "authorization: Bearer $ORIGAMI_API_KEY" \
  -H 'content-type: application/json' \
  -d '{"name":"notes"}'

List workspaces

http
GET /v1/workspaces

200 with all of the organization's workspaces, oldest first:

JSON
{ "workspaces": [ { "id": "ws_3f9c2a71d0b84e6a5c1d7e20", "name": "notes", "createdAt": "2026-11-24T18:02:11.204Z" } ] }

Get a workspace

http
GET /v1/workspaces/{id}

200 with the workspace, or 404 not_found if there's none with that id in your organization.

Delete a workspace

http
DELETE /v1/workspaces/{id}

204, or 404 not_found. From then on the workspace can't be reached, and its name is free for a new one.

Backlinks