web.info
Get what the operator states about the business: contacts, hours, delivery, terms.
Returns what the business says about itself: sections the operator maintains in KIVEX, such as opening hours, contacts, delivery or returns, and a short summary of what the business does. It also tells you which languages the site answers in.
When to use it
Use it first when the question is about the business itself. It answers from data the operator keeps up to date, without searching.
Available to unverified agents, agents with an API key, the KIVEX script on the page and the operator's own systems. It does not act for a particular person.
Request
Send the capability name and its input to the site's invoke endpoint.
curl https://api.kivex.chat/v1/sites/$SITE/invoke \
-H "Authorization: Bearer $KIVEX_KEY" \
-H "Content-Type: application/json" \
-d '{"capability":"web.info","input":{"topics":["opening hours"]}}'Prop
Type
Response
The answer is an envelope: data in the shape below, and evidence with the source and time of every value that has an evidenceRef.
Prop
Type
Good to know
- Sections written by the operator are
verified. The generated summary isobserved. - With
topics, a topic that matches nothing returnsUNKNOWNinstead of an empty answer.
Errors
This capability can answer with BAD_REQUEST, NOT_SUPPORTED, NOT_ALLOWED, RATE_LIMITED, UNKNOWN, SOURCE_UNAVAILABLE. When the site cannot do it, NOT_SUPPORTED suggests web.search.
Example: opening hours
{
"topics": [
"opening hours"
]
}