# HelloWorld Workspace API > Shared storage for AI agents. Each person signs up on the website and makes an access key there. > With it, an agent creates workspaces (private to that person) and stores JSON records in > collections. To share a workspace with someone else's agent (Claude, ChatGPT, Muse, ...), the > owner makes a guest for it and gives that guest read or write access to the workspace. Base URL: https://api.helloworldplatform.com Full spec: https://api.helloworldplatform.com/openapi.yaml MCP endpoint (Streamable HTTP, same access key): https://api.helloworldplatform.com/mcp Website (for people, not agents): https://helloworldplatform.com ## Users and guests Every call needs an access key (hwk_...), which says who is calling: - User (usr_...): a person, who makes their key on the website (Settings). They own the workspaces they create and can do everything in them, make guests, and give or remove guests' access. - Guest (gst_...): made by a user, their host, for someone else or their agent, named e.g. "Alex's Muse". They can only use the workspaces their host gave them, with one of two permissions: read = see only; write = see and change (create and rename collections; add, update, delete records). They can't create workspaces, make guests, or change who has access. GET /v1/me shows which you are. Workspaces you can't use answer 404, as if they did not exist. Every workspace shows your "permission" there: read, write or owner. ## The website https://helloworldplatform.com is where a person signs in (Google or phone number) and manages what agents can't. You can't sign in there for them, and it has no API for you; send the user a link instead: - No key yet: sign up at https://helloworldplatform.com/sign-up, then make an API key in Settings (https://helloworldplatform.com/settings). It is shown only once; they paste it into you. One key per person. - Lost or leaked key: Settings -> Replace key (the old one stops working at once) or Revoke. Access keys can't make, replace or revoke keys, so only the person can, on the website. - To see their data: https://helloworldplatform.com/workspaces lists their workspaces, and https://helloworldplatform.com/workspaces/{ws} shows one with its collections and record counts. After creating a workspace, give the user that link. The website doesn't show or edit records; agents do that. - Sharing, if they'd rather click than ask you: Settings -> Guests makes a guest (its key is shown once), and the Access section on a workspace's page gives a guest read or write access. It is the same data as /v1/guests and /v1/workspaces/{ws}/access, so changes made either way show in both. - Their name, email and storage used are in Settings. Guests don't use the website: the key they were given is all they have. A guest who needs something changed asks the person who shared the workspace. ## Quick start 1. Send your access key on every call: Authorization: Bearer hwk_... (No key? Ask the user to sign up at https://helloworldplatform.com and make one in Settings, or a workspace owner to make you a guest.) 2. Find a workspace, or create one: GET /v1/workspaces This lists the workspaces you can use. Read each description and reuse one that fits; one group (e.g. one Muse space) should keep its data in one workspace but this is only a recommendation. Only if none fits, create one (not for guests) - with a description: POST /v1/workspaces {"name": "Family groceries", "description": "Meal plan and grocery list for Sam and Alex's family Muse space. Collections: shopping_items (one item to buy each; done when bought), meal_plans (one dish per day)."} -> {"id": "k3j9x2m1p0q8r7s6t5u4", "name": "Family groceries", "description": "...", "created_by": "usr_...", "created_at": "...", "permission": "owner"} Below, {ws} is that id. Fix a missing or outdated description with PATCH /v1/workspaces/{ws} {"description": "..."} Only if the user asks, delete a workspace and everything in it (owner only, can't be undone; confirm with the user first, naming the workspace and what it holds): DELETE /v1/workspaces/{ws}?confirm_name=Family%20groceries (its exact name, URL-encoded) 3. Find a collection (one per kind of thing), or create one if none fits. Names needn't be unique, so creating one always makes another: GET /v1/workspaces/{ws}/collections POST /v1/workspaces/{ws}/collections {"name": "shopping_items", "description": "One item to buy. Fields: title (string, required), qty (integer >= 1), done (boolean; true once bought)."} -> {"id": "8f2k1m0x9c7v6b5n4a3s", "name": "shopping_items", ...} Below, {collection_id} is that id. Use the id, not the name: the name is a label that can change (PATCH /v1/workspaces/{ws}/collections/{collection_id} {"name": "..."}) and be shared by others. Only if the user asks, delete a collection and its records (owner only, can't be undone; confirm with the user first, naming the collection and how many records it holds): DELETE /v1/workspaces/{ws}/collections/{collection_id}?confirm_name=shopping_items (its exact name, URL-encoded) 4. Add records: POST /v1/workspaces/{ws}/collections/{collection_id}/records {"data": {"title": "Milk", "done": false}} 5. Query: GET /v1/workspaces/{ws}/collections/{collection_id}/records?filter={"done":false}&limit=50 6. Share (not for guests): POST /v1/guests {"name": "Alex's Muse"} -> {"guest": {"id": "gst_...", ...}, "secret": "hwk_..."} the secret is shown only once PUT /v1/workspaces/{ws}/access/{guest_id} {"permission": "write"} or "read" Then give the secret to the other person to put in their agent. Their changes show up as created_by / updated_by "gst_..." on records. To stop sharing: DELETE /v1/workspaces/{ws}/access/{guest_id} (that workspace only), or DELETE /v1/guests/{guest_id} (the guest can't log in any more; can't be undone; what they wrote stays). Rename a guest with PATCH /v1/guests/{guest_id} {"name": "..."}. A lost or leaked secret can't be replaced: delete the guest, make a new one and share again. ## Rules that matter - Some of these are guidelines and some are enforced. Describing what you create, polling, and one record per thing are guidelines. Record data being a JSON object, the size limits, the storage and guest limits, and sending the version are enforced: break them and the call fails with an error. - Describe what you create so other agents can use it. Other people's agents (on other platforms) will read and write the same workspace, and the descriptions are all they have to go on. Give them enough to set up their side without asking: - a workspace: what it is for, who uses it, and which collections it holds and how they relate; - a collection: what one record is, and every field with its type, meaning and allowed values. Keep them up to date when you add collections or fields (PATCH the workspace description; a JSON Schema on the collection also helps). - Keep what the user sees fresh. Other people's agents change the same workspace, and nothing is pushed to you. While the user is looking at the data (e.g. a list on screen), re-query it about every 5 seconds; when they aren't, don't poll. That is 12 requests a minute per query, well within the 600 per minute each key may make. - One record = one thing. A shopping list is a collection of item records, not one record holding an array. Records are limited to 256 KB, 10 levels of nesting, and arrays of 1,000 items. - Record `data` must be a JSON object. - Storage is limited per user, 10 MB by default. Every workspace and collection counts 1 KB, and every record the bytes of its JSON, against the workspace's owner (a guest's writes count against their host). A write that doesn't fit is 403 storage_quota_exceeded: delete what is no longer needed. A user may have 3 guests by default; one more is 403 guest_limit_reached. GET /v1/me shows both limits and how much of them is used. - Updates need the version you last read (optimistic concurrency): PATCH /v1/workspaces/{ws}/records/{id} {"version": 3, "data": {"done": true}} `data` is a JSON Merge Patch (fields are merged; `null` removes a field). Add "replace": true to replace the whole object. If someone else changed the record you get 409 version_conflict: GET the record again, re-apply your change, and retry with the new version. - Delete also needs the version: DELETE /v1/workspaces/{ws}/records/{id}?version=3 - Errors look like {"error": {"code": "...", "message": "..."}}; the message tells you how to fix it. 403 read_only_access: you can only read this workspace. 403 guest_not_allowed: guests can't do that - ask the person who shared the workspace with you. ## Filters `filter` is a JSON object (URL-encode it). All conditions must match. - {"done": false} equality (strings, numbers, booleans, null) - {"amount": {"gt": 20}} gt, gte, lt, lte (numbers or strings) - {"status": {"in": ["open", "doing"]}} - {"status": {"ne": "done"}} - {"tags": {"contains": "urgent"}} array contains value, or substring of a string - {"due": {"exists": true}} - {"address.city": "Austin"} nested fields use dots Results are oldest first; add order=desc for newest first. Page with the returned next_cursor (pass it as cursor=...); next_cursor is null on the last page. ## MCP The MCP tools mirror the REST API. Call list_workspaces or create_workspace first, then pass the id as `workspace_id` to every other tool. The record tools also need a `collection_id`, from list_collections or create_collection. Users also get update_workspace, delete_workspace and delete_collection (both need confirm_name, the exact name), list_guests, create_guest, update_guest, delete_guest, list_access, give_access and remove_access. Guests only get the tools they can use (no create, update or delete_workspace, no delete_collection, and no guest/access tools). ## Feedback POST /v1/feedback {"message": "..."} (MCP: give_feedback; up to 2,000 characters) Tells the operator what works or doesn't. It is anonymous: only the message and the day are stored, not who sent it, so leave out names, ids and private data. If any issue occurs (an error you can't fix, or something that doesn't work as described), offer to send feedback about it. Send it only once the user approves; show them the message first. ## Endpoints - GET /v1/me who you are, the key you're using, and your limits - POST /v1/feedback send anonymous feedback - GET /v1/guests your guests (not for guests) - POST /v1/guests make a guest (not for guests) - PATCH /v1/guests/{guest_id} rename a guest (not for guests) - DELETE /v1/guests/{guest_id} delete a guest (not for guests) - GET /v1/workspaces workspaces you can use - POST /v1/workspaces create a workspace (not for guests) - GET /v1/workspaces/{ws} one workspace - PATCH /v1/workspaces/{ws} change name and/or description (owner) - DELETE /v1/workspaces/{ws}?confirm_name=NAME delete it and everything in it (owner) - GET /v1/workspaces/{ws}/access guests that can use it (owner) - PUT /v1/workspaces/{ws}/access/{guest_id} give or change a guest's access (owner) - DELETE /v1/workspaces/{ws}/access/{guest_id} remove a guest's access (owner) - GET /v1/workspaces/{ws}/collections list collections - POST /v1/workspaces/{ws}/collections create a collection (optional json_schema; write) - GET /v1/workspaces/{ws}/collections/{collection_id} one collection - PATCH /v1/workspaces/{ws}/collections/{collection_id} rename a collection (write) - DELETE /v1/workspaces/{ws}/collections/{collection_id}?confirm_name=NAME delete it and its records (owner) - GET /v1/workspaces/{ws}/collections/{collection_id}/records query records (filter, limit, cursor, order) - POST /v1/workspaces/{ws}/collections/{collection_id}/records add a record (write) - GET /v1/workspaces/{ws}/records/{id} one record - PATCH /v1/workspaces/{ws}/records/{id} update (needs version; write) - DELETE /v1/workspaces/{ws}/records/{id}?version=N delete (needs version; write)