Skip to main content

Workspaces

A workspace is Maglane's resource, collaboration, capacity, and subscription boundary. Every account has at least one workspace. A workspace owns its managed proxies, tags, judges, scrape sources, rotators, operational settings, usage, and subscription.

Membership gives an account access to those resources; it does not make the member an owner of individual proxies or let the member contribute capacity.

Share your first workspace​

Suppose you manage a proxy pool and want a colleague to inspect its health.

  1. Ask your colleague to register an account on the same Maglane installation.
  2. Select the pool's workspace in the top bar and open Workspace.
  3. Under Invite by email, enter the colleague's account email and choose Viewer. Send the invitation. Use Operator instead if they need to import proxies or change the pool's settings.
  4. Your colleague opens the top-right notification bell, selects Workspace invitations, reviews the offered role, and selects Accept invitation.
  5. They select Open workspace or switch through the top bar. Confirm they can see the expected pool.

An invitation is an offer of access. The recipient has no membership until they accept it. Email helps them notice the offer, but the in-app inbox works without SMTP.

Scroll to see a wide diagram, or open a larger view.

Select a workspace​

Use the workspace selector in the top bar to change the active workspace. Maglane remembers the selection as your default workspace and reloads workspace-scoped data after the change.

API clients select a workspace with X-Workspace-ID. If the header is omitted, Maglane uses the account's default membership. See Workspace API.

Roles​

RoleRead resourcesOperate resourcesManage members and workspaceGrant ownership or billing access
ViewerYesNoNoNo
OperatorYesYesNoNo
AdminYesYesYesNo
OwnerYesYesYesYes

Operators can import, tag, pause, activate, archive, and delete managed proxies. They can also change workspace settings and manage scrape sources and rotators. Viewers have read-only access. Billing-administrator status is separate from the role and is reserved for future billing operations; only an owner can grant or revoke it.

Owners can manage every role. Admins can invite, edit, and remove operators and viewers, but cannot manage owners, other admins, or billing access. A workspace must always keep at least one owner. Transfer ownership before removing the final owner or deleting an account that is the sole owner of a shared workspace.

Removing a member only revokes access. It does not change the workspace's subscription or capacity, pause routes, or delete infrastructure.

Transfer ownership safely​

An existing owner first promotes another accepted member to Owner on the workspace page and saves the change. Confirm that the new owner can manage members. The former owner can then be demoted or removed by an authorized owner. Maglane blocks changes that would leave the workspace without an owner.

Global instance administration is separate from these roles. Being an instance administrator does not grant membership of every workspace.

Invitations​

Workspace access starts as a pending invitation, not an immediate membership. The recipient must already have a Maglane account, and the invitation is bound to that account. There is no invitation link or bearer token that can be forwarded to another person.

Owners can invite admins, operators, and viewers. Admins can invite operators and viewers. Only owners can include billing access. A workspace can have one pending invitation for each recipient account.

Pending invitations appear in two places:

  • Workspace admins and owners see outgoing invitations on /workspace, including recipient, inviter, role, billing access, expiry, and notification status. They can edit permitted access or revoke the invitation.
  • Recipients open the top-right notification bell and select Workspace invitations to see invitations from every workspace on /invitations. Accepting creates the membership; declining deletes the invitation.

Accepting does not switch the active workspace or change the account's default workspace. Use Open workspace or the top-bar selector when you want to switch.

Invitations expire after seven days by default. Editing an invitation does not renew its expiry. Accepted, declined, revoked, and expired invitations are deleted rather than kept as history.

Email notifications​

If SMTP is configured, Maglane automatically queues an email when an invitation is created and an "invitation changed" email when its role or billing access changes. Users cannot manually resend either message.

Email is only a notification channel. If SMTP is missing or the outbox cannot queue the message, the pending invitation remains available in /invitations. No email is sent when an invitation is accepted, declined, revoked, or expires.

Managed route capacity​

One workspace-to-route association is one managed proxy. An active managed proxy consumes one active-route unit exactly once, regardless of who imported it or how many tags, sources, and rotators use it.

Managed proxies have three lifecycle states:

  • Active: checked and available to rotators; consumes capacity.
  • Paused: stored, but not checked or available to rotators; does not consume active capacity.
  • Archived: retained for later recovery, but not checked or available to rotators; does not consume active capacity.

When scrape sources or manual imports exceed a finite capacity limit, Maglane stores the overflow routes as paused with a capacity reason. Activating another route is rejected until capacity is available. A limit change or downgrade never deletes routes; startup reconciliation pauses the newest active overflow routes.

The proxy list and dashboard total include active, paused, and archived proxies. For example, a workspace with a 20,000 active-route limit can store 70,000 scraped proxies, with 20,000 active and 50,000 paused for capacity. Use the workspace page to compare active routes with the limit, or filter the proxy list by lifecycle state.

The workspace page shows active and stored route counts together with the current entitlement snapshot, warns above 80%, and explains when the activation limit has been reached. Self-hosted installations are unlimited by default. If the legacy global proxy limit is enabled, Maglane uses it to seed finite capacity for newly created and migrated workspaces; administrator exclusions still apply when the entitlement is created.

Capacity example​

For a workspace with a limit of 100 active routes:

ActionStored routesActive routesCapacity outcome
Import 80 new routes8080All fit.
Import 50 more distinct routes130100The 30 overflow routes remain stored as paused.
Pause 10 active routes13090Ten active-route units become available.
Activate 10 paused routes130100The workspace reaches its limit again.
Invite another member130100Membership does not add capacity.

