Skip to main content
POST
/
api
/
custom-rules
/
{id}
/
execute
Execute custom rule
curl --request POST \
  --url https://api.ai2fin.com/api/custom-rules/{id}/execute \
  --header 'Authorization: Bearer <token>'
{
  "processed": 123,
  "updated": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.ai2fin.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtained from /api/enterprise-auth/login endpoint. Use for standard API access and OAuth-based integrations.

Path Parameters

id
string
required

Response

200 - application/json

Rule executed

processed
integer
updated
integer