Permit.io · Capability

Permit.io API — Proxy Config

Permit.io API — Proxy Config. 5 operations. Lead operation: List Proxy Configs. Self-contained Naftiko capability covering one Permit Io business surface.

Run with Naftiko Permit IoProxy Config

What You Can Do

GET
Listproxyconfigs — List Proxy Configs
/v1/v2/facts/{proj-id}/{env-id}/proxy-configs
POST
Createproxyconfig — Create Proxy Config
/v1/v2/facts/{proj-id}/{env-id}/proxy-configs
GET
Getproxyconfig — Get Proxy Config
/v1/v2/facts/{proj-id}/{env-id}/proxy-configs/{proxy-config-id}
DELETE
Deleteproxyconfig — Delete Proxy Config
/v1/v2/facts/{proj-id}/{env-id}/proxy-configs/{proxy-config-id}
PATCH
Updateproxyconfig — Update Proxy Config
/v1/v2/facts/{proj-id}/{env-id}/proxy-configs/{proxy-config-id}

MCP Tools

list-proxy-configs

List Proxy Configs

read-only idempotent
create-proxy-config

Create Proxy Config

get-proxy-config

Get Proxy Config

read-only idempotent
delete-proxy-config

Delete Proxy Config

idempotent
update-proxy-config

Update Proxy Config

idempotent

Capability Spec

permit-io-proxy-config.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Permit.io API — Proxy Config
  description: 'Permit.io API — Proxy Config. 5 operations. Lead operation: List Proxy Configs. Self-contained Naftiko capability
    covering one Permit Io business surface.'
  tags:
  - Permit Io
  - Proxy Config
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PERMIT_IO_API_KEY: PERMIT_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: permit-io-proxy-config
    baseUri: ''
    description: Permit.io API — Proxy Config business capability. Self-contained, no shared references.
    resources:
    - name: v2-facts-proj_id-env_id-proxy_configs
      path: /v2/facts/{proj_id}/{env_id}/proxy_configs
      operations:
      - name: listproxyconfigs
        method: GET
        description: List Proxy Configs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: proj_id
          in: path
          type: string
          description: 'Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").'
          required: true
        - name: env_id
          in: path
          type: string
          description: 'Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").'
          required: true
        - name: page
          in: query
          type: integer
          description: Page number of the results to fetch, starting at 1.
        - name: per_page
          in: query
          type: integer
          description: The number of results per page (max 100).
      - name: createproxyconfig
        method: POST
        description: Create Proxy Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: proj_id
          in: path
          type: string
          description: 'Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").'
          required: true
        - name: env_id
          in: path
          type: string
          description: 'Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-facts-proj_id-env_id-proxy_configs-proxy_config_id
      path: /v2/facts/{proj_id}/{env_id}/proxy_configs/{proxy_config_id}
      operations:
      - name: getproxyconfig
        method: GET
        description: Get Proxy Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: proxy_config_id
          in: path
          type: string
          description: 'Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the "slug").'
          required: true
        - name: proj_id
          in: path
          type: string
          description: 'Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").'
          required: true
        - name: env_id
          in: path
          type: string
          description: 'Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").'
          required: true
      - name: deleteproxyconfig
        method: DELETE
        description: Delete Proxy Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: proxy_config_id
          in: path
          type: string
          description: 'Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the "slug").'
          required: true
        - name: proj_id
          in: path
          type: string
          description: 'Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").'
          required: true
        - name: env_id
          in: path
          type: string
          description: 'Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").'
          required: true
      - name: updateproxyconfig
        method: PATCH
        description: Update Proxy Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: proxy_config_id
          in: path
          type: string
          description: 'Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the "slug").'
          required: true
        - name: proj_id
          in: path
          type: string
          description: 'Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").'
          required: true
        - name: env_id
          in: path
          type: string
          description: 'Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PERMIT_IO_API_KEY}}'
  exposes:
  - type: rest
    namespace: permit-io-proxy-config-rest
    port: 8080
    description: REST adapter for Permit.io API — Proxy Config. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/facts/{proj-id}/{env-id}/proxy-configs
      name: v2-facts-proj-id-env-id-proxy-configs
      description: REST surface for v2-facts-proj_id-env_id-proxy_configs.
      operations:
      - method: GET
        name: listproxyconfigs
        description: List Proxy Configs
        call: permit-io-proxy-config.listproxyconfigs
        with:
          proj_id: rest.proj_id
          env_id: rest.env_id
          page: rest.page
          per_page: rest.per_page
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproxyconfig
        description: Create Proxy Config
        call: permit-io-proxy-config.createproxyconfig
        with:
          proj_id: rest.proj_id
          env_id: rest.env_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/facts/{proj-id}/{env-id}/proxy-configs/{proxy-config-id}
      name: v2-facts-proj-id-env-id-proxy-configs-proxy-config-id
      description: REST surface for v2-facts-proj_id-env_id-proxy_configs-proxy_config_id.
      operations:
      - method: GET
        name: getproxyconfig
        description: Get Proxy Config
        call: permit-io-proxy-config.getproxyconfig
        with:
          proxy_config_id: rest.proxy_config_id
          proj_id: rest.proj_id
          env_id: rest.env_id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproxyconfig
        description: Delete Proxy Config
        call: permit-io-proxy-config.deleteproxyconfig
        with:
          proxy_config_id: rest.proxy_config_id
          proj_id: rest.proj_id
          env_id: rest.env_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateproxyconfig
        description: Update Proxy Config
        call: permit-io-proxy-config.updateproxyconfig
        with:
          proxy_config_id: rest.proxy_config_id
          proj_id: rest.proj_id
          env_id: rest.env_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: permit-io-proxy-config-mcp
    port: 9090
    transport: http
    description: MCP adapter for Permit.io API — Proxy Config. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-proxy-configs
      description: List Proxy Configs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: permit-io-proxy-config.listproxyconfigs
      with:
        proj_id: tools.proj_id
        env_id: tools.env_id
        page: tools.page
        per_page: tools.per_page
      outputParameters:
      - type: object
        mapping: $.
    - name: create-proxy-config
      description: Create Proxy Config
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: permit-io-proxy-config.createproxyconfig
      with:
        proj_id: tools.proj_id
        env_id: tools.env_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-proxy-config
      description: Get Proxy Config
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: permit-io-proxy-config.getproxyconfig
      with:
        proxy_config_id: tools.proxy_config_id
        proj_id: tools.proj_id
        env_id: tools.env_id
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-proxy-config
      description: Delete Proxy Config
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: permit-io-proxy-config.deleteproxyconfig
      with:
        proxy_config_id: tools.proxy_config_id
        proj_id: tools.proj_id
        env_id: tools.env_id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-proxy-config
      description: Update Proxy Config
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: permit-io-proxy-config.updateproxyconfig
      with:
        proxy_config_id: tools.proxy_config_id
        proj_id: tools.proj_id
        env_id: tools.env_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.