ScaledThought Accounts API

The Accounts API from ScaledThought — 1 operation(s) for accounts.

GitHub OpenAPI

Operations 1

POST /v1/accounts Create an account in this region and get its first key (shown once) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scaledthought-com:scaledthought-com-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scaledthought-com-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScaledThought control plane Accounts API
  version: 0.1.0
  description: Accounts, keys, budgets, usage, prepaid credits (human-approved top-ups), files, batches and models. Inference is OpenAI-compatible at the base_url returned by signup.
servers:
- url: https://api.us.scaledthought.com
  description: us region
tags:
- name: Accounts
paths:
  /v1/accounts:
    post:
      operationId: createAccount
      summary: Create an account in this region and get its first key (shown once)
      description: 'Limited per network: refused while the client IP (IPv6: its /64) already has 5 accounts that never bought credits (buy credits on one of them or sign in to it instead); also 20 new accounts per network and a regional cap per 24 h. Over a limit: 429 `signup_rate_limited` (the 24 h limits add `retry_after_seconds` and a Retry-After header; the unpaid-accounts limit has `reason: unpaid_accounts_per_network` and no retry time). Creating an account accepts nothing on anyone''s behalf: the human accepts the Terms of Service when they buy credits (on the payment page). The response includes `terms_url`, `terms_version` and `terms_notice` to relay. Optional `source`: the campaign code from a scaledthought.com/go/ link (e.g. `a-rd`), stored on the account and echoed as `source` (null when absent or not a valid code; it never fails the signup). Optional `email`: your human''s email (400 `invalid_email` before anything is created). We email it one confirmation link (7 days); once they click it they own the account and sign in to its dashboard. Account email, and product emails they can unsubscribe from. The response then adds `email_confirmation` (sent | rate_limited | unavailable | failed: it never fails the signup), `owner_email_status` (pending | not_set) and `message_for_human` to relay. Without `email`, ask your human and use PUT /v1/account/email.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAccountInput'
      responses:
        '201':
          description: Account and key
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, revoked or expired (code key_expired) API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '421':
          description: Key belongs to another region
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Accounts
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type:
              - string
              - 'null'
          required:
          - message
          - type
          - code
      required:
      - error
    CreateAccountInput:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        region:
          description: Must match the regional API host you are calling
          type: string
          enum:
          - ca
          - us
        name:
          type: string
          minLength: 1
          maxLength: 120
        email:
          description: 'Optional: your human''s email. We email it one confirmation link; once they click it they own the account (dashboard sign-in, receipts, notices). Account email, and product emails they can unsubscribe from.'
          type: string
          maxLength: 320
        source:
          description: Optional campaign code from the link that brought you here (scaledthought.com/go/<code>), e.g. a-rd. Stored on the account when it is a valid code; anything else is ignored.
          type: string
          maxLength: 256
        ad_click:
          description: Optional signed ad-click token from an opt-in landing page (US region only; ignored elsewhere). Never required.
          type: string
          maxLength: 4096
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: st_{region}_{env}_… key
    anthropicApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: st_{region}_{env}_… key