Skip to main content
GET
/
v1
/
accounts
/
me
Get the authenticated caller's account.
curl --request GET \
  --url https://api.runloop.ai/v1/accounts/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "created_at": "<string>",
  "billing": {
    "stripe": {
      "customer_id": "<string>",
      "active_subscription": "<string>"
    },
    "aws": {
      "customer_identifier": "<string>",
      "license_arn": "<string>",
      "subscription_status": "<string>"
    },
    "stripe_customer_id": "<string>"
  },
  "stripe_customer_id": "<string>",
  "active_subscription": "<string>",
  "external_billing_account_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.runloop.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

Account information.

id
string
required

The account ID.

name
string
required

The account name.

tier
enum<string>
required

The account tier.

Available options:
ACCOUNT_TIER_INVALID,
ACCOUNT_TIER_BASIC,
ACCOUNT_TIER_PRO,
ACCOUNT_TIER_ENTERPRISE,
ACCOUNT_TIER_TRIAL,
UNRECOGNIZED
account_status
enum<string>
required

The account status.

Available options:
ACCOUNT_STATUS_INVALID,
ACCOUNT_STATUS_ONBOARDING,
ACCOUNT_STATUS_ENABLED,
ACCOUNT_STATUS_DISABLED_BY_ADMIN,
ACCOUNT_STATUS_DISABLED_QUOTA_REACHED,
ACCOUNT_STATUS_TRIAL_CANCELLED,
ACCOUNT_STATUS_STRIPE_PENDING_RESOURCES,
UNRECOGNIZED
created_at
string
required

The account creation timestamp.

billing
object
required

The account billing information.

stripe_customer_id
string | null

Deprecated: use billing.stripe.customer_id.

active_subscription
string | null

Deprecated: use billing.stripe.active_subscription.

account_billing_type
enum<string>

Deprecated: use billing.account_billing_type.

Available options:
STRIPE,
AWS_MARKETPLACE,
STRIPE_PROJECTS,
UNRECOGNIZED
external_billing_account_id
string | null

Deprecated: use billing.aws.customer_identifier.