Organization & Dashboard
Manage your organization profile, webhook URLs, and view dashboard stats.
Organization & Dashboard
Manage your organization profile, webhook URLs, and view dashboard stats.
GET
/v1/org/meJWTGet org profile, key count, webhook URLs
PATCH
/v1/org/meJWTUpdate name, webhook URLs
GET
/v1/org/statsJWTActive agents, events 24h, top anomalies
Update webhooks
PATCH /v1/org/me
Authorization: Bearer eyJhbGci...
{
"slack_webhook_url": "https://hooks.slack.com/...",
"discord_webhook_url": "https://discord.com/api/..."
}Dashboard stats
GET /v1/org/stats
{
"active_agents": 7,
"events_24h": 1482,
"top_anomalies": [
"prompt_injection",
"rate_limit_exceeded"
]
}Organization Profile
The GET /v1/org/me endpoint returns full organization details including member count, key count, and configured webhook URLs.
Webhook Configuration
Configure Slack and Discord webhooks to receive real-time alerts when security events are detected. Use PATCH /v1/org/me to set or update webhook URLs.
| Field | Type | Description |
|---|---|---|
| name | string | Organization display name |
| slack_webhook_url | string | Slack incoming webhook URL |
| discord_webhook_url | string | Discord webhook URL |
Dashboard Stats
The GET /v1/org/stats endpoint returns a summary of current organization activity, including active agent count, events in the last 24 hours, and the most common anomaly types.