canonical: https://jentic.com/apis/swaggerhub.santanense/apis---santanense

# Santanense APIs - Santanense

APIs de integração TOTVs Datasul - Santanense. Alguns links úteis: - [Sigma](https://sigma.santanense.com.br) - [Institucional Santanense](https://www.santanense.com.br/). The API exposes 4 endpoints secured with apiKey authentication.

## For AI agents

Programmatically consulta lote, consulta lotes da nota. Covers 4 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- Consulta Lote
- Atualiza dados de clientes
- Integrate APIs - Santanense into automated workflows
- Query and filter APIs - Santanense records by parameters
- Monitor APIs - Santanense operational status and events

## Use cases

### Developer Tools Operations

Use the APIs - Santanense to perform developer tools operations programmatically. The API provides 4 endpoints covering core functionality including consulta lote, consulta lotes da nota, consulta dados de clientes.

Example prompt: Call GET `/flex/ind/ConsultaLote`?lote=lote to consulta lote

### Automated lotes Management

Automate lotes operations by combining multiple APIs - Santanense endpoints. Agents can consulta lotes da nota and then consulta dados de clientes in a single workflow.

Example prompt: Call GET `/flex/ind/ConsultaNotaLotes`?nota=nota to consulta lotes da nota, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call APIs - Santanense endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'consulta lote', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/flex/ind/ConsultaLote?lote=lote` | Consulta Lote |
| GET | `/flex/ind/ConsultaNotaLotes?nota=nota` | Consulta Lotes da nota |
| POST | `/flex/ind/ConsultaClientes` | Consulta dados de clientes |
| POST | `/flex/ind/AtuCliValues` | Atualiza dados de clientes |

## Key resources

- **lotes** — Lotes
- **clientes** — Clientes

## Why Jentic

- **Setup:** Wiring APIs - Santanense by hand means learning its x_api_key header scheme, wiring the key on every call to the pasoe.santanense.com.br host, and handling requests and retries yourself. Through Jentic you install once, import APIs - Santanense from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** The lot or invoice target travels in query or body parameters rather than the URL path, so scope the agent by operation: limit it to the operations it needs, such as querying a lot or a client. Writes like updating client values stay out of the allowed set unless you add them.
- **Credential handling:** Your APIs - Santanense key 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.
- **Discovery method:** Agents search Jentic by intent such as 'query a lot' or 'look up clients', and Jentic returns the matching APIs - Santanense operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the APIs - Santanense use?

The APIs - Santanense uses an API key passed in the `x_api_key` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I consulta lote with the APIs - Santanense?

Yes. Use the GET `/flex/ind/ConsultaLote`?lote=lote endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the APIs - Santanense?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I consulta lote through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'consulta lote'. Jentic returns the matching APIs - Santanense operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the APIs - Santanense have?

The APIs - Santanense exposes 4 endpoints covering lotes, clientes operations.

### Can I limit what my agent is allowed to do with the Santanense API?

Yes. Because you run Jentic One yourself, your own rules decide which Santanense operations and credentials the agent may use. Since the lot, note, or client target travels in query or body parameters rather than the URL path, you scope by operation: allow the read calls it needs, such as querying a lot with ConsultaLote, listing a note's lots with ConsultaNotaLotes, or looking up clients with ConsultaClientes. Writes like updating client values through AtuCliValues stay out of the allowed set unless you add them.
