Admin
Search users and agents
Search for users and agents based on various criteria
get/api/admin/search
Query parameters
user.emailstring
Partial match for user email
user.namestring
Partial match for user name
user.walletAddressstring
Partial match for user wallet address
user.status'active' | 'suspended' | 'inactive' | 'deleted'
Filter by user status
agent.namestring
Partial match for agent name
agent.ownerIdstring
Filter by agent owner ID
agent.walletAddressstring
Partial match for agent wallet address
agent.status'active' | 'suspended' | 'inactive' | 'deleted'
Filter by agent status
joinboolean
Whether to "join" the results with a left join on the users table, or return all independent results
Response
Search results
Example response
{
"results": {
"users": [
{
"type": "user"
}
],
"agents": [
{
"type": "agent"
}
]
}
}