Usage with AI
XenonFlare provides specialized documentation formats to help you build faster using AI assistants like Cursor, Windsurf, or GitHub Copilot.
Context Files
We provide a single, comprehensive API reference optimized for LLM context windows. This file contains all type definitions, validation rules, platform-specific configurations, and endpoint details in a machine-readable format.
You can copy the content of this file and paste it into your AI chat to give it full knowledge of our API.
Cursor / Windsurf Rules
If you are using Cursor or Windsurf, you can add our documentation to your .cursorrules or project rules by referencing our llms.txt.
LLM Discovery URL
https://docs.xenonflare.com/llms.txt
Example Prompt
When asking an AI to write code for XenonFlare, you can use a prompt like this:
"I need to upload a video to YouTube and TikTok using the XenonFlare API. Here is the API reference: [PASTE_CONTENT_HERE]. Please write a Node.js script using axios that includes proper error handling and configures the YouTube video as 'unlisted'."