API keys are used to authenticate your requests when using the Artemis Search API. This page explains how to manage and use your API keys securely.

Never share your API keys publicly or commit them to version control systems.

Accessing Your API Key

You can access your API key from the “Secrets” tab in your account settings. Learn more about account settings here.

Using Your API Key

To authenticate API requests, include your API key in the Authorization header of requests.

fetch('https://api.search-artemis.com/search', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer YOUR_API_KEY`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    projectId: 'YOUR_PROJECT_ID',
    searchQuery: 'companies that require HIPAA compliance',
    numberOfBatches: 50,
    topK: 5
  })
})
.then(response => response.json())

Best Practices

For any issues with API keys or to request increased rate limits, please contact our support team at pallavi@artemisar.com.