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:
- The OpenAPI specification:
https://platform.billyapp.live/openapi.json - 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
- Never share your API key in public conversations
- Use environment variables for sensitive keys
- Verify generated code before executing it
- Test on the sandbox first before making production changes