Main workspace has an ID?

This is kind of confusing, and I’m not sure if there has been a recent change or not.

According to the documentation:

**Please note** that every account has a *Main* workspace that returns a null workspace ID because you cannot return *Main* workspace details via the API.

However, my “Main workspace” does have an ID:

And I can query its details from the API (workspaces object):

Has there been a change recently that returns main workspace details?

Hi @EricM,

Thanks for bringing this to our attention! I also had not yet encountered this, but I found out that this is due to our multi-product migration that is being completed over the next few months.

The end result will allow all users to query the main workspace, but for now, only some users have this capability. I’ve added a note for clarification in the documentation, and we will of course provide more updates/new documentation as these changes are rolled out.

Let us know if you have any other questions! :smiley:



Thanks for the information @rachelatmonday. Do you know if this new main workspace functionality will make the main workspace appear in a query like this:

query { workspaces {id name}}

Currently, the main workspace doesn’t appear in this query. Also, do you happen to know when the migration will be complete? Is this functionality a part of a new API version, or will the main workspace suddenly appear in a query like the one above?

@rachelatmonday Not sure if you saw my previous question, but I just wanted to mention you again just in case.