api-pattern-recognition

Classify APIs into REST, GraphQL, SOAP, or gRPC from URL patterns, headers, and responses.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/edwardmonteiro/Cognitiveapiupdater --skill api-pattern-recognition
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-pattern-recognition
Source: https://github.com/edwardmonteiro/Cognitiveapiupdater/tree/main/api-discovery-plugin/skills/api-pattern-recognition
Command: npx skills add https://github.com/edwardmonteiro/Cognitiveapiupdater --skill api-pattern-recognition

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps automatically identify the type of an API (REST, GraphQL, SOAP, or gRPC) based on URL patterns, headers, and sample responses, reducing manual inspection and onboarding time.

Core Features & Use Cases

  • REST detection: Detects RESTful endpoints via common patterns, content types, and response shapes.
  • GraphQL detection: Identifies GraphQL services from /graphql endpoints, presence of query keys, and data/error shapes.
  • SOAP/gRPC detection: Flags SOAP/RPC-like patterns and identifies SOAP envelopes or gRPC indicators.
  • Use Case: When integrating a new API, quickly determine its type to choose the correct client and tooling, and verify compatibility for automation tasks.

Quick Start

Run the api-pattern-recognition skill against your API by providing the URL, headers, and an optional response payload to obtain a structured type and confidence score.

Frequently Asked Questions about api-pattern-recognition

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify what type of API I'm working with from its URL and headers?

API pattern recognition analyzes URL structure, headers, and response format to classify APIs as REST, GraphQL, SOAP, or gRPC. Provide the endpoint URL and sample response; the skill returns the detected type with a confidence score to guide your integration approach.

Can I automatically detect GraphQL endpoints in my API inventory?

Yes. The skill identifies GraphQL services by recognizing /graphql endpoints, query key structures, and GraphQL response envelopes. This detection helps you quickly flag GraphQL APIs during API discovery and onboarding workflows.

What's the difference between detecting REST, SOAP, and gRPC patterns?

REST detection looks for resource-based URL patterns and standard HTTP methods; SOAP detection flags XML envelopes and RPC-style messaging; gRPC detection identifies protocol buffer signatures. Each produces a distinct type classification so you choose the correct client library.

How do I reduce manual inspection time when integrating new APIs?

Submit the API URL, request headers, and a sample response payload to the skill. It automatically classifies the API type and returns indicators and confidence scores, eliminating manual endpoint analysis and accelerating integration decisions.

Does API pattern recognition work with REST APIs that use non-standard URL structures?

The skill detects common REST patterns, content types, and response shapes. Non-standard REST implementations may produce lower confidence scores; review the returned indicators and confidence value to validate detection accuracy for your endpoint.

Why would I need to determine API type before automation?

API type determines which client, schema tools, and request-response handling logic to use. Accurate classification upfront ensures compatibility with your automation tooling and prevents mismatches during integration and runtime.