Airia Policy Admin API

The PolicyAdmin API from Airia — 1 operation(s) for policyadmin.

Operations 2

GET /v1/admin/endpoint-agent/policy Policy admin get2 #
PUT /v1/admin/endpoint-agent/policy Policy admin upsert2 #

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/airia:airia-policyadmin-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

airia-policyadmin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Airia Web Policy Admin API
  version: 1.0.0
servers:
- url: https://api.airia.ai
tags:
- name: PolicyAdmin
paths:
  /v1/admin/endpoint-agent/policy:
    get:
      tags:
      - PolicyAdmin
      operationId: PolicyAdmin_Get2
      parameters:
      - name: x-correlation-id
        in: header
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAuthoredPolicyResponseV1'
        401:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        403:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Policy admin get2
      x-summary-source: derived
    put:
      tags:
      - PolicyAdmin
      operationId: PolicyAdmin_Upsert2
      parameters:
      - name: x-correlation-id
        in: header
        schema:
          type: string
      requestBody:
        x-name: request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePolicyRequestV1'
        required: true
        x-position: 1
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAuthoredPolicyResponseV1'
        400:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        401:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        403:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        409:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Policy admin upsert2
      x-summary-source: derived
components:
  schemas:
    GetAuthoredPolicyResponseV1:
      type: object
      additionalProperties: false
      properties:
        schemaVersion:
          type: integer
          format: int32
        revision:
          type: integer
          format: int64
        generatedAt:
          type: string
          format: date-time
        policy:
          $ref: '#/components/schemas/AuthoredPolicyV1'
    HttpValidationProblemDetails:
      allOf:
      - $ref: '#/components/schemas/ProblemDetails'
      - type: object
        additionalProperties: {}
        properties:
          errors:
            type: object
            additionalProperties:
              type: array
              items:
                type: string
    AuthoredLlmProxyEntryV1:
      type: object
      additionalProperties: false
      properties:
        gatewayUrl:
          type: string
        gatewayConfigurationId:
          type:
          - string
          - 'null'
          format: guid
        overrides:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/AuthoredLlmProxyOverrideV1'
    McpPolicyV1:
      type: object
      additionalProperties: false
      properties:
        allowedHosts:
          type: array
          items:
            type: string
        forbidTransports:
          type: array
          items:
            type: string
        requireKnownHost:
          type: boolean
        allowlistMode:
          type: string
        defaultServers:
          type: array
          items:
            $ref: '#/components/schemas/DefaultMcpServerV1'
    MatchPredicateV1:
      type: object
      additionalProperties: false
      properties:
        host:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
    SanctionedServerV1:
      type: object
      additionalProperties: false
      properties:
        logicalId:
          type: string
        match:
          type: array
          items:
            $ref: '#/components/schemas/MatchPredicateV1'
        gatewayUrl:
          type: string
    ProblemDetails:
      type: object
      additionalProperties: {}
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
    ValidationProblemDetails:
      allOf:
      - $ref: '#/components/schemas/HttpValidationProblemDetails'
      - type: object
        additionalProperties: {}
        properties:
          errors:
            type: object
            additionalProperties:
              type: array
              items:
                type: string
    AuthoredPolicyV1:
      type: object
      additionalProperties: false
      properties:
        mode:
          type: string
        mcp:
          $ref: '#/components/schemas/McpPolicyV1'
        secrets:
          $ref: '#/components/schemas/SecretsPolicyV1'
        sanctionedServers:
          type: array
          items:
            $ref: '#/components/schemas/SanctionedServerV1'
        llmProxy:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/AuthoredLlmProxyEntryV1'
    UpdatePolicyRequestV1:
      type: object
      additionalProperties: false
      required:
      - expectedRevision
      - policy
      properties:
        expectedRevision:
          type: integer
          format: int64
        policy:
          $ref: '#/components/schemas/AuthoredPolicyV1'
    SecretsPolicyV1:
      type: object
      additionalProperties: false
      properties:
        plaintextForbidden:
          type: boolean
    DefaultMcpServerV1:
      type: object
      additionalProperties: false
      properties:
        logicalId:
          type: string
        gatewayUrl:
          type: string
        installIn:
          type: array
          items:
            type: string
    AuthoredLlmProxyOverrideV1:
      type: object
      additionalProperties: false
      properties:
        gatewayUrl:
          type: string
        gatewayConfigurationId:
          type:
          - string
          - 'null'
          format: guid
  securitySchemes:
    ApiKey:
      type: apiKey
      description: API Key Authentication
      name: X-API-Key
      in: header
    Cookies:
      type: apiKey
      description: Cookie based Authentication
      name: Cookie
      in: header
x-generator: NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))