canonical: https://jentic.com/apis/rtafleet/rtafleet

# RTA Fleet Management API

REST API for interacting with RTA Fleet Management software, including vehicle search, details, updates, authentication, and data extraction. The API exposes 5 endpoints secured with bearer authentication.

## For AI agents

Programmatically get an API token using client credentials, search vehicles with filters, sorts, and pagination. Covers 5 operations with bearer authentication.

## Scope

Does not handle payments, communications, or crm - use for identity and authentication only.

## Capabilities

- Get an API token using client credentials
- Search vehicles with filters, sorts, and pagination
- Update a vehicle by ID
- Extract raw database records from RTA
- Monitor RTA Fleet Management API operational status and events

## Use cases

### Identity and Authentication Operations

Use the RTA Fleet Management API to perform identity auth operations programmatically. The API provides 5 endpoints covering core functionality including get an API token using client credentials, search vehicles with filters, sorts, and pagination, get vehicle details by id.

Example prompt: Call GET `/information-management/{tenantId}/integrations/get-api-token` to get an API token using client credentials

### Automated Authentication Management

Automate authentication operations by combining multiple RTA Fleet Management API endpoints. Agents can search vehicles with filters, sorts, and pagination and then get vehicle details by id in a single workflow.

Example prompt: Call POST `/asset-management/{tenantId}/vehicles/search-vehicles-enhanced` to search vehicles with filters, sorts, and pagination, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call RTA Fleet Management API 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 bearer tokens manually.

Example prompt: Search Jentic for 'get an API token using client credentials', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/information-management/{tenantId}/integrations/get-api-token` | Get an API token using client credentials |
| POST | `/asset-management/{tenantId}/vehicles/search-vehicles-enhanced` | Search vehicles with filters, sorts, and pagination |
| GET | `/asset-management/{tenantId}/vehicles/{id}` | Get vehicle details by ID |
| PUT | `/asset-management/{tenantId}/vehicles/{id}` | Update a vehicle by ID |
| GET | `/v0/extract/{tablename}` | Extract raw database records from RTA |

## Key resources

- **Authentication** — Obtain API tokens
- **Vehicles** — Search and manage vehicles
- **Data Extract** — Extract data from RTA

## AI readiness

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.

- **Score:** 68 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 90 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 49 / 100
  - Agent Usability: 94 / 100
  - Security: 75 / 100
  - AI Discoverability: 70 / 100
- **View full report:** https://jentic.com/apis/rtafleet/rtafleet/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the RTA Fleet Management API by hand means handling its bearer token, picking between the api.momentum-prd.rtafleet.com and api.rtafleet.com hosts, and passing the tenant id into each request. Through Jentic you install once, import the RTA Fleet Management API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** RTA Fleet Management puts the tenant id and vehicle id in the URL path (`/asset-management/{tenantId}/vehicles/{id}`), so a rule can pin your agent to one tenant: it can search and read vehicles there and nothing else. You choose the operations it may call, so updating a vehicle is not included unless you add it.
- **Credential handling:** Your RTA Fleet Management bearer token 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 'get an API token via client credentials' or 'search vehicles with filters', and Jentic returns the matching RTA Fleet Management operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Auth0** — Alternative identity auth API
- **Okta** — Alternative identity auth API

## FAQ

### What authentication does the RTA Fleet Management API use?

The RTA Fleet Management API uses a Bearer token in the Authorization 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 get an API token using client credentials with the RTA Fleet Management API?

Yes. Use the GET `/information-management/{tenantId}/integrations/get-api-token` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the RTA Fleet Management API?

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 get an API token using client credentials through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get an API token using client credentials'. Jentic returns the matching RTA Fleet Management API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the RTA Fleet Management API have?

The RTA Fleet Management API exposes 5 endpoints covering authentication, vehicles, data extract operations.

### Can I limit what my agent is allowed to do with the RTA Fleet Management API?

Yes. Because you self-host Jentic One, your own rules decide which operations and credentials the agent may use. Since the RTA Fleet Management API carries the tenant id and vehicle id in the URL path (`/asset-management/{tenantId}/vehicles/{id}`), you can pin the agent to a single tenant and grant only the operations you want, such as searching vehicles with search-vehicles-enhanced and reading vehicle details by ID. Write operations like updating a vehicle stay off unless you explicitly allow them.
