Create filter

POST
/api/v1/filters

Create a new filter in a project.

Authorization

auth ApiKey
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

In: header

X-API-KEY<token>

Internal API key for admin endpoints. Example: "X-API-KEY: {key}"

In: header

Request Body

application/json

Filter creation request containing name, description, and project ID.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/filters" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"  }'
"string"