TaskHawk Systems Shield API

Prompt injection detection. DeBERTa-v3 classifier with sub-second inference. Trial allowance: 10 scans/day per IP.

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /shield/scan Scan a prompt for injection attacks (paid) · Shield Scan #
Ask an LLM
“How do I check a prompt for injection attacks with my API key?”
“What does a paid prompt injection scan cost per call?”
Tell an agent
Scan {prompt} for prompt injection using my API key.
Run a paid injection scan on {prompt} for agent {agent_id}, noting the source as {context}.
POST /shield/scan-free Scan a prompt for injection attacks for free · Shield Scan Free #
Ask an LLM
“Is there a free prompt injection scan I can use without signing up?”
“How many free injection scans per day do I get from one IP?”
Tell an agent
Use the free no-auth scanner to check {prompt} for injection.
Do a free daily-quota injection scan of {prompt} with source context {context}.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/taskhawktech-com:taskhawktech-com-shield-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

taskhawktech-com-shield-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kevros Governance Shield API
  description: HTTP governance API for delegated requesters.
  termsOfService: https://taskhawktech.com/legal/terms
  contact:
    name: TaskHawk Systems
    url: https://taskhawktech.com/contact
    email: support@taskhawktech.com
  license:
    name: TaskHawk Terms
    url: https://taskhawktech.com/legal/terms
  version: 0.4.1
servers:
- url: https://governance.taskhawktech.com
  description: Production Gateway
security:
- ApiKeyAuth: []
tags:
- name: shield
  description: 'Prompt injection detection. DeBERTa-v3 classifier with sub-second inference. Trial allowance: 10 scans/day per IP.'
paths:
  /shield/scan:
    post:
      tags:
      - shield
      summary: Shield Scan
      description: Scan a prompt for injection attacks. $0.01 per scan.
      operationId: shield-scan
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: X-Delegation-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Delegation-Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScanRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: Payment challenge metadata. Executable POST requires X-API-Key, verified Delegation proof, or a verified x402, L402, or MPP credential obtained from safe-method payment challenge discovery.
      x-payment-info:
        intent: charge
        method: stripe
        amount: '1'
        currency: usd
        amount_unit: usd_cents
        description: Prompt injection detection
        delegation_authorization_required: true
        settlement_signal: false
        revenue_signal: false
  /shield/scan-free:
    post:
      tags:
      - shield
      summary: Shield Scan Free
      description: Free prompt injection scan. 10 scans/day per IP, no auth needed.
      operationId: shield-scan-free
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScanRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
      x-payment-info:
        intent: none
        method: none
        amount: null
        currency: usd
        amount_unit: usd_cents
        settlement_signal: false
        revenue_signal: false
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ScanResponse:
      properties:
        scan_id:
          type: string
          title: Scan Id
        injection_detected:
          type: boolean
          title: Injection Detected
        confidence:
          type: number
          title: Confidence
        risk_level:
          type: string
          title: Risk Level
        latency_ms:
          type: number
          title: Latency Ms
        model_version:
          type: string
          title: Model Version
        truncated:
          type: boolean
          title: Truncated
        timestamp_utc:
          type: string
          title: Timestamp Utc
        hmac:
          type: string
          title: Hmac
      type: object
      required:
      - scan_id
      - injection_detected
      - confidence
      - risk_level
      - latency_ms
      - model_version
      - truncated
      - timestamp_utc
      - hmac
      title: ScanResponse
    ScanRequest:
      properties:
        prompt:
          type: string
          maxLength: 10000
          minLength: 1
          title: Prompt
          description: Text to scan for prompt injection
        agent_id:
          anyOf:
          - type: string
            maxLength: 256
            pattern: ^[a-zA-Z0-9._@\-]+$
          - type: 'null'
          title: Agent Id
          description: Optional agent identifier
        context:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Context
          description: Optional context about the prompt source
      type: object
      required:
      - prompt
      title: ScanRequest
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Get a trial key via POST /signup. 1,000-call trial allowance.
x-service-info:
  categories:
  - ai
  - security
  - compliance
  docs:
    homepage: https://governance.taskhawktech.com
    apiReference: https://governance.taskhawktech.com/openapi.json
    llms: https://governance.taskhawktech.com/for-agents.txt