BillyAPI Platform

Using with LLMs

Feed the Billy OpenAPI specification to an LLM to generate integration code.

LLMs (Large Language Models) like GPT-4, Claude, or Gemini can help you interact with the Billy API conversationally.

Providing Context to an LLM

For the LLM to understand the Billy API, provide it with:

  1. The OpenAPI specification: https://platform.billyapp.live/openapi.json
  2. This getting started guide

Example Prompt

You are an assistant specialized in the Billy ticketing API.

Here is the OpenAPI specification of the API: https://platform.billyapp.live/openapi.json

Help me to:
1. List all my events
2. Count the number of tickets sold per event
3. Generate a CSV sales report

Generate a Python script to run these tasks.

Best Practices with LLMs

  1. Never share your API key in public conversations
  2. Use environment variables for sensitive keys
  3. Verify generated code before executing it
  4. Test on the sandbox first before making production changes

On this page