For Agents
Programmatically create a new medication for a specific client, fetch a list of medications by client. Covers 9 operations with basic authentication.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the External Medications, 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 External Medications API.
Create a new medication for a specific client
Fetch a list of medications by client
Update a medication status
Query and filter External Medications records by parameters
GET STARTED
Use for: I need to a new medication for a specific client, I want to fetch a list of medications by client, Search for a new medication for a specific client, Find all fetch a medication by external client id
Not supported: Does not handle payments, communications, or crm — use for developer tools only.
Jentic publishes the only available OpenAPI document for External Medications, keeping it validated and agent-ready.
swaggerhub.alayacare/api-medication-external version 1.2.0. The API exposes 9 endpoints secured with basic authentication.
Monitor External Medications operational status and events
Patterns agents use External Medications API for, with concrete tasks.
★ Developer Tools Operations
Use the External Medications to perform developer tools operations programmatically. The API provides 9 endpoints covering core functionality including create a new medication for a specific client, fetch a list of medications by client, create a new medication for a specific client.
Call POST /client/{client_id}/medications to create a new medication for a specific client
Automated Client Management
Automate client operations by combining multiple External Medications endpoints. Agents can fetch a list of medications by client and then create a new medication for a specific client in a single workflow.
Call GET /client/{client_id}/medications to fetch a list of medications by client, then verify the result
AI Agent Integration via Jentic
AI agents discover and call External Medications 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 basic tokens manually.
Search Jentic for 'create a new medication for a specific client', load the operation schema, and execute with Jentic-managed credentials
9 endpoints — swaggerhub.
METHOD
PATH
DESCRIPTION
/client/{client_id}/medications
Create a new medication for a specific client
/client/{client_id}/medications
Fetch a list of medications by client
/client/by_id/{external_client_id}/medications
Create a new medication for a specific client
/client/by_id/{external_client_id}/medications
Fetch a medication by external client id
/medications/{medication_id}
Fetch a medication by id
/medications/{medication_id}/change_status/{new_status}
Update a medication status
/medication_settings/{branch_id}
Fetch the list of medication settings for a given branch_id
/medication_settings/{branch_id}/{type}
Fetch a list of medication settings for given branch_id and type
/client/{client_id}/medications
Create a new medication for a specific client
/client/{client_id}/medications
Fetch a list of medications by client
/client/by_id/{external_client_id}/medications
Create a new medication for a specific client
/client/by_id/{external_client_id}/medications
Fetch a medication by external client id
/medications/{medication_id}
Fetch a medication by id
Three things that make agents converge on Jentic-routed access.
Credential isolation
External Medications basic 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., 'create a new medication for a specific client') and Jentic returns the matching External Medications operation with its input schema, so the agent can call the right endpoint without browsing docs.
Time to first call
Direct External Medications 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.
Github
Alternative developer tools API
Choose Github when you need a different approach to developer tools operations
Gitlab
Alternative developer tools API
Choose Gitlab when you need a different approach to developer tools operations
Specific to using External Medications API through Jentic.
What authentication does the External Medications use?
The External Medications uses HTTP Basic authentication with username and password. 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 create a new medication for a specific client with the External Medications?
Yes. Use the POST /client/{client_id}/medications endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the External Medications?
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 create a new medication for a specific client through Jentic?
Install the Jentic SDK with pip install jentic, authenticate at https://app.jentic.com/sign-up, then search for 'create a new medication for a specific client'. Jentic returns the matching External Medications operation with its input schema. Load the schema and execute the call — credentials are injected automatically.
How many endpoints does the External Medications have?
The External Medications exposes 9 endpoints covering client, medication_settings, medications operations.
/medications/{medication_id}/change_status/{new_status}
Update a medication status
/medication_settings/{branch_id}
Fetch the list of medication settings for a given branch_id
/medication_settings/{branch_id}/{type}
Fetch a list of medication settings for given branch_id and type