roboflow-api-reference
Protocol-level facts for Roboflow REST and Inference APIs — URL patterns, auth, parameters, error codes, and SDK quick-start.
Skill by roboflow
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/roboflow-roboflow-api-reference
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, ml, security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/roboflow-api-reference
What's inside
- Skill name
roboflow-api-reference- Description
- Protocol-level facts for Roboflow REST and Inference APIs — URL patterns, auth, parameters, error codes, and SDK quick-start. For deployment strategy and Workflow execution patterns, see roboflow-inference.
- License
- Apache-2.0
- Instructions
- 89 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- api-key-management.md
- inference.md
- rest-api.md
SKILL.md (first lines)
> **For agents:** This skill is authored in [`roboflow/computer-vision-skills`](https://github.com/roboflow/computer-vision-skills). If your client already has it loaded as a skill (for example from a Roboflow plugin), use that copy. The `skill://roboflow/<name>/SKILL.md` MCP resources serve the same skills for clients that don't have them loaded.
> **Tip:** If you're connected to the [Roboflow MCP server](https://mcp.roboflow.com), prefer its tools (`projects_*`, `versions_*`, `models_*`, `workflows_*`, `images_*`, …) over raw REST calls — they handle auth, pagination, and typed responses for you. The REST patterns below stay relevant if you're not using MCP.
# Roboflow API Reference — Overview
## API Hosts
| Host | Base URL | Purpose |
|------|----------|---------|
| Platform API | `https://api.roboflow.com` | CRUD for projects, images, versions, training, upload |
| Serverless Inference | `https://serverless.roboflow.com` | Model inference + Workflow execution |
| Dedicated Deployment | `https://<name>.roboflow.cloud` | Private GPU inference (same API as serverless) |
| Self-hosted Inference | `http://localhost:9001` | Local inference server via `inference` package |
Use the `inference-sdk` Python package as the preferred client for all inference hosts. It handles auth, retries, and response parsing.
## Authentication
| Method | Where | Format |
|--------|-------|--------|
| Query parameter | All hosts | `?api_key=YOUR_KEY` |
| Request body | Platform API + Workflow inference | `"api_key": "YOUR_KEY"` in JSON body |
| Header | MCP server (`mcp.roboflow.com`) | `x-api-key: YOUR_KEY` (handled automatically by MCP) |
API keys are workspace-scoped. Get yours from **Workspace Settings > API Keys** in the Roboflow dashboard (`app.roboflow.com/{workspace}/settings/api`). Personal API keys are at `/settings/account` → API Keys tab.
## SDKs
| SDK | Install | Primary Use |
|-----|---------|-------------|
| Python (`inference-sdk`) | `pip install inference-sdk` | Inference via `InferenceHTTPClient` |
| Python (`roboflow`) | `pip install roboflow` | Upload, training, project management |
| JavaScript (`roboflow.js`) | Browser script tag | Real-time on-device web inference |
| iOS (Swift) | CocoaPods/SPM | On-device mobile inference |
### Python inference-sdk Quick Start
```python
from inference_sdk import InferenceHTTPClient
CLIENT = InferenceHTTPClient(
api_url="https://serverless.roboflow.com", # or dedicated URL, or localhost
api_key="YOUR_KEY"
)
result = CLIENT.infer("image.jpg", model_id="your-project/1")
```
### Python roboflow SDK Quick Start
```python
import roboflow
rf = roboflow.Roboflow(api_key="YOUR_KEY")
project = rf.workspace("my-workspace").project("my-project")
# Upload
project.upload(image_path="image.jpg", split="train")
# Inference
model = project.version(1).model
result = model.predict("image.jpg", confidence=40).json()
```
## Host Selection Guide
| Task | Host to Use |
|------|-------------|
| Run model inference | `serverless.roboflow.com` |
| Run Workflows | `serverless.roboflow.com` |
| Upload images | `api.roboflow.com` |
| Manage projects/versions | `api.roboflow.com` |
| Start training | `api.roboflow.com` |
| High-throughput / SLA inference | Dedicated deployment URL |
| Air-gapped / on-prem inference | Self-hosted `localhost:9001` |
| Real-time video / webcam / RTSP | WebRTC via `inference_sdk.webrtc` against serverless or local — see `skill://roboflow/roboflow-inference/workflows.md` ("Video Stream" section). Not a plain HTTP call. |
## Rate Limits
- Serverless API: rate limits vary by plan
- File upload max: 20 MB
## Related Pages
- `skill://roboflow/roboflow-api-reference/inference.md` — inference URL patterns, request/response formats
- `skill://roboflow/roboflow-api-reference/rest-api.md` — platform REST API endpoints (CRUD, upload, training)
- `skill://roboflow/roboflow-api-reference/api-key-management.md` — creating and managing API keys via REST, MCP tools, and Python CLI. **When creating a key, scope it to least privilege** if the workspace has Advanced API Keys; if not, tell the user scoped keys are an Enterprise feature.From roboflow/computer-vision-skills, Apache-2.0.
More from roboflow/computer-vision-skills
- 0.658score
roboflow-product-navigation
roboflow
Use when explaining where Roboflow features live in the app.roboflow.com web app, mapping intents like upload, annotate, train, deploy to specific page URLs.
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-data-management
roboflow
Use when uploading images, labeling, organizing datasets, creating Roboflow projects (detection/segmentation/keypoint/classification), tags, splits, versions…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-cloud-storage
roboflow
Use when connecting cloud storage (AWS S3 / S3-compatible or Google Cloud Storage) to Roboflow to mirror images into a workspace — creating storage…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-batch-processing
roboflow
Use when running a Roboflow Workflow over many images or videos with batch processing — Asset Library jobs (the platform stages workspace images for you) or…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-custom-weights-upload
roboflow
Use when uploading locally trained model weights (YOLO, RF-DETR, YOLO-NAS, PaliGemma, Florence-2) to Roboflow — the client-side Python SDK upload flow, safe…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-plans-and-pricing
roboflow
Use when answering questions about Roboflow plans, credit usage, or cost estimation; directs users to roboflow.com/pricing for current dollar amounts.
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-training-and-evaluation
roboflow
Use when training Roboflow models, diagnosing why a model underperforms, improving accuracy, or setting up a production feedback loop — covers architecture…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-universe
roboflow
Use when searching for or using public datasets/models on Roboflow Universe (universe.roboflow.com), the open repository of 1M+ computer vision datasets and…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
workflow-from-eval
roboflow
Build or improve a Roboflow Workflow using eval-driven search.
SkillAFreshness: A★ 47Claude Code +9 - 0.655score
roboflow-inference
roboflow
Deployment option comparison (serverless, dedicated, self-hosted, batch) and Workflow execution patterns.
SkillAFreshness: A★ 47Claude Code +9 - 0.655score
draw-vision
roboflow
Draw computer vision annotations, labels, and predictions over images and videos using supervision-js in JavaScript/TypeScript or Supervision in Python.
SkillAFreshness: A★ 47Claude Code +9
Signals
- Stars
- 47
- Forks
- 11
- Open issues
- 2
- Last commit (this folder)
- Oct 15, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from roboflow
- 0.732score
AGENTS.md · roboflow/supervision
roboflow
AGENTS.md from roboflow/supervision: 160 lines covering 1.
TemplateAFreshness: A★ 51.3KCodex +5 - 0.658score
roboflow-batch-processing
roboflow
Use when running a Roboflow Workflow over many images or videos with batch processing — Asset Library jobs (the platform stages workspace images for you) or…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-custom-weights-upload
roboflow
Use when uploading locally trained model weights (YOLO, RF-DETR, YOLO-NAS, PaliGemma, Florence-2) to Roboflow — the client-side Python SDK upload flow, safe…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-plans-and-pricing
roboflow
Use when answering questions about Roboflow plans, credit usage, or cost estimation; directs users to roboflow.com/pricing for current dollar amounts.
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-training-and-evaluation
roboflow
Use when training Roboflow models, diagnosing why a model underperforms, improving accuracy, or setting up a production feedback loop — covers architecture…
SkillAFreshness: A★ 47Claude Code +9 - 0.658score
roboflow-data-management
roboflow
Use when uploading images, labeling, organizing datasets, creating Roboflow projects (detection/segmentation/keypoint/classification), tags, splits, versions…
SkillAFreshness: A★ 47Claude Code +9
Cite this page
roboflow-api-reference skill. Agent Mart. https://agentmart.dev/skills/roboflow-roboflow-api-reference (last updated 2026-10-24)