Petal Docs
  • Introduction
  • Connect to muse (Free)
    • Connect muse & Stream Raw Data
      • Connect muse to Mac
      • Connect muse to Windows
  • Receive Data Streams (Free)
    • Receive an LSL Stream
      • Python Examples
      • Node Examples
    • Receive an OSC Stream
      • Python Examples
      • Node Examples
    • Receive Webhooks
      • Python Examples
      • Node Examples
  • Log Data (Free)
    • Logging Data
  • Metrics API (Maker Plan)
    • API Integration
    • Make Metrics API calls
      • Python Examples
      • Node.js Examples
  • Receive Data Streams (Maker Plan)
    • Receive an LSL Stream
      • Python Examples
      • Node Examples
    • Receive an OSC Stream
      • Python Examples
      • Node Examples
    • Receive Webhooks
      • Python Examples
      • Node Examples
  • Glossary of Terms
    • Glossary of Terms
  • 🧪Markers
    • 🧪Markers User Guide
Powered by GitBook
On this page
  • Obtaining a Metrics ® API Key
  • Enabling Local Metrics Data Stream

Was this helpful?

  1. Metrics API (Maker Plan)

API Integration

PreviousLogging DataNextMake Metrics API calls

Last updated 8 months ago

Was this helpful?

Obtaining a Metrics ® API Key

A Metrics API Key gives you access to the output of our preprocessing functions and detection algorithms (metrics and markers). To get an API key, you will need to first purchase the Pro license from Then, if you haven't already, download the . Next, run the Metrics desktop application.

Log in to your account.

Please note: You will need to create an account on the (via Checkout) and in the downloaded application. Use the same email address you used to purchase Petal Metrics when signing up using the downloaded application.

Click the dropdown menu with your email and select 'GET API KEY'. Then click 'COPY API KEY' to copy it to the clipboard.

Enabling Local Metrics Data Stream

After logging in, select 'ENABLE API CALLS' in the user menu to allow API calls to be made with the connected Muse in real-time. This will be streamed over LSL or OSC according to user preference. Note: We are working to improve the interface to provide better feedback after the 'ENABLE API CALLS' button has been clicked. Currently, the state of the button does not change after clicking.

https://petal.tech/developers/api-developer-pro.
Metrics desktop application
Petal website
An animated GIF visualizes the process of logging in, getting an API key, and enabling API calls.