openapi: 3.2.0 info: contact: email: support@paloaltonetworks.com description: 'The Open API specification file represents the APIs available for Prisma Access Insights 3.0. The Prisma Access Insights 3.0 APIs allow you to query your Prisma Access tenant for the health of your Prisma Access network deployment. The 3.0 APIs are intended for cloud-managed Prisma Access customers, where the tenants have been onboarded by Palo Alto Networks using a Tenant Service Group (TSG) identifier. These APIs use the common SASE authentication mechanism and base URL. See the [Prisma SASE API Get Started](https://pan.dev/sase/docs/getstarted) guide for more information. This Open API spec file was created on May 30, 2025. To check for a more recent version of this file, see [Prisma Insights APIs on pan.dev](https://pan.dev//access/api/insights/). © 2025 Palo Alto Networks, Inc. Palo Alto Networks is a registered trademark of Palo Alto Networks. A list of our trademarks can be found at [https://www.paloaltonetworks.com/company/trademarks.html](https://www.paloaltonetworks.com/company/trademarks.html) All other marks mentioned herein may be trademarks of their respective companies. ' license: name: MIT url: https://opensource.org/license/mit termsOfService: https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/legal/palo-alto-networks-end-user-license-agreement-eula.pdf title: Palo Alto Networks 3.0 Other Users API API version: '3.0' servers: - url: https://api.sase.paloaltonetworks.com tags: - description: 'Endpoint to retrieve the count of active users based on specified filters. ' name: Other Users API paths: /insights/v3.0/resource/query/other/risky_user_count: post: description: 'Retrieve the number of risky users based on the applied filters. ' operationId: post-insights-v3.0-resource-query-other-risky_user_count parameters: - description: 'Map the region for the tenant. ' in: header name: X-PANW-Region required: true schema: example: americas type: string - description: 'Use a unique Prisma-Tenant identifier for precise tenant management and resource allocation within single or multi-tenant architectures. ' in: header name: Prisma-Tenant required: false schema: example: 12345678:12345679 type: string requestBody: content: application/json: examples: With mandatory filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 With possible filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 - operator: in property: platform_type values: - prisma_access - ngfw - operator: in property: username values: - john.doe - operator: in property: application_name values: - salesforce - operator: in property: source_country values: - US - operator: in property: source_city values: - San Jose - operator: in property: edge_location_display_name values: - US West - operator: in property: instance_name values: - fw00 schema: properties: filter: properties: rules: items: properties: application_name: description: Application name. example: salesforce type: string edge_location_display_name: description: Prisma Access Location. example: US West type: string event_time: description: Time of the event. example: 5 type: number instance_name: description: Name of the instance. example: fw00 type: string platform_type: description: Type of platform. example: prisma_access type: string source__city: description: City from GeoIP. example: San Jose type: string source_country: description: Country from GeoIP. example: US type: string username: description: Name of the source user. example: john.doe type: string type: object required: - event_time type: array type: object type: object required: true responses: '200': content: application/json: schema: properties: user_count: description: Count of risky users. example: 100 type: integer type: object description: OK '400': description: Resource property is not valid '403': description: Permission Denied '404': description: Resource not found '500': description: Failed to process request security: - Bearer: [] summary: Risky User Data tags: - Other Users API /insights/v3.0/resource/query/users/other/active_user_count: post: description: 'Retrieve the number of active users based on the provided filters. ' operationId: post-insights-v3.0-resource-query-users-other-active_user_count parameters: - description: 'Map the region for the tenant. ' in: header name: X-PANW-Region required: true schema: example: americas type: string - description: 'Use a unique Prisma-Tenant identifier for precise tenant management and resource allocation within single or multi-tenant architectures. ' in: header name: Prisma-Tenant required: false schema: example: 12345678:12345679 type: string requestBody: content: application/json: examples: With mandatory filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 With possible filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 - operator: in property: platform_type values: - prisma_access - ngfw - operator: in property: username values: - john.doe - operator: in property: application_name values: - Zoom - operator: in property: source_country values: - US - operator: in property: source_city values: - San Jose - operator: in property: instance_name values: - PA-VM - operator: in property: edge_location_display_name values: - US West schema: properties: filter: properties: rules: items: properties: application_name: description: Name of the application. example: Zoom type: string edge_location_display_name: description: Prisma Access Location Name. example: US West type: string event_time: description: Time of the event. example: 5 type: number instance_name: description: Instance Name. example: PA-VM type: string platform_type: description: Type of platform. example: prisma_access type: string source_city: description: Name of the source city. example: San Jose type: string source_country: description: Name of the source country. example: US type: string username: description: Username. example: john.doe type: string type: object required: - event_time type: array type: object type: object required: true responses: '200': content: application/json: schema: properties: user_count: description: Count of active users. example: 10034 type: integer type: object description: OK '400': description: Resource property is not valid '403': description: Permission Denied '404': description: Resource not found '500': description: Failed to process request security: - Bearer: [] summary: Active User Data tags: - Other Users API /insights/v3.0/resource/query/users/other/active_user_list: post: description: Retrieves a list of active users with details and connection information. operationId: post-insights-v3.0-resource-query-users-other-active_user_list parameters: - description: Region mapping for the tenant. in: header name: X-PANW-Region required: true schema: example: americas type: string - description: A Prisma-Tenant is a unique identifier for a tenant or a subtenant within a single or multi-tenant architecture. in: header name: Prisma-Tenant required: false schema: example: 12345678:12345679 type: string requestBody: content: application/json: examples: With mandatory filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 With possible filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 - operator: in property: platform_type values: - prisma_access - ngfw - operator: in property: username values: - john.doe - operator: in property: application_name values: - Zoom - operator: in property: source_country values: - US - operator: in property: source_city values: - San Jose - operator: in property: edge_location_display_name values: - US West - operator: in property: instance_name values: - fw00 schema: properties: filter: properties: rules: items: properties: application_name: description: Application name. example: Zoom type: string edge_location_display_name: description: Prisma Access Location. example: US West type: string event_time: description: Time of the event. example: 5 type: number instance_name: description: Instance name. example: fw00 type: string platform_type: description: Platform type. example: prisma_access type: string source_city: description: City from GeoIP. example: San Jose type: string source_country: description: Country from GeoIP. example: US type: string username: description: Source user info name. example: john.doe type: string type: object required: - event_time type: array type: object type: object required: true responses: '200': content: application/json: schema: properties: last_activity_epoc_time_millis: description: Last activity epoch time in milliseconds. example: 1678886400000 type: integer pa_fw_location: description: PA Firewall location. example: US West type: string user_last_connected_source_city: description: User last connected source city. example: San Francisco type: string user_last_connected_source_country: description: User last connected source country. example: USA type: string user_source_ip: description: User source IP address. example: 192.168.1.1 type: string username: description: Username. example: john.doe type: string type: object description: OK '400': description: Resource property is not valid '403': description: Permission Denied '404': description: Resource not found '500': description: Failed to process request security: - Bearer: [] summary: Get Active User List tags: - Other Users API /insights/v3.0/resource/query/users/other/session_list: post: description: Retrieves a list of user sessions. operationId: post-insights-v3.0-resource-query-users-other-session_list parameters: - description: Region mapping for the tenant. in: header name: X-PANW-Region required: true schema: example: americas type: string - description: A Prisma-Tenant is a unique identifier for a tenant or a subtenant within a single or multi-tenant architecture, providing precise tenant management and resource allocation. in: header name: Prisma-Tenant required: false schema: example: 12345678:12345679 type: string requestBody: content: application/json: examples: With mandatory filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 With possible filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 - operator: in property: username values: - john.doe - operator: in property: platform_type values: - prisma_access - ngfw - operator: in property: application_name values: - zoom - operator: in property: source_country values: - US - operator: in property: source_city values: - San Jose - operator: in property: edge_location_display_name values: - US West - operator: in property: instance_name values: - fw00 schema: properties: filter: properties: rules: items: properties: application_name: description: Application name. example: zoom type: string edge_location_display_name: description: Prisma Access Location. example: US West type: string event_time: description: Time of the event. example: 5 type: number instance_name: description: Instance Name. example: fw00 type: string platform_type: description: Platform type. example: prisma_access type: string source_city: description: City from GeoIP. example: San Jose type: string source_country: description: Country from GeoIP. example: US type: string username: description: Username. example: john.doe type: string type: object required: - event_time type: array type: object type: object required: true responses: '200': content: application/json: schema: properties: bytes_received: description: Bytes received. example: 1000000.0 format: float type: number bytes_sent: description: Bytes sent. example: 1000000.0 format: float type: number login_time: description: Login time. example: '2023-03-15T00:00:00Z' type: string pa_fw_location: description: PA Firewall location. example: US West type: string source_city: description: Source city. example: San Francisco type: string source_country: description: Source country. example: USA type: string type: object description: OK '400': description: Resource property is not valid '403': description: Permission Denied '404': description: Resource not found '500': description: Failed to process request security: - Bearer: [] summary: Get Session List tags: - Other Users API /insights/v3.0/resource/query/users/other/user_count_histogram: post: description: User Count Histogram operationId: post-insights-v3.0-resource-query-users-other-user_count_histogram parameters: - description: Region mapping for the tenant. in: header name: X-PANW-Region required: true schema: example: americas type: string - description: A Prisma-Tenant is a unique identifier for a tenant or a subtenant within a single or multi-tenant architecture, providing precise tenant management and resource allocation. in: header name: Prisma-Tenant required: false schema: example: 12345678:12345679 type: string requestBody: content: application/json: examples: With mandatory filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 histogram: enableEmptyInterval: true property: event_time range: minute value: 30 With possible filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 - operator: in property: platform_type values: - prisma_access - ngfw - operator: in property: username values: - john.doe - operator: in property: application_name values: - salesforce - operator: in property: source_country values: - US - operator: in property: source_city values: - San Jose - operator: in property: edge_location_display_name values: - US West - operator: in property: instance_name values: - fw00 histogram: enableEmptyInterval: true property: event_time range: minute value: 30 schema: properties: filter: properties: rules: items: properties: application_name: description: Application name. example: salesforce type: string edge_location_display_name: description: Prisma Access Location. example: US West type: string event_time: description: Time of the event. example: 5 type: number instance_name: description: Instance Name. example: fw00 type: string platform_type: description: Type of platform. example: prisma_access type: string source_city: description: City from GeoIP. example: San Jose type: string source_country: description: Country from GeoIP. example: US type: string username: description: Source user info name. example: john.doe type: string type: object required: - event_time type: array type: object type: object required: true responses: '200': content: application/json: schema: properties: event_time: description: Event time example: 1709226000000 type: number user_count: description: Number of users example: 2345 format: float type: number type: object description: OK '400': description: Resource property is not valid '403': description: Permission Denied '404': description: Resource not found '500': description: Failed to process request security: - Bearer: [] summary: Get User Count Histogram data tags: - Other Users API /insights/v3.0/resource/query/users/other/user_list: post: description: 'Retrieve a list of internal users. ' operationId: post-insights-v3.0-resource-query-users-other-user_list parameters: - description: 'Map the region for the tenant. ' in: header name: X-PANW-Region required: true schema: example: americas type: string - description: 'Use a unique Prisma-Tenant identifier for precise tenant management and resource allocation within single or multi-tenant architectures. ' in: header name: Prisma-Tenant required: false schema: example: 12345678:12345679 type: string requestBody: content: application/json: examples: With mandatory filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 With possible filters: value: filter: rules: - operator: last_n_hours property: event_time values: - 5 - operator: in property: platform_type values: - prisma_access - ngfw - operator: in property: node_type values: - 153 - operator: in property: username values: - john.doe - operator: in property: application_name values: - Zoom - operator: in property: edge_location_display_name values: - US West - operator: in property: instance_name values: - instance1 - operator: in property: cdl_traffic_class_var values: - premium - operator: in property: user_source_ip_address values: - 192.168.1.1 - operator: in property: source_country values: - US - operator: in property: source_city values: - San Jose schema: properties: filter: properties: rules: items: properties: application_name: description: Application name. example: Zoom type: string cdl_traffic_class_var: description: CDL traffic class. example: premium type: string edge_location_display_name: description: Prisma Access Location. example: US West type: string event_time: description: Time of the event. example: 5 type: number instance_name: description: Instance name. example: instance1 type: string node_type: description: Type of node. example: 153 type: number platform_type: description: Platform type. example: prisma_access type: string source_city: description: City from GeoIP. example: San Jose type: string source_country: description: Country from GeoIP. example: US type: string user_source_ip_address: description: Source IP address. example: 192.168.1.1 type: string username: description: Source user info name. example: john.doe type: string type: object required: - event_time type: array type: object type: object required: true responses: '200': content: application/json: schema: properties: application_count: description: Number of applications used. example: 10 type: integer last_activity_epoc_time_millis: description: Last activity epoch time in milliseconds. example: 1678886400000 type: integer threat_count: description: Number of threats detected. example: 5 type: integer total_bytes: description: Total bytes transferred. example: 1000000 type: integer username: description: Username. example: john.doe type: string type: object description: OK '400': description: Resource property is not valid '403': description: Permission Denied '404': description: Resource not found '500': description: Failed to process request security: - Bearer: [] summary: Internal User List tags: - Other Users API components: securitySchemes: Bearer: scheme: bearer type: http