Skip to main content
A Workspace can connect several accounts of one provider, for example three ChatGPT subscriptions. The API lists them, names them and picks Fast mode, as the model picker does in the app.

What you will have

  • Each connected account’s key, email and name.
  • An account renamed, so people and agents can tell it apart.
  • A Session turn running in Fast mode.

Prerequisites

An API key from Settings > API with org:read to list accounts, org:write to rename one, and run for Sessions. Keep your Workspace id from GET /v3/self.

List the connected accounts

Each item names one account:
account_email is the email the provider reports for a subscription sign-in. account_display_name is the name someone gave the account. Secrets are never returned.

Rename an account

The name replaces the email in the model picker and in Settings > Models. Send null to clear it. Names are trimmed and cut to 80 characters. A member renames only accounts they connected; owners and admins rename any. Reference: Rename a provider account.

Run a turn in Fast mode

Add speed: "fast" when you create a Session, send it a message, or message a Reason:
Fast mode asks the provider for its priority tier, which answers sooner and uses the plan faster. Today that is a ChatGPT subscription’s models; on other models the turn runs at standard speed. To pick one account, add its model_source_id from List models (groups[].accounts[].source_id).

Rules that surprise people

  • speed applies to the turn its message starts: a new Session, a finished Session’s next message, a queued message (delivery: "queue") or a Reason’s first message. A message steered into a running turn joins it at that turn’s speed.
  • Each turn names its own speed. Omit speed and the turn runs at standard.
  • A Session started in one of the app’s capability modes keeps standard speed unless the message also sends model or reasoning_effort.
  • Any value other than standard or fast returns 400.