Organizations
Organizations in SearchAF provide a workspace for managing teams, projects, and billing. Each organization can have multiple members with different roles and permissions.
Creating an Organization
To create a new organization:
- Navigate to the Organizations dashboard
- Click "Create Organization"
- Provide organization details:
- Name: Your organization name
- Slug: URL-friendly identifier
- Description: Optional description
POST /api/v1/organizations
Content-Type: application/json
Authorization: Bearer {token}
{
"name": "Acme Corporation",
"slug": "acme-corp",
"description": "E-commerce search platform"
}
Organization Structure
Each organization contains:
- Members: Team members with assigned roles
- Projects: Individual search projects
- Subscription: Billing and plan details
- Usage: Analytics and resource consumption
- Audit Logs: Security and activity tracking
Member Roles
Organizations support role-based access control (RBAC):
- Owner: Full administrative access
- Admin: Manage members and projects
- Developer: Create and manage projects
- Viewer: Read-only access
Managing Members
Inviting Members
POST /api/v1/organizations/{org_id}/members
Content-Type: application/json
Authorization: Bearer {token}
{
"email": "teammate@example.com",
"role": "developer"
}
Removing Members
DELETE /api/v1/organizations/{org_id}/members/{member_id}
Authorization: Bearer {token}
Updating Member Roles
PATCH /api/v1/organizations/{org_id}/members/{member_id}
Content-Type: application/json
Authorization: Bearer {token}
{
"role": "admin"
}
Organization Settings
Configure your organization settings including:
- Profile information
- Billing details
- Security policies
- Integrations
Next Steps
- Projects - Create and manage search projects
- Usage & Analytics - Monitor resource consumption
- API Reference - Explore the API endpoints