Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Vesta, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fshakerhotel.ir%2Fshakerhotel" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fshakerhotel.ir%2Fshakerhotel" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Vesta API.
Log in as an agency with a username and password to obtain an authorization token
List the cities where hotels are offered, with each city's id, code, and en_name
Search hotels in a city for a date_in and date_out stay
Place a temporary pre-reservation for a hotel with guest name, phone, and a rooms array of id, number, and type
Finalise a booking by sending the reference returned from the pre-reservation
GET STARTED
Patterns agents use Vesta API for, with concrete tasks.
★ Agency booking assistant through Jentic
An AI agent connected through Jentic can handle a travel agency's Shaker Hotel bookings end to end. It looks up the city id, searches hotels for the requested dates, places a pre-reservation for the guest, and only confirms with the reserve call once the customer agrees. Jentic stores the agency login and attaches the bearer token, so the agent never handles the password.
Call POST /api/agency/cities to find the id for Mashhad, POST /api/agency/v2/hotels with city '1', date_in '2026-12-08', and date_out '2026-12-11', then POST /api/agency/pre-reserve for hotel 8 with name, phone, and rooms [{id: 90, number: 1, type: 'fullboard'}]
Hold-then-confirm reservations
Agencies often need to hold a room while a customer pays or decides. The pre-reserve operation creates a temporary reservation and returns a reference; the agency sends that reference to the reserve operation to finalise it. Splitting the two steps means a hold can be placed without committing the booking.
After the customer confirms, call POST /api/agency/reserve with reference set to the value returned by the earlier pre-reserve call and report the returned message
Availability search by city and date
Before quoting a customer, an agency searches Shaker Hotel properties in a city for specific check-in and check-out dates. The hotels search returns each hotel's id, address, and images, which the agency uses to present options and to pick the hotel id for the pre-reservation.
Call POST /api/agency/v2/hotels with city '2', date_in '2026-12-20', and date_out '2026-12-23', and list each hotel's id and address
5 endpoints — the vesta api lets travel agencies search and book shaker hotel rooms through a two-step reservation flow.
METHOD
PATH
DESCRIPTION
/api/agency/login
Log in and get a token
/api/agency/cities
List cities
/api/agency/v2/hotels
Search hotels by city and dates
/api/agency/pre-reserve
Place a temporary reservation
/api/agency/reserve
Confirm a reservation by reference
/api/agency/login
Log in and get a token
/api/agency/cities
List cities
/api/agency/v2/hotels
Search hotels by city and dates
/api/agency/pre-reserve
Place a temporary reservation
/api/agency/reserve
Confirm a reservation by reference
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Vesta API by hand means logging in with the agency username and password, holding the returned bearer token, and chaining the pre-reserve reference into the reserve call. Through Jentic you install once, import the Vesta API from the API Directory, store the login once, and your agent calls it.
Permission scoping
The Vesta API carries the city, hotel, and reference inside the request body, so rules bound which operations your agent may call, not which hotel or booking. Limit the agent to the operations it needs, such as hotel search, and booking confirmation is not included unless you add it.
Credential isolation
Your agency login is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'find hotels in Mashhad for these dates' or 'confirm a hotel reservation', and Jentic returns the matching Vesta operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using Vesta API through Jentic.
What authentication does the Vesta API use?
Per its OpenAPI spec, the Vesta API declares HTTP bearer authentication globally. POST /api/agency/login takes a username and password and returns an authorization object with a token of type bearer, which is sent on the hotel search, pre-reserve, and reserve calls. Through Jentic, the agency credentials are stored encrypted by your own Jentic One instance and the token is attached at call time.
How does a booking go from hold to confirmed?
Call POST /api/agency/pre-reserve with date_in, date_out, hotel, name, phone, description, and a rooms array. The response includes a reference for the temporary reservation. Send that reference to POST /api/agency/reserve to finalise the booking.
What are the rate limits for the Vesta API?
The spec's example responses include X-RateLimit-Limit and X-RateLimit-Remaining headers, with an example limit of 60, but it does not state the window. Read those headers on each response, and check with Shaker Hotel at https://shakerhotel.ir for the current limit.
Is there a Vesta MCP server?
You don't need an MCP server to give your agent the Vesta API. Jentic connects it directly from the API Directory: import it, store the agency login once, and your agent calls the search and reservation operations it needs.
How do I search hotels through Jentic?
Search Jentic for 'search Shaker Hotel availability by city and dates', load the POST /api/agency/v2/hotels operation, and execute it with a city id from POST /api/agency/cities plus date_in and date_out. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Can I limit what my agent is allowed to do with the Vesta API?
Yes. For a quoting assistant, write a rule that allows only the cities and hotels search operations, so the agent can check availability for customers but cannot hold rooms or confirm bookings. Add pre-reserve when you want it to place holds, and keep reserve for a person to call. Every call it makes is logged for review.
Know of an official OpenAPI document? Contribute it →
For Agents
Search Shaker Hotel availability by city and dates, place a temporary hold on rooms for a guest, and confirm the booking with the returned reference.
Use for: Find hotels in Mashhad for 8 to 11 November, List all the cities where Shaker Hotel offers rooms, I need to hold a fullboard room for a guest before they confirm, Confirm the reservation with reference pchOaX9
Not supported: Does not handle payments, flight booking, or reservation cancellation. Use for searching Shaker Hotel availability and placing agency reservations only.
The Vesta API lets travel agencies search and book Shaker Hotel rooms through a two-step reservation flow. An agency logs in with a username and password to receive a bearer token, lists the cities where hotels are offered (such as Mashhad, Tehran, Isfahan, and Istanbul in the spec's examples), and searches hotels in a city for a date_in and date_out. A pre-reserve call holds the chosen rooms for a guest name and phone and returns a reference, and a reserve call with that reference finalises the booking.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>