Feature Flags
Check whether specific features are enabled for your account. Feature availability may vary by plan tier or account configuration.
GET
/api/v1/settings/feature-flags/:nameCheck if a specific feature flag is enabled for the authenticated user. Returns the flag status and any associated metadata.
Path Parameters
namestringrequiredThe feature flag name (e.g., copy_trading, monte_carlo, custom_indicators).
Response
200 OKGET/api/v1/settings/feature-flags/:name
curl -X GET "https://api.gilito.ai/api/v1/settings/feature-flags/{name}" \
-H "Authorization: Bearer YOUR_API_KEY"Try It
Example Response
{
"data": {
"name": "copy_trading",
"enabled": true,
"tier": "pro",
"metadata": {
"maxFollowers": 10,
"autoSyncEnabled": true
}
}
}