Chevron RightKensho NERDChevron Right

Authentication Quickstart

v1 (Latest)

Authentication Quickstart

This guide is intended for users who would like to access the NERD API programatically and have an Okta profile configured.

To get started, visit the login page to get your Access Token. You will be prompted to login to Okta, and upon a successful login, you will be redirected back to the home page. You can then click your email address and select the "Account" menu option in the top right to see your Access Token and Refresh Token.

Copy your Access token and visit our Text Annotation Guide guide in order to use the token to submit an annotations request.

The Access Token expires one hour after it is provisioned. You can also use the Refresh Token (expires after one week) to get a new Access Token by sending a request to<Refresh Token>

Your new Access Token will be returned in the "access_token" section of the response.

import json
import requests
refresh_token = "" # copy-paste your Refresh Token string obtained from login in the quotation marks
response = requests.get(f"{refresh_token}")
access_token = response.json()["access_token"]
AnS&P Globalcompany

Harvard Square + AI Lab

44 Brattle St
Cambridge, MA 02138

New York City

One World Trade Center
New York, NY 10006

Washington D.C.

Tysons Corner
McLean, VA 22102
Copyright © 2022 Kensho Technologies, LLC. Kensho and Visallo marks are the property of Kensho Technologies, LLC. All rights reserved.