API: Account Info

Customer account information can be retrieved by issuing a GET request against a URL of the following format:

http://<account>.loggly.com/apiv2/customer

An example of a request and response:

 $ curl -u user:pass http://example.loggly.com/apiv2/customer 

{
  "tokens": [
    "bc6b16c6-21fc-44fc-aad4-3a9c6ea596e5", 
    "91588529-90b1-4d9c-8908-db9b90c2d725"
  ], 
  "subdomain": "example", 
  "subscription": {
    "volume_limit_mb": 200, 
    "retention_days": 7
  }
}

The response will be a JSON-encoded body with properties enumerating various account information.

Field Description
tokens List of Customer Tokens available for authorizing the event stream.
subdomain The account name.
subscription Information about the account’s current subscription.
archive-s3-bucket Forthcoming. Name of a bucket on S3 to which we are writing archived events.
Thanks for the feedback! We'll use it to improve our support documentation.


Top