---
updatedAt: 2025-09-25T22:29:51.000Z
agentTools:
  projectIndex: https://docs.attributionapp.com/llms.txt
---

# List regulations

List GDPR regulations present in the project and their status, times of creation and finishing

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "AttributionApp GDPR Regulations API",
    "description": "This API allows you to automate GDPR requests processing",
    "termsOfService": "http://attributionapp.com/terms/",
    "contact": {
      "name": "Attributionapp API Team"
    }
  },
  "externalDocs": {
    "description": "Find more info here",
    "url": "https://attributionapp.com/docs"
  },
  "paths": {
    "/regulations": {
      "get": {
        "summary": "List regulations",
        "description": "List GDPR regulations present in the project and their status, times of creation and finishing",
        "operationId": "getRegulations",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Regulations",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Regulations"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.attributionapp.com"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "UnauthorizedError": {
        "description": "Access token is missing or invalid"
      }
    },
    "schemas": {
      "Regulations": {
        "type": "object",
        "properties": {
          "entries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "regulate_id": {
                  "type": "string",
                  "title": "unique ID of regulation"
                },
                "attributes": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "enum": [
                        "userId"
                      ],
                      "title": "Only \"userId\" is supported"
                    },
                    "values": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "title": "ID of user to regulate"
                      }
                    }
                  }
                },
                "status": {
                  "type": "string",
                  "title": "Status of regulation",
                  "enum": [
                    "initialized",
                    "running",
                    "finished",
                    "failed"
                  ]
                },
                "created_at": {
                  "type": "string",
                  "title": "Creation time in ISO 8601",
                  "example": "2019-04-26T18:18:46Z"
                },
                "finished_at": {
                  "type": "string",
                  "title": "Finish time in ISO 8601",
                  "example": "2019-04-26T18:18:46Z",
                  "nullable": true
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```