Skip to content

Authorizing the Client

In order to use the client, you’ll need to provide some authorization details.

Specifically, there are three pieces of information that are required:


This information can be provided in two ways:

  1. As arguments to the client when it's instantiated (see fdl.FiddlerApi)
  2. In a configuration file (see fiddler.ini)

Finding your URL

The URL should point to wherever Fiddler has been deployed for your organization.

If using Fiddler’s managed cloud service, it should be of the form

https://app.fiddler.ai

Finding your organization ID

To find your organization ID, navigate to the Settings page. Your organization ID will be immediately available on the General tab.

Organization ID

Finding your authorization token

To find your authorization token, first navigate to the Settings page. Then click Credentials and Create Key.

Authorization token

Authorizing via configuration file

If you would prefer not to send authorization details as arguments to fdl.FiddlerApi, you can specify them in a configuration file called fiddler.ini.

The file should be located in the same directory as the script or notebook that initializes the fdl.FiddlerApi object.


The syntax should follow the below example:

fiddler.ini

[FIDDLER]
url = https://app.fiddler.ai
org_id = my_org
auth_token = xtu4g_lReHyEisNg23xJ8IEex0YZEZeeEbTwAsupT0U

Then you can initialize the fdl.FiddlerApi object without any arguments, and Fiddler will automatically detect the fiddler.ini file:

client = fdl.FiddlerApi()
Back to top