Authentication
To authenticate API requests, you'll need an API token from OlmoEarth Studio:
-
Log into OlmoEarth Studio
-
Click the menu icon in the top right corner and select My Profile
-
Copy your API key using the copy button
-
Include the token in the
Authorizationheader as a bearer token:curl -H "Authorization: Bearer YOUR_API_TOKEN" "https://olmoearth.allenai.org/api/v1/..."
If you're using the Interactive OlmoEarth API Browser, simply paste your token in the Authentication box to use the OlmoEarth API directly.
tip
OlmoEarth API Endpoints
OlmoEarth API endpoints are documented in the Interactive OlmoEarth API Browser.
You can use it to understand request and response schemas, make requests directly to the API, and generate client code in many common languages and libraries.