API Keys

Manage your API keys for Quiet Stack blockchain audit logging

Total API Keys

0

Total Usage

0

Active Keys

0

Your API Keys

Manage and monitor your API keys. Keep them secure and never share them publicly.

🔐 API Key Security

Important information about your API keys

Why can't I see my full API key?

  • Full API keys are shown only once during creation for security
  • We store only a hashed version and the prefix for identification
  • This prevents key exposure if our database is compromised
  • If you lose your key, create a new one and delete the old one

Quick Integration

Get started with your API key in minutes

1. Make your AI request

const aiResponse = await fetch('https://api.openai.com/v1/chat/completions', {
  method: 'POST',
  headers: { 'Authorization': 'Bearer YOUR_OPENAI_KEY' },
  body: JSON.stringify({ model: 'gpt-4', messages: [...] })
});
const aiData = await aiResponse.json();

2. Log to Quiet Stack blockchain

const auditResponse = await fetch('https://api.quietstack.ai/api/v1/audit/log', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_QUIETSTACK_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    context: {
      request_id: 'req-' + Date.now(),
      model_provider: 'openai',
      model_name: 'gpt-4',
      prompt: 'Your prompt',
      response: aiData.choices[0].message.content,
      token_usage: aiData.usage,
      timestamp: new Date().toISOString()
    }
  })
});

const audit = await auditResponse.json();
console.log('Transaction:', audit.transaction_hash);

Works with any AI provider

Use OpenAI, Anthropic, local models, or any other provider. Quiet Stack logs the audit trail to blockchain after you get the AI response.