For Agents
Programmatically oauth2 authorization, exchange authorization code or refresh token for access token. Covers 20 operations with oauth2 authentication.
Use for: I need to oauth2 authorization, I want to exchange authorization code or refresh token for access token, Search for deregister / revoke tokens, Find all activities
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Tredict API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | 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 Tredict API API.
OAuth2 Authorization
Exchange authorization code or refresh token for access token
Deregister / revoke tokens
List activities
Get activity details
GET STARTED
Not supported: Does not handle payments, communications, or crm — use for identity and authentication only.
Tredict is a training and fitness platform. The API allows you to get and set activities, health data, planned trainings, training plans, and more via OAuth2 authentication. The API exposes 20 endpoints secured with oauth2 authentication.
Update an activity
Download activity file
Patterns agents use Tredict API API for, with concrete tasks.
★ Identity and Authentication Operations
Use the Tredict API to perform identity auth operations programmatically. The API provides 20 endpoints covering core functionality including oauth2 authorization, exchange authorization code or refresh token for access token, deregister / revoke tokens.
Call GET /authorization to oauth2 authorization
Automated OAuth2 Management
Automate oauth2 operations by combining multiple Tredict API endpoints. Agents can exchange authorization code or refresh token for access token and then deregister / revoke tokens in a single workflow.
Call POST /user/oauth/v2/token to exchange authorization code or refresh token for access token, then verify the result
AI Agent Integration via Jentic
AI agents discover and call Tredict 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 oauth2 tokens manually.
Search Jentic for 'oauth2 authorization', load the operation schema, and execute with Jentic-managed credentials
20 endpoints — tredict is a training and fitness platform.
METHOD
PATH
DESCRIPTION
/authorization
OAuth2 Authorization
/user/oauth/v2/token
Exchange authorization code or refresh token for access token
/user/oauth/v2/token
Deregister / revoke tokens
/api/oauth/v2/activityList
List activities
/api/oauth/v2/activity/{activityId}
Get activity details
/api/oauth/v2/activity/update/{activityId}
Update an activity
/api/oauth/v2/activity/file/{activityId}
Download activity file
/api/oauth/v2/activity/upload
Upload an activity file
/authorization
OAuth2 Authorization
/user/oauth/v2/token
Exchange authorization code or refresh token for access token
/user/oauth/v2/token
Deregister / revoke tokens
/api/oauth/v2/activityList
List activities
/api/oauth/v2/activity/{activityId}
Get activity details
Three things that make agents converge on Jentic-routed access.
Credential isolation
Tredict API oauth2 credentials are stored encrypted in the Jentic vault (MAXsystem). Agents receive scoped access tokens — raw secrets never enter the agent context.
Intent-based discovery
Agents search by intent (e.g., 'oauth2 authorization') and Jentic returns the matching Tredict API operation with its input schema, so the agent can call the right endpoint without browsing docs.
Time to first call
Direct Tredict API integration: 1-3 days for auth handling, response parsing, and error cases. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Auth0
Alternative identity auth API
Choose Auth0 when you need a different approach to identity auth operations
Okta
Alternative identity auth API
Choose Okta when you need a different approach to identity auth operations
Specific to using Tredict API API through Jentic.
What authentication does the Tredict API use?
The Tredict API uses OAuth 2.0 for authorization. Through Jentic, these credentials are stored encrypted in the MAXsystem vault and injected at execution time, so raw secrets never enter the agent context.
Can I oauth2 authorization with the Tredict API?
Yes. Use the GET /authorization endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Tredict 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 oauth2 authorization through Jentic?
Install the Jentic SDK with pip install jentic, authenticate at https://app.jentic.com/sign-up, then search for 'oauth2 authorization'. Jentic returns the matching Tredict API operation with its input schema. Load the schema and execute the call — credentials are injected automatically.
How many endpoints does the Tredict API have?
The Tredict API exposes 20 endpoints covering oauth2, activities, planned trainings operations.
/api/oauth/v2/activity/update/{activityId}
Update an activity
/api/oauth/v2/activity/file/{activityId}
Download activity file
/api/oauth/v2/activity/upload
Upload an activity file