Skip to main content
The 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_KEY environment variable
  • A URL AiQL can reach

Convert a URL

Send the location of your source as url. 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.
The response contains the normalized markdown, which is what later steps and billing operate on.

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.