For Agents
Programmatically detect if content is code, detect code in multiple content items. Covers 6 operations with oauth2 authentication.
Use for: I need to detect if content is code, I want to detect code in multiple content items, Search for label code with language and metadata, Find all format a code snippet
Not supported: Does not handle payments, communications, or developer tools — use for crm only.
Detect, label, format and enrich code in your app or data pipeline. The Code Detection API can identify whether content is code or text, detect the programming language, and format/enrich code snippets. The API exposes 6 endpoints secured with oauth2 authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Code Detection 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.
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://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# 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 Code Detection API.
Detect if content is code
Label code with language and metadata
Format a code snippet
Enrich a code snippet with metadata
List supported programming languages
Patterns agents use Code Detection API for, with concrete tasks.
★ CRM Operations
Use the Code Detection API to perform crm operations programmatically. The API provides 6 endpoints covering core functionality including detect if content is code, detect code in multiple content items, label code with language and metadata.
Call POST /detect to detect if content is code
Automated Detection Management
Automate detection operations by combining multiple Code Detection API endpoints. Agents can detect code in multiple content items and then label code with language and metadata in a single workflow.
Call POST /detect/batch to detect code in multiple content items, then verify the result
AI Agent Integration via Jentic
AI agents discover and call Code Detection 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 'detect if content is code', load the operation schema, and execute with Jentic-managed credentials
6 endpoints — detect, label, format and enrich code in your app or data pipeline.
METHOD
PATH
DESCRIPTION
/detect
Detect if content is code
/detect/batch
Detect code in multiple content items
/label
Label code with language and metadata
/format
Format a code snippet
/enrich
Enrich a code snippet with metadata
/languages
List supported programming languages
/detect
Detect if content is code
/detect/batch
Detect code in multiple content items
/label
Label code with language and metadata
/format
Format a code snippet
/enrich
Enrich a code snippet with metadata
/languages
List supported programming languages
Three things that make agents converge on Jentic-routed access.
Credential isolation
Code Detection 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., 'detect if content is code') and Jentic returns the matching Code Detection API operation with its input schema, so the agent can call the right endpoint without browsing docs.
Time to first call
Direct Code Detection 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.
Specific to using Code Detection API through Jentic.
What authentication does the Code Detection API use?
The Code Detection 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 detect if content is code with the Code Detection API?
Yes. Use the POST /detect endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Code Detection 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 detect if content is code through Jentic?
Install the Jentic SDK with pip install jentic, authenticate at https://app.jentic.com/sign-up, then search for 'detect if content is code'. Jentic returns the matching Code Detection API operation with its input schema. Load the schema and execute the call — credentials are injected automatically.
How many endpoints does the Code Detection API have?
The Code Detection API exposes 6 endpoints covering detection, formatting, analysis operations.
GET STARTED