Streamtime is multi-tenant: everything belongs to an organization, and users belong to organizations.
Organizations
An organization is a tenant: its fleets, workloads, settings, users and secrets are isolated from every other organization. Organization identifiers are short slugs (lowercase and dashes, ≤ 24 characters) and appear in every API path.
In the sidebar, go to Organizations and select Create organization.
Give it a Name and Identifier, then select Create.
Open the organization and add users under Users.
curl -X POST "https://<streamtime-api-endpoint>/organizations/"\-H"Authorization: Bearer YOUR_API_TOKEN"\-H"Content-Type: application/json"\-d'{"identifier": "acme", "name": "Acme"}'
Invite a user into an organization:
curl -X POST "https://<streamtime-api-endpoint>/organizations/acme/members/invite/"\-H"Authorization: Bearer YOUR_API_TOKEN"\-H"Content-Type: application/json"\-d'{"email": "dev@acme.example"}'
Paths from the committed OpenAPI snapshot; bodies are schema-derived and not executed against a live deployment.
Not available for this language yet.
Not available for this language yet.
Not available for this language yet.
streamtime org list
streamtime org get <org>
MCP is scoped to one organization — the one in its URL — and reads its state; it does not create organizations.
Users and invites
Users sign in through the organization’s identity provider (see Identity Providers). An organization’s administrator invites users; an invite grants access to that organization only.
packagemainimport("bytes""crypto/rand""encoding/hex""encoding/json""net/http""os")constapi="https://api.example.com/organizations/<org>"// newKey returns a random idempotency key.funcnewKey()string{b:=make([]byte,16)rand.Read(b)returnhex.EncodeToString(b)}// call sends one request with the access token and a JSON body (or none).// An optional idempotency key is sent as the Idempotency-Key header.funccall(method,pathstring,bodyany,idempotencyKey...string)(*http.Response,error){varbufbytes.Bufferifbody!=nil{iferr:=json.NewEncoder(&buf).Encode(body);err!=nil{returnnil,err}}req,err:=http.NewRequest(method,api+path,&buf)iferr!=nil{returnnil,err}req.Header.Set("Authorization","Bearer "+os.Getenv("STREAMTIME_TOKEN"))req.Header.Set("Content-Type","application/json")iflen(idempotencyKey)>0{req.Header.Set("Idempotency-Key",idempotencyKey[0])}returnhttp.DefaultClient.Do(req)}
Invite a member
Inviting someone gives them access to this organization. It doesn’t create their account at your identity provider: set them up there first.
Go to Settings → Team Members and invite a member.
Enter their Email and Select Role: Administrator, Billing Administrator, Cluster Administrator, Infrastructure Administrator or Project Owner.
With Streamtime identity as the sign-in, also set a Password; they sign in with this email and password.
Save. Update Member Role changes a role later; removing a member ends their access to the organization.
Creating the resource invites the person. For a new person signing in with Streamtime identity, also set initial_password from a sensitive variable; it is used only for the invitation. Destroying the resource removes their membership, not their account at your identity provider.
Super users (the SUPER_USER_EMAILS / fleetmanager.superUserEmails list) can create organizations and have complete administrator privileges everywhere. Typically just the deployment owner.
Organization administrators manage their organization: users, fleets, workloads and settings.
Members use what their organization gives them access to.
First steps after login
Sign in to the root organization (your email must be in the super user list — see Installation).