Skip to main content
Sumo Logic

API Authentication

Sumo Logic supports the following options for API authentication:

  • Access ID and access key
  • Base 64-encoded token

See Access Keys to generate an access key. Make sure to copy the key you create, because it is displayed only once.

When you have an accessId and accessKey you can execute requests such as the following:

curl -u "<accessId>:<accessKey>" -X GET

Where YOUR_DEPLOYMENT is either us1, us2, eu, au, or de. For us1, use For the others, use, and so on. For more information, see Sumo Logic Endpoints.

If you prefer to use a basic authentication token, you can do a Base64 encoding of <accessId>:<accessKey> and run the following:

curl -H "Authorization: Basic <token>" -X GET

Rate limiting

A rate limit of four API requests per second (240 requests per minute) applies to all API calls from a user. If the rate is exceeded, a rate limit exceeded (429) error is returned.