Account Management
Retrieve account details, team information, API keys, and usage statistics for your organization using the account management API.
Introduction
The accountManagement task provides programmatic access to your organization's account information, including team members, API keys, balance, and usage statistics. This is useful for building internal dashboards or monitoring tools that integrate with your Runware account.
Currently, only the getDetails operation is available. Additional operations for managing settings, team members, and API keys will be added in future updates.
Request
Our API always accepts an array of objects as input, where each object represents a specific task to be performed. The structure of the object varies depending on the type of the task. For this section, we will focus on the parameters related to the account management task.
The following JSON snippet shows the basic structure of a request object.
[
{
"taskType": "accountManagement",
"taskUUID": "f4dd3dfe-955f-49d5-a785-7e3b633d6e7a",
"operation": "getDetails"
}
]-
taskType
const:accountManagement required value: accountManagement -
The type of task to perform.
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
operation
string required -
The specific account management operation to perform.
Allowed values 1 value
Response
Results will be delivered in the format below.
{
"data": [
{
"taskType": "accountManagement",
"taskUUID": "f4dd3dfe-955f-49d5-a785-7e3b633d6e7a",
"operation": "getDetails",
"organizationUUID": "a6379343-9ff2-46a0-996b-e4a7b3057c88",
"organizationName": "Acme Corporation",
"AIRSource": "acme",
"balance": 2450.75,
"team": [
{
"name": "John Smith",
"email": "john.smith@acme.com",
"roles": [
"Owner"
],
"joinedAt": "2024-01-15T10:30:00Z"
},
{
"name": "Emily Johnson",
"email": "emily.johnson@acme.com",
"roles": [
"Admin"
],
"joinedAt": "2024-03-22T14:20:00Z"
},
{
"name": "Michael Chen",
"email": "michael.chen@acme.com",
"roles": [
"Developer"
],
"joinedAt": "2024-05-10T09:15:00Z"
}
],
"apiKeys": [
{
"name": "Production API Key",
"apiKey": "YHluz4gk5KU4ZZWr****************",
"description": "Main production environment key",
"createdAt": "2024-01-20T11:00:00Z",
"enabled": true,
"requests": 15420,
"lastUsedAt": "2025-10-12T08:45:30Z"
},
{
"name": "Development API Key",
"apiKey": "fhVbIFjuDlSwZJgY****************",
"description": "Testing and development",
"createdAt": "2024-02-05T16:30:00Z",
"enabled": true,
"requests": 3287,
"lastUsedAt": "2025-10-11T15:22:18Z"
}
],
"usage": {
"total": {
"credits": 48920.50,
"requests": 2540318
},
"today": {
"credits": 35.80,
"requests": 1850
},
"last7Days": {
"credits": 412.25,
"requests": 21400
},
"last30Days": {
"credits": 1685.90,
"requests": 87560
}
}
}
]
}-
taskType
string required value: accountManagement -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
organizationName
string required -
The name of the organization.
-
organizationUUID
string required UUID v4 -
Unique identifier for the organization.
-
balance
object required -
Current account balance and currency.
Properties 3 properties
-
balance»amountamount
float required -
Current balance amount.
-
balance»freeBalancefreeBalance
float -
Available free credit balance.
-
balance»currencycurrency
string required -
Currency code (e.g., USD).
-
-
team
array of objects required -
List of team members.
Properties 4 properties
-
apiKeys
array of objects required -
List of API keys associated with the account.
Properties 7 properties
-
apiKeys»apiKeyapiKey
string required -
The API key string (partially masked).
-
apiKeys»namename
string required -
Name or label for the API key.
-
apiKeys»descriptiondescription
string -
Description of the API key.
-
apiKeys»enabledenabled
boolean required -
Whether the API key is active.
-
apiKeys»createdAtcreatedAt
string required DATE-TIME -
Date and time when the key was created.
-
apiKeys»lastUsedAtlastUsedAt
string DATE-TIME -
Date and time when the key was last used.
-
apiKeys»requestsrequests
integer -
Total number of requests made with this key.
-
-
usage
object required -
Usage statistics for different time periods.
Properties 4 properties
-
usage»todaytoday
object required -
Usage stats for today.
-
usage»last7Dayslast7Days
object required -
Usage stats for the last 7 days.
-
usage»last30Dayslast30Days
object required -
Usage stats for the last 30 days.
-
usage»totaltotal
object required -
Total lifetime usage stats.
-