---
updatedAt: 2026-07-06T22:28:57.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# Apply rule model to  org

Apply rule model to an organization.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Core platform - Rule models",
    "description": "Manage rule models",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    },
    "version": "1.37.0"
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io/processing-code",
      "description": "Sandbox API server for testing"
    }
  ],
  "tags": [
    {
      "name": "Apply",
      "description": "Endpoints to apply a rule model."
    }
  ],
  "components": {
    "schemas": {
      "BadRequestError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "PC0001",
            "description": "Error code"
          },
          "message": {
            "type": "string",
            "example": "Invalid request payload",
            "description": "Error message"
          }
        }
      },
      "ConfigRequest": {
        "type": "object",
        "required": [
          "model_id"
        ],
        "properties": {
          "model_id": {
            "type": "string",
            "description": "Model ID",
            "example": "a9995aba-c2c0-41f9-84e9-f245665e0159"
          }
        }
      },
      "InternalServerError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "PC0002",
            "description": "Error code"
          },
          "message": {
            "type": "string",
            "example": "An unexpected error happened.",
            "description": "Error message"
          }
        }
      }
    },
    "responses": {
      "400BadRequest": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BadRequestError"
            }
          }
        }
      },
      "500InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/InternalServerError"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/v1/config": {
      "post": {
        "summary": "Apply rule model to  org",
        "description": "Apply rule model to an organization.\n",
        "operationId": "post-org-model-config",
        "tags": [
          "Apply"
        ],
        "requestBody": {
          "description": "Parameters to apply the rule model",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigRequest"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400BadRequest"
          },
          "500": {
            "$ref": "#/components/responses/500InternalServerError"
          }
        }
      }
    }
  }
}
```