Retrieve the Runway account features

August 8, 2024 (July 16, 2026)

Table of contents

  1. Request Headers
  2. Query Parameters
  3. Responses
  4. Model
  5. Examples
  6. Try It

Retrieve account credits information and other details.

https://api.useapi.net/v1/runwayml/features/?…

Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
Query Parameters
  • email is optional when only one account configured. However, if you have multiple accounts configured, this parameter becomes required.
Responses
  • 200 OK

    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 teams array lists the workspaces (teams) this account belongs to, including its own account and any workspace it was added to. A team whose currentPlan is not null is a paid workspace — use its id as useWorkspace when configuring the account via POST /accounts/email to bill generation against that workspace.

  • 400 Bad Request

    {
        "error": "<Error message>",
        "code": 400
    }
    
  • 401 Unauthorized

    {
      "error": "Unauthorized",
      "code": 401
    }
    
Model

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())
    
Try It