Poly Frequently Asked Questions

  • How can I create a ChatGPT plugin using Poly API?

    To create a ChatGPT plugin, identify the functions you want to include, follow the steps to generate a plugin using the provided specifications, and install it in the ChatGPT plugin store.

  • How can I generate a client library using Poly API?

    To generate a client library, ensure you have dependencies like Node.js and ts-node, install the PolyAPI client package with npm, and run the command "npx poly generate." Provide your instance URL and API key to generate the client library.

  • How can I use the error handler in Poly API?

    The error handler module helps catch errors across your Poly environment. You can define specific contexts, application IDs, or environment IDs to monitor, helping operations teams centralized error handling.

  • How do custom functions work in the Poly API?

    Users can write custom functions in common languages like TypeScript, test them locally, and deploy them server or client-side. These functions become discoverable and usable via the Poly AI Assistant and client library.

  • How does Poly API improve IT security?
    Poly API enhances IT security by providing better governance around API and Event consumption. It enables centralized management of API keys and credentials, improving visibility into usage and helping prevent unauthorized access.
  • How does Poly API's AI chat interface save time for developers?

    The AI chat interface within IDEs like VS Code provides direct answers and examples, saving time compared to manually browsing through specifications or documentation, improving efficiency.

  • How does using Poly API lead to cost savings and smaller teams?
    Poly API makes developers more efficient in consuming APIs and Event Streams, allowing them to create more systems with the same resources or the same number of systems with fewer resources. This reduces the need for larger development teams, leading to cost savings.
  • What are custom functions in the Poly API?

    Custom functions in Poly API are user-defined derivatives built on top of one or more APIs. They can perform transformations, orchestrations, aggregations, routing rules, and other tasks, enhancing capabilities and improving API interactions.

  • What are some core advantages of using Poly API over other alternatives?

    Poly API:

    • Is natively developed on Kubernetes, providing scalability and management advantages.
    • Supports common programming languages (e.g., TypeScript, Python) for greater flexibility.
    • Utilizes well-known tools among developers like NPM, Node, and VS Code, improving integration.
    • Offers a unified platform for building applications and integrations, streamlining development.
    • Employs AI-powered chat interfaces to quickly answer questions and provide examples.
    • Supports multiple human languages, making programming more accessible.
  • What are the key use cases for which Poly API can be beneficial?

    Poly API helps:

    • Make internal and external APIs more accessible to developers building integrations and applications.
    • Simplify product APIs for developer partner communities.
    • Enable successful consumption of APIs by AI agents and other language models.
    • Govern external service consumption more effectively within an enterprise.
  • What is the core business value proposition of Poly API?
    Poly API enables enterprises to rapidly innovate by leveraging APIs and Events to develop new applications, user experiences, and AI agent integrations more efficiently. This leads to cost savings, smaller teams, and improved IT security through better governance practices.
  • What is Vari in Poly API?

    Vari (Variables) is a feature that lets you store configuration data, including credentials, server-side. It offers functions to retrieve, update, and inject variable values, enhancing flexibility and enabling runtime configuration changes.

  • Which APIs are pre-trained and supported by Poly API?

    Poly API offers out-of-the-box support for APIs like Shopify's "Products" API, providing core capabilities to build applications and integrations with these services. We currently have over 150 trained APIs embedded in Poly.