Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the APICatraca, 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%2Fsesc-rs.com.br%2Fsesc-rs" | 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%2Fsesc-rs.com.br%2Fsesc-rs" | 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 APICatraca API.
Check whether a client identifier is permitted through a given turnstile with the Valida operation
Record a turnstile passage with its equipment identifier, direction, and DataHoraAcesso timestamp via Registra
Validate and register an access in a single request with ValidaRegistra
Read the person's Nome and TipoPessoa returned with an access decision to show at the gate
GET STARTED
Surface the Mensagem text returned with a denial so staff can see why entry was refused
Patterns agents use APICatraca API for, with concrete tasks.
★ Agent-assisted gate checks through Jentic
An AI agent connected through Jentic can answer front-desk questions such as whether a client may enter a SESC-RS unit. It calls the Valida operation with the client identifier and the turnstile's equipment identifier, reads the Permitido flag and the Mensagem text, and reports the decision without recording a passage. Jentic handles the OAuth 2.0 password-flow token so the agent never holds the credential.
Call POST /Valida with AcessoIN containing IdentificadorCliente '123456', IdentificadorEquipamento 'CATRACA-01', TipoLeitura 1, SentidoEquipamento 1, and DataHoraAcesso '2026-11-23T09:00:00Z', then report the Permitido and Mensagem values
Turnstile entry with single-call validation and logging
A turnstile controller that needs one round trip per scan uses ValidaRegistra: it sends the client identifier, equipment identifier, read type, direction, and timestamp, and receives the same access decision fields as Valida, with the passage registered in the same request. This keeps the gate response fast while still producing an access record.
Call POST /ValidaRegistra with AcessoIN for IdentificadorCliente '123456' at IdentificadorEquipamento 'CATRACA-02' with SentidoEquipamento 2 and the current DataHoraAcesso, then return Permitido and Nome
Recording passages after an offline period
When a turnstile has admitted people without reaching the server, the queued passages can be sent afterwards with Registra. Each call carries the original DataHoraAcesso so the access log reflects when the person actually passed, and the Sucesso flag confirms the record was stored.
For each queued passage, call POST /Registra with AcessoIN containing IdentificadorCliente, IdentificadorEquipamento, TipoLeitura, SentidoEquipamento, and the original DataHoraAcesso, and collect any calls where Sucesso is false
3 endpoints — the apicatraca api checks whether a person may pass through a sesc-rs turnstile and records the access event once they do.
METHOD
PATH
DESCRIPTION
/Valida
Check whether a client may pass a turnstile
/ValidaRegistra
Validate and register an access in one call
/Registra
Register a turnstile passage
/Valida
Check whether a client may pass a turnstile
/ValidaRegistra
Validate and register an access in one call
/Registra
Register a turnstile passage
What agents get from Jentic-routed access to this vendor.
Setup
Wiring APICatraca by hand means running its OAuth 2.0 password flow against the SESC-RS token URL, refreshing the token, and building the nested AcessoIN payload yourself. Through Jentic you install once, import APICatraca from the API Directory, store the credential once, and your agent calls it.
Permission scoping
APICatraca carries the client and turnstile identifiers inside the request body, so rules bound which operations your agent may call, not which client or gate. Limit the agent to the operations it needs, such as Valida, and Registra is not included unless you add it.
Credential isolation
Your SESC-RS credential 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 'check turnstile access' or 'record a gate entry', and Jentic returns the matching APICatraca 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 APICatraca API through Jentic.
What authentication does the APICatraca API use?
Per its OpenAPI spec, APICatraca uses an OAuth 2.0 scheme named oAuthGXGAM with the password flow, a token URL at /oauth/access_token on the SESC-RS development host, and the fullcontrol scope. All three operations declare this scheme. Through Jentic, the credential is stored encrypted by your own Jentic One instance and the token is attached at call time.
Can I check access without recording a passage?
Yes. The Valida operation returns the access decision (Permitido, Nome, TipoPessoa, Mensagem) without a separate registration step. Use ValidaRegistra when you want the check and the record in one call, or Registra to record a passage on its own.
What are the rate limits for the APICatraca API?
The OpenAPI spec does not specify rate limits. Check with SESC-RS at https://www.sesc-rs.com.br for current limits and for the production base URL, since the spec points at a development host.
Is there an APICatraca MCP server?
You don't need an MCP server to give your agent APICatraca. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls Valida, Registra, or ValidaRegistra as it needs them.
How do I validate a turnstile entry through Jentic?
Search Jentic for 'check turnstile access for a client', load the POST /Valida operation, and execute it with an AcessoIN object holding the IdentificadorCliente, IdentificadorEquipamento, TipoLeitura, SentidoEquipamento, and DataHoraAcesso. The agent then reads Permitido to decide. 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 APICatraca API?
Yes. For a front-desk assistant, write a rule that allows only the Valida operation: the agent can answer whether a client may enter, but it cannot write passages to the access log through Registra or ValidaRegistra. Every call it makes is logged for review.
Know of an official OpenAPI document? Contribute it →
For Agents
Validate turnstile access for a SESC-RS client and register the passage, using the client identifier, equipment identifier, direction, and access time.
Use for: Check whether this member card is allowed through turnstile 3, I need to record that a client passed the entrance gate, Validate and log a turnstile entry in one call, Find out why a client was denied at the gate
Not supported: Does not handle membership sign-up, payments, or class scheduling. Use for validating and registering SESC-RS turnstile access only.
The APICatraca API checks whether a person may pass through a SESC-RS turnstile and records the access event once they do. Each call carries an AcessoIN object naming the client identifier, the equipment identifier, the read type, the direction of passage, and the access timestamp. The Valida operation returns whether entry is permitted along with the person's name, person type, and a message, Registra logs the passage and reports success, and ValidaRegistra performs the check and the registration in one request. The spec points at a SESC-RS development host, so confirm the production base URL with SESC-RS before relying on it.
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>