ScriptSeen Behavior API

The Behavior API from ScriptSeen — 1 operation(s) for behavior.

GitHub OpenAPI

Operations 1

POST /v1/behavior/events Behavior Events #

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/scriptseen-com:scriptseen-com-behavior-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

scriptseen-com-behavior-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScriptSeen Behavior API
  version: 0.1.0
tags:
- name: Behavior
paths:
  /v1/behavior/events:
    post:
      summary: Behavior Events
      operationId: behavior_events_v1_behavior_events_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BehaviorBatch'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Behavior
components:
  schemas:
    BehaviorEvent:
      properties:
        schema_version:
          type: integer
          const: 1
          title: Schema Version
          default: 1
        event_id:
          type: string
          format: uuid
          title: Event Id
        event_name:
          type: string
          enum:
          - script_opened
          - practice_session_started
          - practice_checkpoint
          - practice_session_ended
          - practice_attempt_completed
          - practice_control_changed
          - practice_error
          - live_turn
          title: Event Name
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        installation_id:
          type: string
          format: uuid
          title: Installation Id
        product_session_id:
          type: string
          format: uuid
          title: Product Session Id
        script_id:
          type: string
          maxLength: 128
          minLength: 1
          title: Script Id
        script_version_id:
          anyOf:
          - type: string
            maxLength: 71
          - type: 'null'
          title: Script Version Id
        practice_session_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Practice Session Id
        attempt_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Attempt Id
        surface:
          type: string
          enum:
          - script
          - teleprompter
          - line_practice
          title: Surface
        environment:
          type: string
          enum:
          - production
          - development
          - test
          title: Environment
        app_version:
          type: string
          maxLength: 64
          minLength: 1
          title: App Version
        ui_locale:
          type: string
          maxLength: 16
          minLength: 2
          title: Ui Locale
          default: en
        device_class:
          type: string
          enum:
          - mobile
          - tablet
          - desktop
          - unknown
          title: Device Class
          default: unknown
        consent:
          $ref: '#/components/schemas/Consent'
        properties:
          additionalProperties: true
          type: object
          title: Properties
      type: object
      required:
      - event_id
      - event_name
      - occurred_at
      - installation_id
      - product_session_id
      - script_id
      - surface
      - environment
      - app_version
      - consent
      - properties
      title: BehaviorEvent
    Consent:
      properties:
        product_analytics:
          type: boolean
          title: Product Analytics
          default: false
        model_improvement:
          type: boolean
          title: Model Improvement
          default: false
        version:
          type: string
          maxLength: 32
          minLength: 1
          title: Version
          default: '2026-09-05'
        decided:
          type: boolean
          title: Decided
          default: true
      type: object
      title: Consent
    BehaviorBatch:
      properties:
        events:
          items:
            $ref: '#/components/schemas/BehaviorEvent'
          type: array
          maxItems: 20
          minItems: 1
          title: Events
      type: object
      required:
      - events
      title: BehaviorBatch
    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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError