Aserto Policy API

The Policy API from Aserto — 2 operation(s) for policy.

Operations 2

GET /api/v2/policies List Policies #
GET /api/v2/policies/{id} Get Policy #

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/aserto-policy-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

aserto-policy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: aserto//v2/.proto Authorizer Policy API
  version: version not set
servers:
- url: https://authorizer.prod.aserto.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
security:
- AuthorizerAPIKey: []
  TenantID: []
tags:
- name: Policy
paths:
  /api/v2/policies:
    get:
      description: Lists the policy modules for the policy bundle.
      operationId: policies.list
      parameters:
      - in: query
        name: field_mask
        required: false
        schema:
          type: string
      - description: policy name
        in: query
        name: policy_instance.name
        required: false
        schema:
          type: string
      - description: label identifying the instance of the policy
        in: query
        name: policy_instance.instance_label
        required: false
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v2ListPoliciesResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      security:
      - AuthorizerAPIKey: []
        TenantID: []
      summary: List Policies
      tags:
      - Policy
  /api/v2/policies/{id}:
    get:
      description: Gets the policy modules for the given module Id.
      operationId: policies.get
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          pattern: '[^/]+/.+'
      - in: query
        name: field_mask
        required: false
        schema:
          type: string
      - description: policy name
        in: query
        name: policy_instance.name
        required: false
        schema:
          type: string
      - description: label identifying the instance of the policy
        in: query
        name: policy_instance.instance_label
        required: false
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v2GetPolicyResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      security:
      - AuthorizerAPIKey: []
        TenantID: []
      summary: Get Policy
      tags:
      - Policy
components:
  schemas:
    v2ListPoliciesResponse:
      properties:
        result:
          items:
            $ref: '#/components/schemas/apiModule'
          type: array
      type: object
    v2GetPolicyResponse:
      properties:
        result:
          $ref: '#/components/schemas/apiModule'
      type: object
    rpcStatus:
      properties:
        code:
          format: int32
          type: integer
        details:
          items:
            $ref: '#/components/schemas/protobufAny'
          type: array
        message:
          type: string
      type: object
    apiModule:
      properties:
        ast: {}
        id:
          type: string
        package_path:
          type: string
        package_root:
          type: string
        raw:
          type: string
      type: object
    protobufAny:
      additionalProperties: {}
      properties:
        '@type':
          type: string
      type: object
  securitySchemes:
    AuthorizerAPIKey:
      in: header
      name: authorization
      type: apiKey
    TenantID:
      in: header
      name: aserto-tenant-id
      type: apiKey