Labsco
runwayml logo

rw-check-org-details

โ˜… 55

by runwayml ยท part of runwayml/skills

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

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedPaid serviceNeeds API keys
๐Ÿงฉ One of 7 skills in the runwayml/skills package โ€” works on its own, and pairs well with its siblings.

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

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates โ€” shown here so you can audit it before installing. You don't need to read it to use the skill.

by runwayml

Query the Runway API for organization details: rate limits, credit balance, usage tier, and daily generation counts npx skills add https://github.com/runwayml/skills --skill rw-check-org-details Download ZIPGitHub55

Check Organization Details

PREREQUISITE: Run +rw-setup-api-key first to ensure the API key is configured.

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:

  • Check for a .env file containing RUNWAYML_API_SECRET

  • Or check if the environment variable is set: echo $RUNWAYML_API_SECRET

If the key is not found, tell the user to run +rw-setup-api-key first and stop.

Step 2: Query Organization Info

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

Node.js

Copy & paste โ€” that's it
import RunwayML from '@runwayml/sdk';

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

Python

Copy & paste โ€” that's it
from runwayml import RunwayML

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

cURL / fetch (no SDK)

Copy & paste โ€” that's it
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

Copy & paste โ€” that's it
{
 "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:

Copy & paste โ€” that's it

## 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

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.