Retrieve the Runway account features
August 8, 2024 (November 16, 2026)
Table of contents
Retrieve account credits information and other details.
https://api.useapi.net/v1/runwayml/features/?…
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
API tokenis required, see Setup useapi.net for details.
Query Parameters
emailis optional when only one account configured. However, if you have multiple accounts configured, this parameter becomes required.
Responses
-
The response below has been omitted for brevity to include only essential fields, the live endpoint will return a much larger response.
{ "permitted": { "storageGB": 500, "numPlanCredits": 2250 }, "used": { "numPlanCredits": 1315 }, "teams": [ { "id": 123456, "teamName": "My account", "email": "user-1@example.com", "currentPlan": null }, { "id": 654321, "teamName": "Team workspace", "email": "owner@example.com", "currentPlan": "unlimited-monthly", "planExpiration": "2026-12-31T00:00:00.000Z" } ] }The
teamsarray lists the workspaces (teams) this account belongs to, including its own account and any workspace it was added to. A team whosecurrentPlanis notnullis a paid workspace — use itsidasuseWorkspacewhen configuring the account via POST /accounts/emailto bill generation against that workspace. -
{ "error": "<Error message>", "code": 400 } -
{ "error": "Unauthorized", "code": 401 }
Model
The account’s plan credits and how many are used, its storage allowance, and the workspaces (teams) it belongs to with their plans.
The account's credits, storage and workspaces, field by field
The model below has been omitted for brevity to include only essential fields, the live endpoint will return many more fields.
{ // TypeScript, all fields are optional
permitted: {
storageGB: number,
numPlanCredits: number
},
used: {
numPlanCredits: number
},
teams: {
id: number,
teamName: string,
email: string,
currentPlan: string,
planExpiration: string,
}[]
}
Examples
-
curl "https://api.useapi.net/v1/runwayml/features/" \ -H "Accept: application/json" \ -H "Authorization: Bearer …" -
const token = "API token"; const email = "Previously configured email"; const apiUrl = `https://api.useapi.net/v1/runwayml/features/?email=${email}`; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result}); -
import requests token = "API token" email = "Previously configured email" apiUrl = f"https://api.useapi.net/v1/runwayml/features/?email={email}" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())