Skip to main content
GET
/
v1
/
accounts
/
{account_id}
Get Account
curl --request GET \
  --url https://api.fireworks.ai/v1/accounts/{account_id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "displayName": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "state": "STATE_UNSPECIFIED",
  "status": {
    "code": "OK",
    "message": "<string>"
  },
  "suspendState": "UNSUSPENDED",
  "updateTime": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

account_id
string
required

The Account Id

Query Parameters

readMask
string

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

200 - application/json

A successful response.

email
string
required

For developer accounts, this is the email of the developer user and is immutable. For ENTERPRISE and BUSINESS accounts, this is mutable and it is the email that will recieve the invoice for the account if automated billing is used.

name
string
displayName
string

Human-readable display name of the account. e.g. "My Account" Must be fewer than 64 characters long.

createTime
string<date-time>

The creation time of the account.

state
enum<string>
default:STATE_UNSPECIFIED

The state of the account.

Available options:
STATE_UNSPECIFIED,
CREATING,
READY,
UPDATING,
DELETING
status
object

Contains information about the account status.

suspendState
enum<string>
default:UNSUSPENDED
Available options:
UNSUSPENDED,
FAILED_PAYMENTS,
CREDIT_DEPLETED,
MONTHLY_SPEND_LIMIT_EXCEEDED,
BLOCKED_BY_ABUSE_RULE
updateTime
string<date-time>

The update time for the account.