Skip to main content
Glama
by clipsense
reset_api_key_usage.py•937 B
#!/usr/bin/env python3 """Reset API key usage for testing""" import requests import os # This script resets usage by calling an admin endpoint # For now, we'll create 3 new API keys for testing since we can't access the DB directly test_emails = [ "test1@clipsense-testing.local", "test2@clipsense-testing.local", "test3@clipsense-testing.local" ] print("Creating fresh API keys for testing...\n") for email in test_emails: response = requests.post( "https://api.clipsense.app/api/v1/keys/request", headers={"Content-Type": "application/json"}, json={"email": email} ) print(f"Email: {email}") print(f"Response: {response.json()}") print() print("\nNote: API keys were created but emails may not be delivered.") print("You can retrieve the keys from the Railway database console.") print("\nAlternatively, use these test scenarios with mock data to demonstrate the system.")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clipsense/-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server