Palo Alto Networks OCR Enablement API

The OCR Enablement API from Palo Alto Networks — 1 operation(s) for ocr enablement.

Operations 2

GET /v2/api/ocr Get OCR Enablement #
PUT /v2/api/ocr Update OCR Enablement #

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/palo-alto-networks-ocr-enablement-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

palo-alto-networks-ocr-enablement-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: "Optical Character Recognition (OCR) enablement APIs for enhanced document scanning and text extraction \ncapabilities. Enable OCR processing to detect sensitive information in scanned documents and images.\n"
  license:
    name: MIT
    url: https://opensource.org/license/mit
  title: v2 OCR Enablement API
  version: 1.0.0
servers:
- url: https://api.dlp.paloaltonetworks.com
tags:
- name: OCR Enablement
paths:
  /v2/api/ocr:
    get:
      description: Retrieves OCR enablement settings for the authenticated tenant, optionally filtered by target service.
      operationId: get-v2-api-ocr
      parameters:
      - description: Filter results to a specific service name
        in: query
        name: target-service-name
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OcrEnablementResponse'
          description: OCR enablement settings found
        '400':
          description: Invalid target-service-name
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - insufficient privileges
      security:
      - Bearer: []
      summary: Get OCR Enablement
      tags:
      - OCR Enablement
    put:
      description: Updates the OCR enablement setting for a specific service.
      operationId: put-v2-api-ocr
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OcrEnablementRequest'
        required: true
      responses:
        '204':
          description: OCR enablement updated
        '400':
          description: Invalid request payload
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - insufficient privileges
      security:
      - Bearer: []
      summary: Update OCR Enablement
      tags:
      - OCR Enablement
components:
  schemas:
    AuditResponse:
      description: Audit metadata tracking creation and last-update information
      properties:
        created_at:
          description: Timestamp when the resource was created
          format: date-time
          type: string
        created_by:
          description: Username or service that created the resource
          type: string
        updated_at:
          description: Timestamp when the resource was last updated
          format: date-time
          type: string
        updated_by:
          description: Username or service that last updated the resource
          type: string
      type: object
    OcrEnablementResponse:
      description: OCR enablement configuration for a service
      properties:
        audit_metadata:
          $ref: '#/components/schemas/AuditResponse'
        ocr_enablement:
          description: Current OCR enablement state
          enum:
          - REQUESTED
          - ENABLED
          - DISABLED
          type: string
        ocr_enablement_banner:
          description: Whether the OCR enablement banner is shown to users
          type: boolean
        service_name:
          description: Service this configuration applies to
          enum:
          - gpcs
          - aperture
          - redlock
          - prisma-cloud
          - prisma-saas
          - prisma-access
          - ngfw
          - dlp
          - email-dlp
          - cortex-xdr
          - endpoint-dlp
          - prisma-access-browser
          type: string
      type: object
    OcrEnablementRequest:
      description: Request payload for updating OCR enablement settings
      properties:
        ocr_enablement:
          description: OCR enablement state
          enum:
          - REQUESTED
          - ENABLED
          - DISABLED
          type: string
        target_service_name:
          description: Target service to apply the OCR setting to
          enum:
          - gpcs
          - aperture
          - redlock
          - prisma-cloud
          - prisma-saas
          - prisma-access
          - ngfw
          - dlp
          - email-dlp
          - cortex-xdr
          - endpoint-dlp
          - prisma-access-browser
          type: string
      required:
      - ocr_enablement
      - target_service_name
      type: object
  securitySchemes:
    Bearer:
      scheme: bearer
      type: http