rw-check-org-details
Query the Runway API for organization details: rate limits, credit balance, usage tier, and daily generation counts
What this skill does
# 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:
1. Check for a `.env` file containing `RUNWAYML_API_SECRET`
2. 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
```javascript
import RunwayML from '@runwayml/sdk';
const client = new RunwayML();
const details = await client.organization.retrieve();
console.log(JSON.stringify(details, null, 2));
```
### Python
```python
from runwayml import RunwayML
client = RunwayML()
details = client.organization.retrieve()
print(details)
```
### cURL / fetch (no SDK)
```bash
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
```json
{
"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
```javascript
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
```python
usage = client.organization.retrieve_usage(
start_date="2026-02-15",
before_date="2026-03-17"
)
print(usage)
```
### cURL / fetch (no SDK)
```bash
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
```json
{
"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 | Re-run `+rw-setup-api-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 |
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.