Tags and source associations do not multiply the cost of a managed route. A second workspace managing the same underlying route uses its own capacity. For the full state transition diagram, see Proxies.

Subscription and usage model​

Each workspace has one subscription record and one capacity allowance. The model already separates included capacity, additional capacity, permitted overage, operator seats, minimum check interval, monthly check and scrape allowances, statistics retention, check attempts, and managed traffic usage. Billing-provider integration is intentionally not exposed yet.

Check and scrape allowances​

A workspace does not have a fixed check interval. It has a monthly check allowance and a monthly scrape allowance. Maglane spreads what is left of each allowance evenly over the rest of the calendar month (UTC):

check interval = time left in month × checks per cycle ÷ checks left
checks per cycle = active proxies × enabled protocols × average requests per test
  • One check is one request to a judge for this workspace. Retries are checks too: a protocol test with two retries uses three checks. The average requests per test is measured from this month's checks, so frequent retries slow the cadence instead of using up the allowance early. More retries therefore cost more allowance, as does a longer timeout that keeps failing.
  • Only active proxies count. Paused and archived proxies, including their tag-rule protocols, are not checked and do not count.
  • Each request is charged just before the checker sends it, separately from proxy history, which may drop results under heavy load. Every request is charged even if its result is not stored. Usage counts in the month the request was made, even when it is recorded a few seconds after midnight.
  • One scrape is one fetch of one subscribed scrape source.
  • Checks are never more frequent than once a minute, or the plan's minimum check interval if that is longer. Scrapes are never more frequent than every 15 minutes.
  • Adding proxies or protocols slows the cadence, and removing them speeds it up. Maglane recalculates every minute, so heavy use early in the month slows the rest of the month instead of using up the allowance early.
  • When an allowance is used up, the workspace's proxies or sources are not checked or scraped again until the next month. They stay active and keep their last results. A checker stops sending the workspace's requests, retries included, as soon as its own count reaches the allowance. Requests already on their way still finish, and when several checker instances serve one workspace, each sees the others' checks within a minute. Usage can therefore go slightly past the allowance, by up to about one minute of checks.
  • If the allowance runs out during a protocol test's retries, the requests already sent are charged, and the test produces no result. It does not count as a failed check.
  • When several workspaces share a proxy or source, each one is checked or scraped and charged at its own cadence. A workspace that adds a proxy another workspace already checks gets its first check at its own cadence, however slow the other workspace's is.
  • Each proxy has its own scheduled check times, spread across the interval, so a workspace's proxies are not all checked at once. A new or reactivated proxy is first checked at its next scheduled time, not at once.
  • With an Automatic interval, one proxy's checks are not exactly the shown interval apart. Maglane recalculates the interval every minute, so it keeps each proxy's check times fixed and only adds or drops some of them: two scheduled check times of one proxy are more than half and at most twice the interval apart, and average the interval.
  • A check starts at its scheduled time, or later when workers are busy or the previous check of that proxy is still running.
  • Workspaces that check the same proxy share its checks. A check can therefore come before its scheduled time, by less than the time until the proxy would next be checked for another workspace. Two checks of one proxy can then be closer together or further apart than their scheduled times are. Each workspace is still charged for its own checks only, one per scheduled time.
  • A change of interval or allowance reaches every proxy within six hours.

Choose your own interval​

By default the check and scrape intervals are Automatic: the remaining allowance is spread evenly, as described above. Operators and higher can choose a Fixed interval instead, for example "every 10 minutes", in the Monthly allowances card on the Workspace page.

  • A fixed interval is used as is, from the start of one check of a proxy to the start of the next. A check that takes longer than the interval skips the times it overlapped. It must be at least the plan's minimum (one minute for checks, 15 minutes for scrapes) and at most 31 days.
  • Checks or scrapes stop when the allowance is used up, then resume next month.
  • While you edit an interval, the page warns if it would need more than the monthly allowance. It shows roughly how many checks a month it needs and when the allowance would run out. Saving shows the same warning. After saving, the card keeps showing when the allowance is expected to run out at that interval.
  • The estimate uses the current number of active proxies × enabled protocols (or subscribed sources), so it changes as you add or remove proxies.

API: PUT /api/workspace/cadence with {"check_interval_seconds": 600, "scrape_interval_seconds": 0}. Use 0 for automatic. The response includes a warnings array.

Workspaces without a monthly limit​

An administrator can remove the limit on checks, scrapes or both, for one workspace or as the instance default. The card then shows No limit and only counts usage.

  • With no limit there is nothing to spread, so the interval must be Fixed. Automatic is unavailable, and the API rejects 0 for that interval with 400.
  • Until operators choose an interval, the workspace runs every hour. The editor starts on one hour and offers to save it.
  • The plan's minimum interval still applies.
  • Checks and scrapes never stop for allowance reasons, and no over-allowance warning is shown. Usage is still metered.

The Workspace page shows each allowance, how much has been used and the current cadence. It reloads them every minute while it is open, and saving an interval or allowance shows the new cadence at once. Workspaces use the instance defaults unless an administrator sets their own allowance (see Administration).

Checker attempts are attributed through the existing asynchronous statistics pipeline. Hosted rotators meter authenticated/accepted requests or tunnel connections and payload bytes in memory, then flush aggregate deltas to the monthly workspace usage period. Request handling does not wait for a usage database write. Payload-byte counters exclude protocol headers and are separate from active-route capacity.

Members cannot pool personal allowances. When billing is added, capacity purchases and subscription transfers will update the workspace entitlement without changing resource ownership.

Organization is reserved for a future billing and identity parent spanning several workspaces. Team is reserved for a future permission group inside a workspace.