Create (or enable API on an existing) workspace org and return the first API key. Used by docs-only developers to bootstrap API access.
Flow:
existing_org_id is set and the user is an owner/admin, light
up API fields on that Firestore org. Otherwise create a fresh org
doc under the user’s ownership.sk_live_* key, store its hash, return the raw
value once in this response.The raw key is never persisted in the response body elsewhere — subsequent list calls only show the prefix.
Create a workspace org + first API key in one shot.
The caller is authenticated via Firebase ID token. If they already
belong to a workspace and want to enable API access on it, pass its
existing_org_id instead of creating a new one.
Successful Response