Scoopika API Endpoint
To use Scoopika in web applications, both server-side and client-side, we recommend creating a Scoopika endpoint. This setup can be done in under 5 minutes.
Why Create a Scoopika Endpoint?
Creating a Scoopika endpoint simplifies the integration process and enhances the functionality of your AI agents. Here’s why:
- Ease of Use: Instead of managing HTTP requests and streaming responses manually, the Scoopika endpoint handles all communication between the client and server seamlessly. This makes client-side usage as straightforward as server-side usage.
- Enhanced Functionality: The endpoint allows you to add tools to your agents from both the server and the client-side, unlocking a wide range of custom functionalities.
- Flexibility: It works out of the box with any web framework, providing a versatile solution for various application needs.
Benefits
A Scoopika API endpoint offers several built-in features:
- Client-Side Usage: Enables all Scoopika functionalities on the client-side, including agent interactions, data loading, and session management.
- Server-Client Streaming: Supports real-time streaming hooks on the client-side for agent response tokens, tool calls, audio, and other events.
- Caching: Caches agent data on your servers to improve performance and reduce load usage.
- Client-Side Actions: Allows agents to execute tools safely in the user’s browser in real-time.
Example usage (with express)
Here’s a simple example of setting up a Scoopika endpoint using Express
Server-side
Client-side
Learn more
For detailed instructions on using Scoopika with web applications and adding tools to agents on the server-side, see the full guide here.
Was this page helpful?