Ahel

v1.0.2
ai.ahel/ahel Checked 3 days ago Published 8 days ago

One link to the data your AI needs: companies, people, social, search, web and registers.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

capability_inspect Read and price an action

One action by its id: its inputs, what it gives and its price rule. With arguments (the person's real inputs) it also prices that exact run: the most it can cost, what it usually costs, the balance, and a consent sentence to read to the person. Nothing runs and nothing is charged. With rows or rows_text (up to 100, for people.email.find or companies.register.search or companies.emails.from_website) it prices a whole list. Use it before every paid run. For builders: endpoint_ids or exclude_endpoint_ids add the provider list those take. Free. NOT for: finding the id, which is capability_search,…

ParameterTypeDescription
id *stringAn action id or tool id from capability_search.
argumentsobjectOptional: the run's inputs, by name, to price that exact run (a quote only; nothing runs).
endpoint_idsarrayWith arguments: price the run on these providers only (endpoint ids from this answer).
exclude_endpoint_idsarrayWith arguments: price the run without these providers.
max_itemsnumberWith arguments: most rows to price for, 1-100. Default 10.
rowsarrayA list for people.email.find or companies.register.search or companies.emails.from_website: 1 to 100 rows, each run once as its own run with its own exact cost. One object per row, such as {"name": "J…
rows_textstringA list for people.email.find or companies.register.search or companies.emails.from_website: 1 to 100 rows, each run once as its own run with its own exact cost. Instead of rows: paste up to 100 rows a…
timeout_secondsnumberWith arguments: longest the run may take, 1-180 seconds. Default: the provider's own (60, more for slow sources).

run_capability Run an action

Run one action, after the person agreed to the price capability_inspect gave. Give id, arguments and max_cost_usd from that price: a run that would cost more is refused with nothing charged. Only a delivered result is charged; a run that finds nothing costs nothing. It waits up to wait_seconds (default 20, at most 50; 0 answers at once) and answers the result in plain words with its rows; a longer run answers its execution_id for capability_run_status. An answer with rows has results_page and csv_url: give the person those links instead of writing the rows out again. idempotency_key makes a re…

ParameterTypeDescription
argumentsobjectThe capability's inputs, by name. Required unless rows, rows_text or run_id is given; with a list, {"verify": true} checks every found email.
capability_idstringInstead of id: a v2 capability id from capability_run_status (no execution_id).
confirmbooleanWith rows or rows_text: true runs the list once the person agrees to its quote. Left out, the answer is the quote and nothing runs. The same list sent again the same UTC day answers the first run's re…
endpoint_idsarrayOptional, for builders: run only on these providers, by the endpoint ids capability_inspect lists when given endpoint ids. Leave it out to let Ahel pick (the default).
exclude_endpoint_idsarrayOptional, for builders: never use these providers, by the endpoint ids capability_inspect lists when given endpoint ids. Ahel picks among the rest.
idstringAn action id or tool id from capability_search or capability_inspect.
idempotency_keystringOptional: your own key for this run, 8 to 200 letters, digits, dots, underscores, colons or hyphens. Sending the same call again with the same key answers the same run with no new charge; the same key…
max_cost_usdstringOptional: the most this run may cost, in USD, such as "0.05". capability_inspect's next names the quoted maximum. Ahel uses only providers that fit under it, and when none does the run is refused with…
max_itemsnumberMost rows to collect, 1-100. Default 10.
rowsarrayA list for people.email.find or companies.register.search or companies.emails.from_website: 1 to 100 rows, each run once as its own run with its own exact cost. One object per row, such as {"name": "J…
rows_textstringA list for people.email.find or companies.register.search or companies.emails.from_website: 1 to 100 rows, each run once as its own run with its own exact cost. Instead of rows: paste up to 100 rows a…
run_idstringWith id: the run_id a list's receipt answered, to read its rows still running and start the rest. Rows already run are never run twice.
tagstringOptional: a label for this run, such as the customer or project it is for: 1 to 64 lowercase letters, digits, dots, dashes or underscores. Activity shows runs and cost by tag. It stays in Ahel and is…
timeout_secondsnumberLongest the run may take, 1-180 seconds. Default: the provider's own (60, more for slow sources).
wait_secondsnumberOptional: how long to wait for the run to finish and answer its rows here, 0-50 seconds. Default 20; 0 answers the execution id at once. A list waits up to 45 s.

run_batch Run one action over many inputs

Run one action over many inputs in one call (1 to 100 items, each the action's inputs), such as a company lookup for 20 domains. Priced the same per item as a single run, with no fee for batching, and only delivered results are charged; max_cost_usd caps the whole batch. Price one item with capability_inspect first and tell the person the total before running. The answer comes within about 45 seconds with each item's state, rows and charge; an item with rows has results_page and csv_url: give the person those links instead of writing the rows out again; items not finished by then finish when t…

ParameterTypeDescription
id *stringAn action id or tool id from capability_search or capability_inspect. One action for the whole batch.
items *array1 to 100 objects, each the action's inputs for one run, by name, as run_capability's arguments.
idempotency_keystringOptional: your own key for this batch, 8 to 200 letters, digits, dots, underscores, colons or hyphens. The same key and item answers the same run with no new charge; a new key runs it again. Left out,…
max_cost_usdstringOptional: the most the whole batch may cost, in USD, such as "2.50". Without it the workspace's normal limits apply.
max_itemsnumberMost rows each item collects, 1-100. Default 10.
tagstringOptional: a label for every run in this batch, such as the customer or project it is for: 1 to 64 lowercase letters, digits, dots, dashes or underscores. Activity shows runs and cost by tag. It stays…

run_recipe Run a ready-made recipe

Run a recipe: a ready-made job of several actions, such as local businesses of one kind in one place with their emails (or only those with weak reviews), new companies with contacts or companies with a reason to call now in any country (contracts, new registrations, funding or hiring, with a signal date, the person to reach and checked emails; Estonia adds year-on-year tax figures), a visibility report for a website (country, language, questions and optional competitors), a company list with industry, size and register entry, checked work emails for a list of people, a brief on a company and a…

ParameterTypeDescription
idstringA recipe id from this tool's own list, such as company-list, or a saved job of this workspace that the list names (job-...). Left out, the answer is the list.
idempotency_keystringOptional: your own key for this run, 8 to 64 letters, digits or hyphens. It becomes the run_id.
inputsobjectThe recipe's inputs, by name, as its entry in the list names them.
max_cost_usdstringThe most the whole run may cost, in USD, such as "0.50". Left out, the answer is the price and nothing runs.
run_idstringWith id: the run_id an earlier call answered, to read that run.

capability_run_status Read a run

Read a run that was still going: give execution_id from run_capability and results true for its rows. Answers the result in plain words, the charge and the rows; an answer with rows has results_page and csv_url: give the person those links instead of writing the rows out again. Long results answer a next_offset. include_raw true adds the full record and the provider's own answer, for debugging. Free. NOT for: finding an action, which is capability_search.

ParameterTypeDescription
execution_idstringThe id run_capability answered.
full_textbooleanWith results: answer long text values whole. By default a result of several rows cuts each text value at 4000 characters and lists the cut fields in that row's truncated_fields.
include_rawbooleanWith results: also include the winning provider's own answer (raw), the normalised output and each row's source_record (the register's own record). Large and repeats the rows; leave it out unless the…
max_itemsnumberWith results: the max_items the run was started with, so the answer can say when the rows stopped at that limit. run_capability's next names it.
offsetnumberWith results: the first row to answer (0-based), from next_offset when a long result did not fit in one answer. Default 0.
resultsbooleanWith execution_id: include the rows.

catalog_request Ask for a missing action

Ask Ahel to add an action the catalog does not have, when capability_search finds nothing that fits. Give the job in plain words, one example input, and the most the person would pay for one run. Asking again adds to the same request. Free; runs and charges nothing. NOT for: finding what exists, which is capability_search.

ParameterTypeDescription
what *stringWhat you need done, in plain words: the job, not a provider name.
example_inputOptional: one example input, as text or an object (a domain, a profile URL, a name).
max_price_usdnumberOptional: the most you would pay for one call, in USD.

feedback Rate a run or report a problem

Tell Ahel what went wrong or right: rate one run or request good or bad by its id, or with no id report anything confusing (results, charges, instructions, errors, a workaround you needed). Report small annoyances too. Leave out private information and keys. Free. NOT for: reading a run, which is capability_run_status, or asking for a missing action, which is catalog_request.

ParameterTypeDescription
categorystringWith no id: quality (results), pricing (charges or prices), friction (using Ahel) or other.
idstringTo rate one: an execution id from run_capability, or a request id from catalog_request.
notestringWhat was right or wrong, in a sentence or two. Required with no id.
ratingstringWith id: good or bad.

balance Read the prepaid balance

The workspace's prepaid balance, what running jobs have set aside, spending today and this month (for the Owner), any daily cap on this connection's key, and the top-up link. Use it when a run is refused for funds or before a large job. Free. NOT for: the price of one run, which is capability_inspect.

review Review a run's usefulness

Rate how useful one finished run was, after using its result: useful, partly, not_useful or not_sure, with an optional reason (missing rows, wrong data, stale). Reviewing again replaces the earlier one. Free. NOT for: reporting a problem, which is feedback.

ParameterTypeDescription
run_id *stringThe execution id run_capability answered.
usefulness *stringHow useful the result was.
reasonstringOptional: why, in a sentence or two, about the result.

get_started Get started with Ahel

Start here when the person is new, asks what Ahel can do, or has no clear job yet. Answers what Ahel does in plain words, the ready-made recipes to offer first, how paying works, and a question to ask the person. Free; changes nothing. NOT for: a clear one-off job, which is capability_search.