Scale AI Users API

The Users API from Scale AI — 3 operation(s) for users.

Operations 3

GET /users/{user_id} Get User #
PATCH /user-preferences Update user info #
GET /user-info User info #

Documentation

Specifications

SDKs

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-object-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-export-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-by-span-metrics-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-metrics-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-api-apps-public-routers-inference-inference-model-models-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-utils-model-schemas-completions-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-completion-request-v2-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-execute-agent-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-legacy-evaluation-response-with-views-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-agent-run-schedule-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-register-agent-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-update-agent-run-schedule-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-agent-run-schedule-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-span-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-span-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-research-job-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-job-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-data-source-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-parse-result-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-file-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-sgpvector-store-create-request-base-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-completion-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-completion-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-model-endpoint-v1-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-update-model-endpoint-v1-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-batch-completions-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-batch-completions-v1-request-schema.json

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/scale-ai:scale-ai-users-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

scale-ai-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EGP API V4 Users API
  description: This is the parent API for all EGP APIs. If you are looking for the EGP API, please go to https://api.egp.scale.com/docs.
  contact:
    name: Scale Generative AI Platform
    url: https://scale.com/genai-platform
  version: 0.1.0
servers:
- url: https://api.egp.scale.com
security: []
tags:
- name: Users
paths:
  /users/{user_id}:
    get:
      tags:
      - Users
      summary: Get User
      description: Get basic information for a user. The requester must belong to the same organization as the target user and be an admin or manager of an account the target user belongs to.
      operationId: GET-V4-/users/{user_id}
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfoBase'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-source: https://docs.gp.scale.com/reference/v4/users/get-user
  /user-preferences:
    patch:
      tags:
      - Users
      summary: Update user info
      description: Update preferences for the logged in user making this request.
      operationId: PATCH-V4-/user-preferences
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserPreferencesUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserPreferencesUpdateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-source: https://docs.gp.scale.com/reference/v4/users/update-user-info
  /user-info:
    get:
      tags:
      - Users
      summary: User info
      description: Get basic information for the logged in user making this request including preferences.
      operationId: GET-V4-/user-info
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfo'
      x-source: https://docs.gp.scale.com/reference/v4/users/user-info
components:
  schemas:
    Account:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        organization_id:
          title: Organization Id
          type: string
        status:
          type: string
          title: Status
          description: 'The status of the account: active, disabled, locked'
      type: object
      required:
      - id
      - name
      - status
      title: Account
    IdentityType:
      type: string
      enum:
      - user
      - service_account
      title: IdentityType
    UserInfo:
      properties:
        id:
          type: string
          title: Id
          description: User id
        first_name:
          title: First Name
          description: First name
          type: string
        last_name:
          title: Last Name
          description: Last name
          type: string
        email:
          type: string
          title: Email
          description: E-mail address
        access_profiles:
          items:
            $ref: '#/components/schemas/AccessProfile'
          type: array
          title: Access Profiles
          description: A list of access profiles that the selected user has access to
        organization_id:
          title: Organization Id
          description: The organization ID of the user.
          type: string
        is_organization_admin:
          title: Is Organization Admin
          description: True if the current user is an organization admin.
          type: boolean
        is_deployment_admin:
          title: Is Deployment Admin
          description: True if the current user is a deployment admin.
          type: boolean
        preferences:
          title: Preferences
          description: User preferences that can be stored in the Scale GenAI Platform.
          additionalProperties: true
          type: object
        assumed_access_profile:
          $ref: '#/components/schemas/AccessProfile'
          description: Present if the user has assumed a specific access profile via JWT token.
      type: object
      required:
      - id
      - email
      - access_profiles
      title: UserInfo
    Role:
      type: string
      enum:
      - manager
      - admin
      - editor
      - member
      - labeler
      - disabled
      - invited
      - viewer
      title: Role
    UserPreferencesUpdate:
      properties:
        preferences:
          title: Preferences
          description: User preferences that can be stored in the Scale GenAI Platform.
          additionalProperties: true
          type: object
      type: object
      title: UserPreferencesUpdate
    AccessProfile:
      properties:
        id:
          type: string
          title: Id
          description: Access profile id.
        identity:
          $ref: '#/components/schemas/Identity'
          description: The identity in the access profile.
        role:
          $ref: '#/components/schemas/Role'
          description: The role of the user in the access profile.
        account:
          $ref: '#/components/schemas/Account'
          description: The account in the access profile.
      type: object
      required:
      - id
      - identity
      - role
      - account
      title: AccessProfile
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
          additionalProperties: true
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UserInfoBase:
      properties:
        id:
          type: string
          title: Id
          description: User id
        first_name:
          title: First Name
          description: First name
          type: string
        last_name:
          title: Last Name
          description: Last name
          type: string
        email:
          type: string
          title: Email
          description: E-mail address
        access_profiles:
          items:
            $ref: '#/components/schemas/AccessProfile'
          type: array
          title: Access Profiles
          description: A list of access profiles that the selected user has access to
        organization_id:
          title: Organization Id
          description: The organization ID of the user.
          type: string
        is_organization_admin:
          title: Is Organization Admin
          description: True if the current user is an organization admin.
          type: boolean
        is_deployment_admin:
          title: Is Deployment Admin
          description: True if the current user is a deployment admin.
          type: boolean
        preferences:
          title: Preferences
          description: User preferences that can be stored in the Scale GenAI Platform.
          additionalProperties: true
          type: object
      type: object
      required:
      - id
      - email
      - access_profiles
      title: UserInfoBase
    Identity:
      properties:
        id:
          type: string
          title: Id
        object:
          type: string
          const: identity
          title: Object
          default: identity
        type:
          $ref: '#/components/schemas/IdentityType'
      type: object
      required:
      - id
      - type
      title: Identity
    UserPreferencesUpdateResponse:
      properties:
        updated:
          type: boolean
          title: Updated
          description: Whether the user preferences was successfully updated.
        preferences:
          title: Preferences
          description: User preferences that can be stored in the Scale GenAI Platform.
          additionalProperties: true
          type: object
      type: object
      required:
      - updated
      title: UserPreferencesUpdateResponse
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
x-assembled-from: Per-operation OpenAPI fragments embedded verbatim in docs.gp.scale.com reference pages; source spec https://api.sgp.scale.com/openapi-versions/v4/openapi.json (404 when assembled)