Frequently Asked Questions

General Questions

Q: How do I get an API key?

A: You can generate a new API key in the console under "Settings > API Keys". Make sure to save the key in a secure location as it will only be shown once.

Q: Which programming languages are supported?

A: We currently provide SDKs for the following languages:

  • TypeScript/JavaScript
  • Python
  • Java
  • Go

Q: How do I upgrade to the latest version?

A: Use your package manager to upgrade to the latest version:

npm update @your-product/core
# or
yarn upgrade @your-product/core

Technical Questions

Q: How do I handle API errors?

A: We recommend using try-catch blocks to handle API errors:

try {
  const result = await api.doSomething()
} catch (error) {
  if (error.code === 'RATE_LIMIT') {
    // Handle rate limiting
  } else {
    // Handle other errors
  }
}

Q: How do I implement automatic retries?

A: You can use our retry utility:

import { withRetry } from '@your-product/core'

const result = await withRetry(() => api.doSomething(), {
  maxAttempts: 3,
  delay: 1000
})

Account and Billing

Q: How do I change my billing plan?

A: Log into the console and visit "Account > Subscriptions" to make changes.

Q: Is there a free tier?

A: Yes, we offer a free tier with basic features suitable for development and testing.

Troubleshooting

Q: How do I enable debug mode?

A: Set the debug option during initialization:

const app = initializeApp({
  debug: true
  // Other configuration...
})

Q: Where can I find logs?

A: Logs can be found in the following locations:

  1. Console's "Logs" page
  2. Local development environment terminal output
  3. Application log files