Socket
Book a DemoInstallSign in
Socket

stentor-service-studio

Package Overview
Dependencies
Maintainers
1
Versions
1092
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stentor-service-studio

OC Studio service for 📣 stentor

latest
npmnpm
Version
1.61.15
Version published
Weekly downloads
412
-68.21%
Maintainers
1
Weekly downloads
 
Created
Source

@xapp/stentor-service-studio

Service for communicating with an OC Studio Runtime API for 📣 stentor based applications.

This is used by default within the Assistant builder and relies on environment variables for configuration.

It is also possible to pass an instance to both the Assistant builder methods withHandlerService() or withKnowledgeBaseService() since it implements both HandlerService and KnowledgeBaseService.

Configuration

The StudioService can be configured either through environment variables or by passing in properties to the constructor.

Environment VariablePropertyDescription
STUDIO_BASE_URLbaseURLDefaults to https://studio.xapp.ai. Update this to point to another instance of OC Studio
STUDIO_APP_IDappIdRequired, matches the application that the token is associated with
STUDIO_TOKENtokenRequired, the token used to authenticate the application and give it permission to communicate with the API

If you want to configure it through the constructor properties, you must pass it to the withHandlerService() method. Setting the environment variables do not necessarily require this.

const service = new StudioService({ token: "token", appId: "appId" });

const assistant = new Assistant().withHandlerService(service).lambda();

FAQs

Package last updated on 10 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.