# Zegazone > Project management and showcasing for AI. Zegazone keeps collections of notes, images, video, files and links, and your AI reads and writes them through MCP or over HTTPS. Zegazone has no AI of its own. ## Hosts - App: https://zegazone.app - Studio, where a person signs in and allows a client: https://studio.zegazone.app - API: https://api.zegazone.app - MCP server and OAuth issuer: https://mcp.zegazone.app - Media bytes: https://zegazone.net ## Connect - Remote MCP server: https://mcp.zegazone.app/mcp (OAuth 2.1 with PKCE; the client finds the rest from the server's 401, and the person allows it on Studio. There is no token to paste.) - OpenAPI 3.1: https://zegazone.app/openapi.json - Documentation: https://zegazone.app/api-docs ## Sign in with OAuth - Metadata: https://mcp.zegazone.app/.well-known/oauth-authorization-server - Register a client once: POST https://mcp.zegazone.app/oauth/register - Authorise: https://mcp.zegazone.app/oauth/authorize with your client id, a PKCE challenge (S256 only, required of every client) and the scopes you need. - Token: POST https://mcp.zegazone.app/oauth/token with the code and your verifier. Tokens act as that person, nothing more. - Scopes: profile:read, collections:read, collections:write, collections:delete, items:read, items:write, items:delete, sharing:write, profile:write, settings:read, settings:write, player:control. ## Working with it - Collections are named by the 12-character ids the tools return or by their number (4821); items also by their number (#2397815) or word name ("amber falcon"), as the person says them. - Look things up first with `collections_list`, `collections_get`, `collections_price_get`, `items_list`, `items_get`, `skills_get`, `libraries_list`, `ui_state_get`, `settings_get`, `profile_get`, `profile_export_get`, `activity_list`, `profile_aliases_list`, `profile_selling_get`, `profile_usage_get`, `bookmarks_list`, `queue_list`, `sharing_list`, `collections_liked_list`, `collections_stats_get`, `aliases_following_list`. - Terms: a collection holds items and other collections; an item is a note, a link or a file; a library is a private tab of references to collections; a tag labels a collection. - Adding a file needs only this connection: `items_upload` with `transfer: "inline"` and then `items_upload_chunk` carries a file you hold up to 25 MiB; `items_upload` without it answers a one-time address to PUT bytes to, for any size your plan allows; `items_add` with `kind: link` takes a file that is already at a URL. Finish an upload with `items_finalise`. ## Operations (240 operations in 22 areas; 122 take an agent token; 106 are MCP tools) Each operation is `family.verb`; its MCP tool, where it has one, is the same name with underscores. "session" means the web app's own call, which takes the browser's session cookie and never an agent token. ### Collections (26) - `collections.list` · GET /collections · collections:read · List your collections and those shared with you. MCP tool: `collections_list`. - `collections.create` · POST /collections · collections:write · Create a collection. MCP tool: `collections_create`. - `collections.get` · GET /collections/{id} · collections:read · Get a collection. MCP tool: `collections_get`. - `collections.update` · PATCH /collections/{id} · collections:write · Change a collection's name, description, share level, tags, playback settings or Show in my library. MCP tool: `collections_update`. - `collections.get_by_slug` · GET /collections/by-address/{handle}/{slug} · collections:read · Get a published collection by its address. MCP tool: `collections_get_by_slug`. - `collections.move` · POST /collections/{id}/move · collections:write · Set or clear a collection's parent. MCP tool: `collections_move`. - `collections.archive` · POST /collections/{id}/archive · collections:write · Archive a collection and its sub-collections. - `collections.unarchive` · POST /collections/{id}/unarchive · collections:write · Unarchive a collection. - `collections.delete` · POST /collections/{id}/delete · collections:delete · Send a collection to Trash. MCP tool: `collections_delete`. - `collections.restore` · POST /collections/{id}/restore · collections:write · Restore a collection from Trash. MCP tool: `collections_restore`. - `collections.publish` · POST /collections/{id}/publish · collections:write · Publish a collection. - `collections.unpublish` · POST /collections/{id}/unpublish · collections:write · Unpublish a collection. - `collections.price.get` · GET /collections/{id}/price · collections:read · A collection's price, its channel's subscription, and what you hold. MCP tool: `collections_price_get`. - `collections.price.set` · POST /collections/{id}/price · collections:write · Set or remove a collection's one-off price. MCP tool: `collections_price_set`. - `collections.trash.list` · GET /trash · collections:read · Your Trash: deleted collections and items. - `collections.set_cover` · POST /collections/{id}/cover · collections:write · Set a collection's cover. MCP tool: `collections_set_cover`. - `collections.workspace` · GET /collections/{id}/workspace · collections:read · Get a workspace: its members, their roles and what is published. - `collections.browse` · GET /discovery/browse · collections:read · Browse the public catalogue by row. MCP tool: `collections_browse`. - `collections.search` · GET /discovery/search · collections:read · Search the public catalogue. MCP tool: `collections_search`. - `collections.import` · POST /collections/import · items:write · Import a collection and its sub-collections from an export. MCP tool: `collections_import`. - `collections.batch_get` · GET /batch/collections · collections:read · Get several collections at once. MCP tool: `collections_batch_get`. - `collections.tree` · GET /collections/{id}/tree · collections:read · Get a collection and every sub-collection below it. MCP tool: `collections_tree`. - `collections.export` · GET /collections/{id}/export · items:read · Export a collection and its items. MCP tool: `collections_export`. - `collections.open` · GET /collections/{id}/open · items:read · Open a collection: it and its first page of items. MCP tool: `collections_open`. - `collections.enter` · POST /collections/{id}/enter · session · Answer to enter. - `collections.enter_by_address` · POST /collections/by-address/{handle}/{slug}/enter · session · Answer to enter, by address. ### Items (36) - `items.list` · GET /collections/{id}/items · items:read · List a collection's items in order. MCP tool: `items_list`. - `items.add` · POST /collections/{id}/items · items:write · Add a note or a link to a collection. MCP tool: `items_add`. - `items.get` · GET /items/{id} · items:read · Get an item. MCP tool: `items_get`. - `items.update` · PATCH /items/{id} · items:write · Change an item's name, description, tags, viewer, thumbnail label or note. MCP tool: `items_update`. - `items.reorder` · POST /items/{id}/reorder · items:write · Move an item, or a group of items, within its collection's order. MCP tool: `items_reorder`. - `items.delete` · POST /items/{id}/delete · items:delete · Send an item to Trash. MCP tool: `items_delete`. - `items.restore` · POST /items/{id}/restore · items:write · Restore an item from Trash. - `items.refresh_snapshot` · POST /items/{id}/snapshot/refresh · items:write · Read a social media post's snapshot again. MCP tool: `items_refresh_snapshot`. - `items.move` · POST /items/move · items:write · Move items to another collection. MCP tool: `items_move`. - `items.move_to_new_subcollection` · POST /items/move-to-new-subcollection · items:write · Move items into a new sub-collection. MCP tool: `items_move_to_new_subcollection`. - `items.batch_update` · POST /items/batch-update · items:write · Apply one edit to several items. MCP tool: `items_batch_update`. - `items.third_party_url` · POST /items/{id}/third-party-url · items:read · Get a short-lived URL of an item for a third-party viewer. - `items.gate` · POST /items/gate · items:write · Set the gate of items, the collection's default gate or its adult flag. MCP tool: `items_gate`. - `items.upload` · POST /collections/{id}/items/upload · items:write · Start an upload into a collection. MCP tool: `items_upload`. - `items.finalise` · POST /items/{id}/finalise · items:write · Finish an upload. MCP tool: `items_finalise`. - `items.upload_chunk` · POST /uploads/{upload_id}/chunks · items:write · Send one chunk of an inline upload. MCP tool: `items_upload_chunk`. - `items.renew` · POST /items/{id}/renew · items:write · Fresh PUT URLs for an upload. - `items.abort` · POST /items/{id}/abort · items:write · Cancel an upload. MCP tool: `items_abort`. - `items.convert_to_note` · POST /items/{id}/convert-to-note · items:write · Turn a text file into a Markdown note. MCP tool: `items_convert_to_note`. - `items.set_thumbnail` · POST /items/{id}/thumbnail · items:write · Set an item's thumbnail. MCP tool: `items_set_thumbnail`. - `items.search` · GET /search/items · items:read · Search items by their words. MCP tool: `items_search`. - `items.download` · GET /items/{id}/download · items:read · Read a file's bytes in chunks, through the call. MCP tool: `items_download`. - `items.copy` · POST /items/{id}/copy · items:write · Copy an item into a collection. MCP tool: `items_copy`. - `items.batch_get` · GET /batch/items · items:read · Get several items at once. MCP tool: `items_batch_get`. - `items.get_description` · GET /items/{id}/description · items:read · Read an item's description. MCP tool: `items_get_description`. - `items.contents` · GET /items/{id}/contents · items:read · What an archive or a skill holds. MCP tool: `items_contents`. - `skills.add` · POST /collections/{id}/skills · items:write · Save a skill into a collection. MCP tool: `skills_add`. - `skills.get` · GET /items/{id}/skill · items:read · Read a skill: its frontmatter, instructions and file list. MCP tool: `skills_get`. - `skills.get_file` · GET /items/{id}/skill/files · items:read · Read one file of a skill. MCP tool: `skills_get_file`. - `skills.put_file` · PUT /items/{id}/skill/files/{path} · items:write · Write one file of a skill. MCP tool: `skills_put_file`. - `skills.delete_file` · DELETE /items/{id}/skill/files/{path} · items:write · Remove one file of a skill. MCP tool: `skills_delete_file`. - `items.drop_links` · GET /collections/{id}/drop-links · items:read · List a collection's open drop links. - `items.drop_link` · POST /collections/{id}/drop-links · items:write · Make a link a person opens to drop files into a collection. MCP tool: `items_drop_link`. - `items.drop_link_revoke` · POST /drop-links/{id}/revoke · items:write · Turn a drop link off. MCP tool: `items_drop_link_revoke`. - `items.reveal` · POST /items/{id}/reveal · session · Reveal a blurred item. - `items.discard` · POST /items/{id}/discard · session · Take back a clone just made (a clone's Undo). ### Libraries (7) - `libraries.list` · GET /libraries · collections:read · Your libraries. MCP tool: `libraries_list`. - `libraries.create` · POST /libraries · collections:write · Create a library. MCP tool: `libraries_create`. - `libraries.update` · PATCH /libraries/{id} · collections:write · Rename, hide, show, reorder or follow a library. MCP tool: `libraries_update`. - `libraries.delete` · POST /libraries/{id}/delete · collections:write · Delete a library. MCP tool: `libraries_delete`. - `libraries.add` · POST /libraries/{id}/collections · collections:write · Add collections to a library. MCP tool: `libraries_add`. - `libraries.remove` · POST /libraries/{id}/collections/remove · collections:write · Remove collections from a library. MCP tool: `libraries_remove`. - `libraries.move_collection` · POST /libraries/move · collections:write · Move collections from one library of yours to another. MCP tool: `libraries_move_collection`. ### Tags (3) - `tags.list` · GET /tags · collections:read · Your collection tags with their counts. - `tags.vocabulary` · GET /tags/vocabulary · collections:read · The global tag vocabulary. - `tags.suggest` · POST /collections/{id}/tags/suggest · items:write · Suggest tags for a collection. MCP tool: `tags_suggest`. ### Player (5) - `player.ui_state.get` · GET /ui-state · settings:read · The person's UI state. MCP tool: `ui_state_get`. - `player.ui_state.set` · PATCH /ui-state · settings:write · Change the person's UI state. MCP tool: `ui_state_set`. - `player.navigate` · POST /player/navigate · player:control · Move the person's open Studio. MCP tool: `player_navigate`. - `player.boot` · GET /boot · session · Everything the player needs to start. - `player.command.acknowledge` · POST /player/command-ack · session · A Studio tab heard a Player command. ### Settings (13) - `settings.get` · GET /settings · settings:read · The account's preferences. MCP tool: `settings_get`. - `settings.set` · PATCH /settings · settings:write · Change the account's preferences. MCP tool: `settings_set`. - `settings.service.status` · GET /service/status · session · Read whether registration and the service are open. - `settings.waitlist.join` · POST /waitlist · session · Join the waitlist. - `settings.waitlist.confirm` · POST /waitlist/confirm · session · Confirm a waitlist place. - `settings.waitlist.leave` · POST /waitlist/leave · session · Leave the waitlist and delete the entry. - `settings.waitlist.invitation` · GET /waitlist/invitation · session · Read what a “you're in” link offers. - `settings.waitlist.invitation_free` · POST /waitlist/invitation/free · session · Go back to the free queue instead of the paid place. - `settings.plans.list` · GET /plans · session · List the plans and their limits. - `settings.limits.get` · GET /me/limits · session · Your plan's limits now, what you have used, warnings and over-cap state. - `settings.mail.get` · GET /comms/preferences · session · Your mail choices. - `settings.mail.set` · PUT /comms/preferences · session · Change your mail choices. - `settings.mail.unsubscribe` · POST /comms/unsubscribe · session · Unsubscribe with a mail's link. ### Profile (63) - `profile.get` · GET /me · profile:read · The signed-in account and its profile. MCP tool: `profile_get`. - `profile.export.get` · GET /me/exports · items:read · The account's latest export. MCP tool: `profile_export_get`. - `profile.export.request` · POST /me/exports · items:read · Download everything: ask for the account's export. MCP tool: `profile_export_request`. - `profile.export.download` · GET /me/exports/{id}/download · items:read · Read the export in chunks, through the call. MCP tool: `profile_export_download`. - `profile.deletion.get` · GET /me/deletion · profile:read · What deleting the account would take. - `profile.set_avatar` · POST /profile/avatar · profile:write · Set your avatar. MCP tool: `profile_set_avatar`. - `activity.list` · GET /activity · profile:read · Recent agent activity. MCP tool: `activity_list`. - `profile.aliases.list` · GET /me/aliases · profile:read · List your handles. MCP tool: `profile_aliases_list`. - `profile.aliases.create` · POST /me/aliases · profile:write · Claim a new handle. MCP tool: `profile_aliases_create`. - `profile.aliases.delete` · POST /me/aliases/{id}/delete · profile:write · Delete a handle. MCP tool: `profile_aliases_delete`. - `profile.aliases.update` · PATCH /me/aliases/{id} · profile:write · Edit a handle's public profile. MCP tool: `profile_aliases_update`. - `profile.aliases.set_default` · POST /me/aliases/{id}/set_default · profile:write · Make a handle the default for publishing. MCP tool: `profile_aliases_set_default`. - `profile.selling.get` · GET /me/payouts · profile:read · Payouts and who may charge. MCP tool: `profile_selling_get`. - `profile.ping` · GET /agent/ping · any token · Check an agent connection. MCP tool: `profile_ping`. - `profile.usage.get` · GET /usage · profile:read · This month's agent operations against the plan's allowance. MCP tool: `profile_usage_get`. - `bug.report` · POST /agent/bug-reports · any token · Report a problem with Zegazone. MCP tool: `bug_report`. - `profile.auth.realtime_token` · GET /auth/realtime-token · session · Mint the live-update token. - `profile.auth.signup` · POST /auth/signup · session · Create an account with an email and a password, and sign in. - `profile.auth.login` · POST /auth/login · session · Sign in with an email and a password. - `profile.auth.google` · GET /auth/google · session · Continue with Google. - `profile.auth.google_callback` · GET /auth/google/callback · session · Finish Continue with Google. - `profile.auth.logout` · POST /auth/logout · session · Sign out of this session. - `profile.auth.verification` · GET /auth/verification · session · The signed-in account's email-verification state. - `profile.auth.verification_resend` · POST /auth/verification/resend · session · Send a new confirmation link (the strip's Resend). - `profile.auth.verify` · POST /auth/verify · session · Confirm an email address from its link. - `profile.auth.verify_resend` · POST /auth/verify/resend · session · Ask for a new confirmation link, signed out. - `profile.admission.free` · POST /me/admission/free · session · Join the free queue from an account on hold. - `profile.auth.recover` · POST /auth/recover · session · Ask for a password-reset link. - `profile.auth.reset_callback` · GET /auth/reset/callback · session · Where a password-reset link returns the browser. - `profile.auth.reset_state` · GET /auth/reset/state · session · Whether this browser can set a password from a reset link. - `profile.auth.reset` · POST /auth/reset · session · Set a new password from a reset link and sign in. - `profile.auth.password_change` · POST /auth/password · session · Change the password. - `profile.auth.methods` · GET /auth/methods · session · How this account signs in. - `profile.auth.password_code` · POST /auth/password/code · session · Email the code a password change wants. - `profile.update` · PATCH /me · session · Change the display name, bio or links. - `profile.sessions.list` · GET /sessions · session · List this account's sessions. - `profile.sessions.revoke` · DELETE /sessions/{id} · session · End one of this account's sessions. - `profile.billing.get` · GET /me/billing · session · Your plan's billing: the subscription, the trial, a payment warning. - `profile.billing.checkout` · POST /billing/checkout · session · Upgrade: open Stripe Checkout for a plan (the person's own session only). - `profile.billing.channels.add` · POST /billing/extra-channels/add · session · Plus: one more extra channel on Pro (the person's own session only). - `profile.billing.channels.remove` · POST /billing/extra-channels/remove · session · Minus: one extra channel fewer, retiring a chosen alias if need be. - `profile.billing.portal` · POST /billing/portal · session · Manage: open Stripe's billing portal (the person's own session only). - `profile.purchases.list` · GET /me/purchases · session · Your purchases and subscriptions. - `profile.purchases.refund` · POST /me/purchases/{id}/refund · session · Refund a purchase you have not opened. - `profile.subscriptions.cancel` · POST /me/subscriptions/{id}/cancel · session · Cancel a subscription at the end of its period. - `profile.subscriptions.refund` · POST /me/subscriptions/{id}/refund · session · Refund a subscription's first period. - `profile.subscriptions.set_tab` · POST /me/subscriptions/{id}/tab · session · Show a subscribed channel as a library tab, or stop. - `profile.aliases.price.get` · GET /me/aliases/{id}/price · session · Your handle's subscription price. - `profile.aliases.set_price` · POST /me/aliases/{id}/price · session · Set or remove your handle's subscription price. - `profile.export.archive` · GET /me/exports/{id}/archive · session · Download the export. - `profile.deletion.confirm` · POST /me/deletion · session · Delete the account (the person's own session only). - `profile.tokens.list` · GET /tokens · session · List this account's agent tokens. - `profile.tokens.create` · POST /tokens · session · Mint a personal agent token. - `profile.tokens.revoke` · DELETE /tokens/{id} · session · Revoke one of this account's agent tokens. - `profile.connections.list` · GET /connections · session · List this account's connections. - `profile.connections.update` · PATCH /connections/{id} · session · Change a connection's "Can move the Player". - `profile.connections.disconnect` · DELETE /connections/{id} · session · Disconnect one connection. - `profile.connections.disconnect_all` · POST /connections/disconnect-all · session · Disconnect everything. - `profile.terms.accept` · POST /me/terms · session · Agree to a version of the Terms. - `profile.payouts.onboard` · POST /me/payouts/onboarding · session · Set up payouts (Stripe's hosted onboarding). - `profile.payouts.refresh` · POST /me/payouts/refresh · session · Read the payouts state from Stripe now. - `profile.payouts.dashboard` · POST /me/payouts/dashboard · session · Open your Stripe dashboard. - `profile.creator_terms.accept` · POST /me/creator-terms · session · Accept the creator terms. ### OAuth (9) - `oauth.metadata.protected_resource` · GET /.well-known/oauth-protected-resource · OAuth client · Protected-resource metadata (RFC 9728): the MCP endpoint on the MCP host, the REST API on the api host. - `oauth.metadata.protected_resource_mcp` · GET /.well-known/oauth-protected-resource/mcp · OAuth client · Protected-resource metadata (RFC 9728) of this host's MCP endpoint. - `oauth.metadata.authorization_server` · GET /.well-known/oauth-authorization-server · OAuth client · Authorisation-server metadata (RFC 8414). - `oauth.register` · POST /oauth/register · OAuth client · Register a client (RFC 7591). - `oauth.authorize` · GET /oauth/authorize · OAuth client · Start an authorisation (RFC 6749 §4.1.1, PKCE S256 only). - `oauth.token` · POST /oauth/token · OAuth client · Exchange a code or rotate a refresh token (RFC 6749 §4.1.3, §6). - `oauth.revoke` · POST /oauth/revoke · OAuth client · Revoke a refresh or access token (RFC 7009). - `oauth.consent.get` · GET /oauth/consent · OAuth client · Read a pending authorisation for the consent page. - `oauth.consent.decide` · POST /oauth/consent · OAuth client · Allow or deny a pending authorisation. ### Bookmarks (6) - `bookmarks.list` · GET /bookmarks · collections:read · Your bookmarks. MCP tool: `bookmarks_list`. - `bookmarks.create` · POST /bookmarks · collections:write · Save a bookmark. MCP tool: `bookmarks_create`. - `bookmarks.delete` · POST /bookmarks/{id}/delete · collections:write · Delete a bookmark. MCP tool: `bookmarks_delete`. - `bookmarks.get` · GET /bookmarks/{id} · session · One of your bookmarks. - `bookmarks.rename` · PATCH /bookmarks/{id} · session · Rename a bookmark. - `bookmarks.add` · POST /bookmarks/{id}/collections · session · Add collections to a bookmark. ### Checkout (2) - `checkout.create` · POST /checkout · session · Open Stripe's checkout for a purchase or a subscription. - `checkout.get` · GET /checkout/{id} · session · What became of your checkout. ### Drop (5) - `items.drop_info` · GET /drop/{token} · session · What a drop page opens with. - `items.drop_upload` · POST /drop/{token}/uploads · session · Start a file's upload through a drop link. - `items.drop_renew` · POST /drop/{token}/uploads/{item_id}/renew · session · Fresh PUT URLs for a file of a drop link. - `items.drop_finalise` · POST /drop/{token}/uploads/{item_id}/finalise · session · Finish a file of a drop link. - `items.drop_abort` · POST /drop/{token}/uploads/{item_id}/abort · session · Cancel a file of a drop link. ### Notifications (7) - `notifications.announcements.list` · GET /announcements · profile:read · What Zegazone is announcing to you. - `notifications.list` · GET /notifications · session · The bell's list. - `notifications.read_all` · POST /notifications/read · session · Mark everything read. - `notifications.archive_read` · POST /notifications/archive-read · session · Archive every read notification. - `notifications.archive` · POST /notifications/{id}/archive · session · Archive one notification. - `notifications.announcements.read` · POST /announcements/{id}/read · session · Mark an announcement read. - `notifications.announcements.dismiss` · POST /announcements/{id}/dismiss · session · Dismiss a banner announcement. ### Photos (2) - `photos.search` · GET /photos/search · items:read · Search free photos. MCP tool: `photos_search`. - `photos.preview` · GET /photos/preview · session · A free photo's preview, for Studio. ### Prompts (4) - `prompts.list` · GET /prompts · session · Your saved prompts. - `prompts.create` · POST /prompts · session · Save a prompt. - `prompts.update` · PATCH /prompts/{id} · session · Edit a saved prompt. - `prompts.delete` · POST /prompts/{id}/delete · session · Delete a saved prompt. ### Publishers (2) - `publishers.get` · GET /publishers/{handle} · collections:read · Get a publisher's page by its handle. - `publishers.sitemap` · GET /sitemap · collections:read · List the addresses a crawler may be told of. ### Publishing (5) - `publishing.publish` · POST /collections/{id}/publishing/publish · collections:write · Publish a collection at an address. MCP tool: `publishing_publish`. - `publishing.unpublish` · POST /collections/{id}/publishing/unpublish · collections:write · Unpublish a collection. MCP tool: `publishing_unpublish`. - `publishing.set_discovery` · POST /collections/{id}/publishing/discovery · collections:write · List or unlist a collection in Discovery. MCP tool: `publishing_set_discovery`. - `publishing.check_secrets` · POST /collections/{id}/publishing/secret-check · collections:write · Check a collection for secrets. MCP tool: `publishing_check_secrets`. - `publishing.mark_not_secret` · POST /collections/{id}/publishing/secret-findings/{finding}/not-a-secret · collections:write · Mark a secret-check finding as not a secret. MCP tool: `publishing_mark_not_secret`. ### Push (5) - `push.config` · GET /push/config · session · Push on this environment, and your devices. - `push.subscribe` · POST /push/subscribe · session · Subscribe this browser. - `push.unsubscribe` · DELETE /push/subscribe · session · Unsubscribe this browser. - `push.rebind` · POST /push/rebind · session · Re-bind this browser's subscription to this session. - `push.test` · POST /push/test · session · Send yourself a test push. ### Queue (5) - `queue.list` · GET /queue · collections:read · Your AI queue. MCP tool: `queue_list`. - `queue.complete` · POST /queue/complete · collections:write · Mark queue entries done or failed. MCP tool: `queue_complete`. - `queue.add` · POST /queue · session · Add a prompt to the AI queue. - `queue.remove` · POST /queue/{id}/remove · session · Remove a prompt from the AI queue. - `queue.clear` · POST /queue/clear · session · Clear the AI queue. ### Reports (2) - `reports.create` · POST /collections/{id}/reports · session · Report a collection. - `feedback.create` · POST /feedback · session · Send feedback. ### Sharing (21) - `sharing.list` · GET /collections/{id}/sharing · collections:read · Who a collection is shared with. MCP tool: `sharing_list`. - `sharing.received` · GET /sharing/received · collections:read · Invitations waiting for you. MCP tool: `sharing_received`. - `sharing.invite` · POST /collections/{id}/sharing/invitations · sharing:write · Invite someone. MCP tool: `sharing_invite`. - `sharing.update` · PATCH /collections/{id}/sharing/members/{person} · sharing:write · Change a person's permissions. MCP tool: `sharing_update`. - `sharing.remove` · DELETE /collections/{id}/sharing/members/{person} · sharing:write · Remove a person or an invitation. MCP tool: `sharing_remove`. - `sharing.accept` · POST /collections/{id}/sharing/accept · sharing:write · Accept an invitation. MCP tool: `sharing_accept`. - `sharing.decline` · POST /collections/{id}/sharing/decline · sharing:write · Decline an invitation. MCP tool: `sharing_decline`. - `sharing.leave` · POST /collections/{id}/sharing/leave · sharing:write · Leave a collection shared with you. MCP tool: `sharing_leave`. - `sharing.lookup` · GET /collections/{id}/sharing/lookup · session · Find someone to invite. - `sharing.resend` · POST /collections/{id}/sharing/invitations/{invitation}/resend · session · Send an email invitation again. - `sharing.settings` · PATCH /collections/{id}/sharing/settings · session · Save the invite template or the Requests switch. - `sharing.link_create` · POST /collections/{id}/sharing/links · session · Make an invite link. - `sharing.link_revoke` · DELETE /collections/{id}/sharing/links/{link} · session · Revoke an invite link, or remove a dead one. - `sharing.request_access` · POST /collections/{id}/sharing/requests · session · Ask for access. - `sharing.request_withdraw` · DELETE /collections/{id}/sharing/requests/mine · session · Take back your request. - `sharing.request_accept` · POST /collections/{id}/sharing/requests/{request}/accept · session · Accept an access request. - `sharing.request_decline` · POST /collections/{id}/sharing/requests/{request}/decline · session · Decline an access request. - `sharing.link_join` · POST /sharing/links/join · session · Join through an invite link. - `sharing.invitation_accept` · POST /sharing/invitations/accept · session · Accept an email invitation. - `sharing.link_preview` · POST /sharing/links/preview · session · What an invite link's landing shows. - `sharing.invitation_preview` · POST /sharing/invitations/preview · session · What an email invitation's landing shows. ### Social (8) - `collections.like` · POST /collections/{id}/like · collections:write · Like a collection. MCP tool: `collections_like`. - `collections.unlike` · POST /collections/{id}/unlike · collections:write · Remove your like from a collection. MCP tool: `collections_unlike`. - `collections.liked.list` · GET /liked · collections:read · List the collections you have liked. MCP tool: `collections_liked_list`. - `collections.stats.get` · GET /collections/{id}/stats · collections:read · Read a collection's likes, views and followers. MCP tool: `collections_stats_get`. - `aliases.follow` · POST /channels/{handle}/follow · collections:write · Follow a channel. MCP tool: `aliases_follow`. - `aliases.unfollow` · POST /channels/{handle}/unfollow · collections:write · Stop following a channel. MCP tool: `aliases_unfollow`. - `aliases.following.list` · GET /following · collections:read · List the channels you follow. MCP tool: `aliases_following_list`. - `collections.views.record` · POST /collections/{id}/views · session · Record that a collection was opened. ### Webhooks (4) - `collections.webhook_get` · GET /collections/{id}/webhook · collections:read · Read a collection's webhook and its health. MCP tool: `collections_webhook_get`. - `collections.webhook_set` · PUT /collections/{id}/webhook · collections:write · Set a collection's webhook. MCP tool: `collections_webhook_set`. - `collections.webhook_remove` · POST /collections/{id}/webhook/remove · collections:write · Remove a collection's webhook. MCP tool: `collections_webhook_remove`. - `collections.webhook_test` · POST /collections/{id}/webhook/test · collections:write · Send a test ping to a collection's webhook. MCP tool: `collections_webhook_test`. ## Errors Every error is a JSON body `{error, detail?, field?}` with one of these codes and the status shown. - `invalid_json` (400): The body is not JSON. - `invalid_request` (400): A missing, invalid or unknown field; `field` names it and `detail` says why. - `invalid_skill` (400): A skill is refused; `reason` names why: skill_md_missing, frontmatter_missing, name_missing, name_invalid, name_mismatch, description_missing, description_too_long, markdown_missing, markdown_too_long, not_a_zip, zip_unsupported, unsafe_path, too_many_files, skill_too_large, not_single_folder, bundle_not_editable, binary_file (a file handed over MCP as text holds bytes that are not text) or path_conflict (a file where the bundle has a folder, or inside one of its files). - `not_a_text_note` (400): A text-note operation on an item that is not a note. - `collection_not_empty` (400): Delete refused for a non-empty collection without cascade. - `integrity_mismatch` (400): The declared length or SHA-256 does not match the bytes received. - `secret_material_detected` (400): The text contains token-shaped material; nothing was stored. - `webhook_url_not_https` (400): A webhook URL must use https. - `webhook_url_has_credentials` (400): A webhook URL must not carry credentials. - `webhook_url_zegazone_host` (400): A webhook URL must not point at Zegazone. - `webhook_url_blocked_host` (400): A webhook URL points at a blocked host. - `unauthorized` (401): Missing, invalid or expired agent token. - `wrong_token_type` (401): The wrong kind of credential: a session cookie sent to an agent route, or a bearer token to a session route. - `session_required` (401): This route needs a signed-in session. - `session_ended` (401): The session was ended; sign in again (the only answer that signs a client out). - `insufficient_scope` (403): The token lacks a scope; `need` names it. - `forbidden` (403): No access, not the owner, or admin only. - `insufficient_permission` (403): A collaborator lacks a permission; `permission` names it. - `account_suspended` (403): The account is suspended. - `email_verification_required` (403): Confirm the account's email first: publishing and sharing wait for it, and past the 48-hour deadline so does adding; `remedy` says how. - `alias_limit_reached` (403): The plan's alias cap is reached. - `publish_limit_reached` (403): The plan's published-collection cap is reached. - `missing_client_header` (403): A state-changing request without the X-Zegazone-Client header (B-AUTH-130). - `not_found` (404): Absent or not visible; also hides that a private thing exists (B-API-090). - `duplicate_collection_name` (409): A collection beside it (the same parent, or the owner's top level) already has this name; `conflict` names it. - `duplicate_library_name` (409): The person already has a library with this name (case ignored). - `library_follows_collection` (409): The library follows a collection, so it takes no collections by hand and has no order of its own; stop following first, or use another library. - `library_not_empty` (409): The library holds collections, so it cannot follow one; remove them first, or make a new library. - `cycle_detected` (409): A collection cannot move into its own subtree. - `nesting_too_deep` (409): Collections nest at most 64 levels deep; this would put one deeper. - `publish_handle_locked` (409): The handle of a published collection cannot change. - `alias_frozen` (409): The alias is frozen (over the plan's channels): what is published under it stays, nothing new publishes under it. - `alias_has_subscribers` (409): People subscribe to the alias: stop the subscription before it is retired. - `slug_taken` (409): The slug is reserved (deleted collections included). - `publish_held` (409): The secret check found a possible secret: fix the item or mark the finding not a secret, then publish. - `handle_taken` (409): The handle is taken. - `name_reserved` (409): The name is reserved. - `name_screen_rejected` (409): The name was refused by the name screen. - `skill_changed` (409): The skill changed since the version this edit was based on; nothing was written. Read it again (`current_version`) and redo the edit. - `note_changed` (409): The note's text changed since the version this write was based on; nothing was written. Read it again (`current_version`) and redo the change, or send `force: true` to write over it. - `ambiguous_reference` (409): The name given is held by more than one item you may read; nothing was done. `candidates` lists each (id, title, collection); ask the person which one and call again with its id. - `word_name_taken` (409): Another item in this account already has that name; nothing was written. `holder` names it (id, title, collection). - `idempotency_conflict` (409): The idempotency key was used for another operation. - `idempotency_done_unreplayable` (409): This request already went through, but its answer was not kept; read the result instead. - `idempotency_in_flight` (409): A request with this idempotency key is still running; ask again shortly. The server may hold a same-key request up to about 15 s before answering this (a key held after a 503 `server_busy`, at most 12 s, then one 2 s wait for the request that took it over). - `webhook_secret_unreadable` (409): The stored webhook secret cannot be decrypted; the webhook is disabled. - `export_in_progress` (409): An export of the account is already queued, being made, or ready for its 7 days; `export` is that one. - `restore_window_expired` (410): The restore window has passed. - `upload_expired` (410): The upload window has passed. - `download_expired` (410): The download window has passed. - `file_too_large` (413): The file is over the plan's per-file size. - `storage_quota_exceeded` (413): The owner's storage is full. - `rate_limited` (429): A burst limit was hit; `retry_after_seconds` says when to try again. - `quota_exceeded` (429): A resource cap (collections, items, bookmarks, live agent tokens). - `mcp_quota_exceeded` (429): The plan's monthly agent-operation allowance. - `decision_budget_exceeded` (429): The account's daily decision budget is spent (B-API-164). - `suggestion_allowance_exceeded` (429): The month's suggestion allowance is spent (B-API-166). - `server_error` (500): An unhandled failure; no detail is given. Safe to retry with backoff. - `server_busy` (503): The database did not answer within its budget; retry after `retry_after` seconds. - `invalid_token` (401): The bearer token is not an agent token this API issued (unknown or malformed). - `token_expired` (401): The agent token has passed its expiry; mint a new one. - `token_revoked` (401): The agent token was revoked; mint a new one. - `live_updates_unavailable` (503): No live-update token could be minted (the identity provider did not answer); the session is kept. Retry after `retry_after` seconds. - `payouts_unavailable` (503): Stripe is not configured here (no test-mode key), refused our key (401 or 403), or did not answer; `detail` says which. Nothing was changed at Stripe. - `payouts_refused` (502): Stripe refused the payouts request, so it made nothing. Asking again gets the same answer until the cause is fixed at Stripe; the reason is logged for the operator. - `charging_not_allowed` (403): Setting a price needs a paid plan, payouts set up and the creator terms accepted; `reason` names the first missing and `missing` lists them all. - `payouts_not_set_up` (409): The Stripe dashboard opens only once payouts onboarding is done. - `push_unavailable` (503): Push is not configured here (its signing keys are absent or do not make a pair); nothing was stored or sent. - `photo_search_unavailable` (503): Free-photo search is not available: no provider key is set here, or the provider is down or out of quota (`reason`). Upload your own image instead, or try again in a minute. - `billing_unavailable` (503): Billing is not switched on here, or the payment provider did not answer; nothing was opened or charged (`reason`). - `no_billing_account` (404): The account has no billing customer: it has never paid for a plan. - `selling_unavailable` (503): Selling is not switched on here, or Stripe could not be reached: no price was set and no checkout opened. - `seller_not_ready` (403): Setting a price needs a paid plan, payouts set up and the creator terms accepted (B-PUBLISH-165); `missing` names what is left. - `not_for_sale` (409): Nothing is for sale there: no live price, or the seller cannot take payments now. - `already_entitled` (409): You already receive this clear (the owner, a member, a buyer or a subscriber): there is nothing to buy. - `not_refundable` (409): A refund is available only while unopened and within 14 days (B-PUBLISH-164); `reason` says why not: `opened`, `window`, `refunded` or `ended`. - `has_buyers` (409): People bought this collection, so it can't be deleted: stop selling instead (B-PUBLISH-160); `buyers` says how many. - `has_subscribers` (409): People subscribe to this handle, so it can't be deleted yet: stop the subscription first (B-AUTH-170); `subscribers` says how many. - `upload_not_found` (409): Finalise found no uploaded bytes for this item yet; PUT them, then finalise again. - `render_failed` (502): The image could not be rendered (undecodable, or the renderer failed); nothing changed. Retry, or use another image. - `third_party_url_unavailable` (503): No single-object URL for a third-party viewer could be issued; show the viewer's error, never a broader URL. - `reset_link_expired` (410): The reset link is expired, already used, or was not opened in the browser that asked for it; `state` says `expired` or `used`. Ask for a new link. - `reauthentication_required` (403): A sensitive action wants a recent sign-in. Changing the password on a session over 24 hours old (R108): the identity provider wants the code it emails; `address` shows where it goes. Send it with `POST /auth/password/code`, then repeat the change with `code`. Minting a personal agent token (`POST /tokens`, ZEG-1401) wants proof within 10 minutes: `reason` `password_required`, repeat it with `current_password`; `sign_in_again`, sign in again, then repeat it. - `invalid_client` (401): OAuth: client authentication failed (an unknown client, or a wrong or missing secret). - `invalid_grant` (400): OAuth: the code or refresh token is unknown, expired, used, revoked or issued to another client, or the PKCE verifier or redirect URI does not match. - `unauthorized_client` (400): OAuth: this client is not registered for the grant type it asked for. - `unsupported_grant_type` (400): OAuth: the token endpoint serves authorization_code and refresh_token only. - `invalid_scope` (400): OAuth: the requested scope names nothing this client may be granted. - `invalid_target` (400): OAuth (RFC 8707): the resource is not one this server issues tokens for. - `invalid_redirect_uri` (400): OAuth registration: a redirect URI is outside the allowlist (docs/ops/OAUTH.md). - `invalid_client_metadata` (400): OAuth registration: a metadata field is missing, malformed or not supported.