Netter row-policies API

The row-policies API from Netter — 2 operation(s) for row-policies.

Operations 4

GET /api/v1/row-policies/{resource_type}/{resource_id} List Row Access Policies #
POST /api/v1/row-policies/{resource_type}/{resource_id} Create Row Access Policy #
PATCH /api/v1/row-policies/policy/{policy_id} Update Row Access Policy #
DELETE /api/v1/row-policies/policy/{policy_id} Delete Row Access 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/netter-row-policies-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

netter-row-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DMI Backend actions Row Policies API
  version: 0.1.0
servers:
- url: https://api.netter.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: row-policies
paths:
  /api/v1/row-policies/{resource_type}/{resource_id}:
    get:
      tags:
      - row-policies
      summary: List Row Access Policies
      description: List all RLS rules for a resource. Requires ADMIN on the resource.
      operationId: list_row_access_policies_api_v1_row_policies__resource_type___resource_id__get
      parameters:
      - name: resource_type
        in: path
        required: true
        schema:
          type: string
          title: Resource Type
      - name: resource_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Resource Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RowAccessPolicyRead'
                title: Response List Row Access Policies Api V1 Row Policies  Resource Type   Resource Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - row-policies
      summary: Create Row Access Policy
      description: Create an RLS rule for a resource. Requires ADMIN on the resource.
      operationId: create_row_access_policy_api_v1_row_policies__resource_type___resource_id__post
      parameters:
      - name: resource_type
        in: path
        required: true
        schema:
          type: string
          title: Resource Type
      - name: resource_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Resource Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RowAccessPolicyCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RowAccessPolicyRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/row-policies/policy/{policy_id}:
    patch:
      tags:
      - row-policies
      summary: Update Row Access Policy
      description: Update an RLS rule's operator, values, or attribute_key. Requires ADMIN on the resource.
      operationId: update_row_access_policy_api_v1_row_policies_policy__policy_id__patch
      parameters:
      - name: policy_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Policy Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RowAccessPolicyUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RowAccessPolicyRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - row-policies
      summary: Delete Row Access Policy
      description: Delete an RLS rule. Requires ADMIN on the resource.
      operationId: delete_row_access_policy_api_v1_row_policies_policy__policy_id__delete
      parameters:
      - name: policy_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Policy Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RowAccessPolicyUpdate:
      properties:
        operator:
          anyOf:
          - $ref: '#/components/schemas/RlsOperator'
          - type: 'null'
        values:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Values
        attribute_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Attribute Key
      type: object
      title: RowAccessPolicyUpdate
    RlsAudienceType:
      type: string
      enum:
      - everyone
      - group
      - user
      title: RlsAudienceType
      description: Values for the ``audience_type`` column (stored as plain VARCHAR).
    RlsOperator:
      type: string
      enum:
      - in
      - not_in
      - eq
      - neq
      - gte
      - lte
      - gt
      - lt
      title: RlsOperator
      description: Supported comparison operators for row-level security rules.
    RlsValueSource:
      type: string
      enum:
      - literal
      - user_attribute
      title: RlsValueSource
      description: Values for the ``value_source`` column (stored as plain VARCHAR).
    RowAccessPolicyRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        resource_type:
          type: string
          title: Resource Type
        resource_id:
          type: string
          format: uuid
          title: Resource Id
        column_name:
          type: string
          title: Column Name
        operator:
          $ref: '#/components/schemas/RlsOperator'
        value_source:
          $ref: '#/components/schemas/RlsValueSource'
        values:
          items:
            type: string
          type: array
          title: Values
        attribute_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Attribute Key
        audience_type:
          $ref: '#/components/schemas/RlsAudienceType'
        audience_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Audience Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - resource_type
      - resource_id
      - column_name
      - operator
      - value_source
      - values
      - attribute_key
      - audience_type
      - audience_id
      - created_at
      - updated_at
      title: RowAccessPolicyRead
    RowAccessPolicyCreate:
      properties:
        column_name:
          type: string
          title: Column Name
        operator:
          $ref: '#/components/schemas/RlsOperator'
          default: in
        value_source:
          $ref: '#/components/schemas/RlsValueSource'
          default: literal
        values:
          items:
            type: string
          type: array
          title: Values
          default: []
        attribute_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Attribute Key
        audience_type:
          $ref: '#/components/schemas/RlsAudienceType'
          default: everyone
        audience_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Audience Id
      type: object
      required:
      - column_name
      title: RowAccessPolicyCreate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError