Overview
User endpoints allow you to create and manage users, view their project associations, and manage their API keys. Users are the entities that authenticate to the gateway and are associated with specific projects.List All Users
Retrieve a list of all users in the system.200 OK
array
Create User
Create a new user with an email address.string
required
Valid email address for the new user (must be unique)
200 OK
400 Bad Request (if email already exists)
Get User
Retrieve details of a specific user.string
required
User ID or email address
200 OK
Update User
Update a user’s email address.string
required
User ID or current email address
string
required
New email address for the user (must be unique)
200 OK
Delete User
Delete a user and optionally force deletion even if they have active projects or API keys.string
required
User ID or email address
boolean
Force deletion even if user has active projects or API keys (default: false)
200 OK
400 Bad Request (if force=false and user has dependencies)
List User Projects
Get all projects a user belongs to.string
required
User ID or email address
200 OK
List User API Keys
Get all API keys for a user, optionally filtered by project.string
required
User ID or email address
string
Optional project ID or name to filter API keys
200 OK
Generate User API Key
Generate a new API key for a user within a specific project.string
required
User ID or email address
string
Project name (either project_name or project_id required)
string
Project ID (either project_name or project_id required)
200 OK
400 Bad Request (if user is not in project)
Delete All User API Keys
Delete all API keys for a specific user.string
required
User ID or email address
200 OK
Search Users
Search users by email address.string
required
Search query (matches against email addresses)
200 OK
Complete User Management Example
Here’s a complete workflow for managing users:Next Steps
API Key Management
Detailed API key operations
Project Endpoints
Manage user-project associations
Configuration Endpoints
Configure MCP servers
System Endpoints
System operations