convert tool is the first step of the pipeline. It takes any URL and normalizes its contents into clean markdown that the other tools can process.
Prerequisites
- An AiQL API key in the
AIQL_API_KEYenvironment variable - A URL AiQL can reach
Convert a URL
Send the location of your source asurl. It can be a file URL of any extension, a web page, a YouTube video, or any other URL. Tool requests authenticate with a Bearer token and do not need a workspace.
Next step
Pass the converted markdown to Split to break it into smaller chunks.convert is billed at 5 credits per page, counted after the source document is normalized, with a minimum of 1 credit. See Pricing for details.