Skip to content
Connect your AI

Ahel over HTTP

Three steps, with a team key and no sign-in flow. Then your script can find an action in the Catalog and run it.

Get an API key

One call

export AHEL_TOKEN=<your key>
curl -sG https://ahel.ai/api/v1/call/<action id> -H "X-Ahel-Token: $AHEL_TOKEN" --data-urlencode "<input>=<value>"

Any action id from the Catalog, with its inputs as query parameters.

Three steps

  1. Get a key in the app under Organization settings, API keys. It is free to start, and the key is your team's.
  2. Make one call: GET /api/v1/call/<action id>, with the key in the X-Ahel-Token header and each input as a query parameter.
  3. Read the rows. The answer is JSON, and the cost comes back in the X-Ahel-Cost-USD header.

Send X-Ahel-Max-Cost to refuse a run priced above your limit, with no charge.

Every route, as OpenAPI

What to call first

GET https://ahel.ai/api/platform/v2/catalog?q=<what you want done>

Other ways in