All skills
runwayml avatar

/rw-check-org-details

@82d9fad official
by Runwayrunwayml/skills70 stars
18

Query the Runway API for organization details: rate limits, credit balance, usage tier, and daily generation counts

Use this Skill: https://skilld.dev/gh/runwayml/skills/rw-check-org-details

This session only. Nothing lands on disk.

SKILL.md

≈34 tokens always: the name and description. ≈1.2k when used: this file.

Check Organization Details

Prerequisite: RUNWAYML_API_SECRET must be available to the server-side process. Never print or paste its value.

Query the Runway API to retrieve the user's organization details — credit balance, usage tier, rate limits, current daily generation counts, and historical credit usage.

Step 1: Verify API Key Is Available

Before making any requests, confirm the API key is accessible:

  1. Check whether the project loads RUNWAYML_API_SECRET from its server-side environment.
  2. Or check the current shell without printing the value: test -n "$RUNWAYML_API_SECRET".

If the key is not found, ask the user to create one in Runway Developer Portal settings and add it to the server-side environment, then stop.

Step 2: Query Organization Info

Call GET /v1/organization to retrieve the org's tier, credit balance, and current usage.

Node.js

import RunwayML from '@runwayml/sdk';

const client = new RunwayML();
const details = await client.organization.retrieve();
console.log(JSON.stringify(details, null, 2));

Python

from runwayml import RunwayML

client = RunwayML()
details = client.organization.retrieve()
print(details)

cURL / fetch (no SDK)

curl -s https://api.dev.runwayml.com/v1/organization \
  -H "Authorization: Bearer $RUNWAYML_API_SECRET" \
  -H "X-Runway-Version: 2024-11-06" | python3 -m json.tool

Response Shape

{
  "tier": {
    "maxMonthlyCreditSpend": 10000,
    "models": {
      "gen4.5": {
        "maxConcurrentGenerations": 2,
        "maxDailyGenerations": 200
      }
    }
  },
  "creditBalance": 5000,
  "usage": {
    "models": {
      "gen4.5": {
        "dailyGenerations": 12
      }
    }
  }
}

Step 3: Present the Results

Format the output as a clear summary for the user:

## Organization Overview

**Credit Balance:** X credits ($X.XX at $0.01/credit)
**Monthly Spend Cap:** X credits

### Rate Limits (by model)

| Model | Concurrency | Daily Limit | Used Today | Remaining |
|-------|-------------|-------------|------------|-----------|
| gen4.5 | 2 | 200 | 12 | 188 |
| veo3.1 | 2 | 100 | 5 | 95 |
| ... | ... | ... | ... | ... |

Key things to highlight:

  • Credit balance — convert to dollar value (credits × $0.01)
  • Per-model daily limits — show how many generations remain today (rolling 24-hour window)
  • Concurrency — how many tasks can run simultaneously per model
  • Monthly cap — the max credit spend per month for their tier

Step 4 (Optional): Query Credit Usage History

If the user wants to see historical usage, call POST /v1/organization/usage.

Node.js

const usage = await client.organization.retrieveUsage({
  startDate: '2026-02-15',   // ISO-8601, up to 90 days back
  beforeDate: '2026-03-17'   // exclusive end date
});
console.log(JSON.stringify(usage, null, 2));

Python

usage = client.organization.retrieve_usage(
    start_date="2026-02-15",
    before_date="2026-03-17"
)
print(usage)

cURL / fetch (no SDK)

curl -s -X POST https://api.dev.runwayml.com/v1/organization/usage \
  -H "Authorization: Bearer $RUNWAYML_API_SECRET" \
  -H "X-Runway-Version: 2024-11-06" \
  -H "Content-Type: application/json" \
  -d '{"startDate": "2026-02-15", "beforeDate": "2026-03-17"}' \
  | python3 -m json.tool

Response Shape

{
  "results": [
    {
      "date": "2026-03-16",
      "usedCredits": [
        { "model": "gen4.5", "amount": 120 },
        { "model": "veo3.1", "amount": 400 }
      ]
    }
  ],
  "models": ["gen4.5", "veo3.1"]
}

Present this as a usage breakdown:

### Credit Usage (Feb 15 – Mar 17)

| Date | Model | Credits Used |
|------|-------|-------------|
| 2026-03-16 | gen4.5 | 120 |
| 2026-03-16 | veo3.1 | 400 |
| ... | ... | ... |

**Total:** X credits

Tier Reference

If the user asks about upgrading, share the tier breakdown:

Tier Concurrency Daily Gens Monthly Cap Unlock Requirement
1 (default) 1–2 50–200 $100 —
2 3 500–1,000 $500 1 day + $50 spent
3 5 1,000–2,000 $2,000 7 days + $100 spent
4 10 5,000–10,000 $20,000 14 days + $1,000 spent
5 20 25,000–30,000 $100,000 7 days + $5,000 spent

Tiers upgrade automatically once the spend and time requirements are met.

Troubleshooting

Issue Cause Fix
401 Unauthorized Invalid or missing API key Replace RUNWAYML_API_SECRET with a valid Developer Portal key
creditBalance is 0 No credits purchased Purchase at https://dev.runwayml.com/ → Billing (min $10)
Daily limit reached Rolling 24-hour quota exhausted Wait for the window to reset, or upgrade tier
All models show 0 daily limit Tier 1 restrictions Check that credits have been purchased

Source: SKILL.md on GitHub

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill queries organization details from the official Runway Developer API using standard practices and official/expected SDK and CLI commands. No malicious behaviors were detected.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 82d9fad. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month
What it can do
Reads files Runs commands
user-invocable
true
All 6 allowed tools
ReadGrepGlobBash(node *)Bash(python3 *)Bash(curl *)
  • API
  • runway
  • organization
  • credits
  • rate-limits
  • usage
  • billing
  • gen4.5
  • veo3.1

README badge

README badge for runwayml/skills/rw-check-org-details

Queries the Runway API to retrieve organization details including credit balance, usage tier, rate limits, and daily generation counts across models. Helps developers monitor their Runway account quota and spending before running media generation tasks.

Generated from the current SKILL.md.

What API key does this skill require?
This skill requires a Runway API key stored in `RUNWAYML_API_SECRET` (either as an environment variable or in a `.env` file). Run `+rw-setup-api-key` first to configure it.
What information does this skill retrieve?
The skill queries the Runway API to return credit balance, usage tier, rate limits per model, current daily generation counts, and optionally historical credit usage over a date range (up to 90 days back).
Does this skill support all Runway models?
The skill works with any model in your organization's tier (e.g., gen4.5, veo3.1). It retrieves rate limits and usage for all models available to your account.
Can I query historical credit usage?
Yes, the skill includes an optional step to call the usage history endpoint, which returns daily credit consumption by model for a date range up to 90 days back.

Generated from the current SKILL.md. These answers refresh after source changes.