Skip to main content
GET
Get an AWS account

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Path Parameters

aws_account_id
string
required

Response

Successful Response

A connection to one AWS payer account.

id
string
required
read-only

The unique identifier of the account.

etag
string
required
read-only

Opaque strong ETag for this account's configuration. Matches the ETag response header, and is what If-Match requires on a write. It changes whenever a configurable field on the account changes.

name
string
required

Display name for the account, as shown throughout SELECT.

connection_id
string
required
read-only

Identifier of the underlying connection, which SELECT reports sync state and connection alerts against.

payer_account_id
string
required

The 12-digit AWS account id of the payer account SELECT reads spend for.

s3_bucket
string
required

The S3 bucket AWS delivers this payer account's Cost and Usage Report to.

region
string
required

The AWS region the bucket is in, such as us-east-1. SELECT reads the bucket through this region's S3 endpoint.

sync_enabled
boolean
required

Whether SELECT is currently syncing data for this account.

create_time
string
required
read-only

When the account was added.

update_time
string
required
read-only

When the account was last changed.

s3_prefix
string | null

Path within the bucket that the report is delivered under. Null when the report is delivered at the root of the bucket.

added_by_email
string | null

Email address of the person who added the account. Null when it was not added by a person.

last_successful_sync_time
string | null

When SELECT last completed a sync for this account. Null before the first one succeeds.