Sokko

Gebruik Roboflow MCP met Sokko.

Verbind Roboflow MCP en vertel Sokko wat je wilt. Het voert de acties uit die je vraagt en reageert op wat er gebeurt. Geen workflows, geen code.
Werkt met 1.000+ tools · Geen code nodig
Acties

Alles wat Sokko kan doen in Roboflow MCP

Elke Roboflow MCP-actie die Sokko kan uitvoeren. Vraag erom in één zin en het is gebeurd.

Agent chat

Ask the Roboflow in-app agent to build or edit a Workflow, or answer a Roboflow question. Use this for ALL natural-language Workflow creation and edits, including simple goals such as "detect cups". The agent uses Roboflow's shared block knowledge, build/edit tools and validator before saving. Send the user's goal, explicit model choices and existing Workflow ID when editing. For camera previews, request class filtering and a named annotated image output. Do not compose the Workflow JSON yourself or fall back to raw workflows_create/workflows_update after an agent error. The agent may ask clarifying questions. Relay them and continue with the returned conversation_id. mode="plan" only plans; mode="agent" builds. A long turn returns status="running" and run_id. Poll agent_chat_result until terminal; never resend the message to start a duplicate build. Find past chats with agent_conversations_list/agent_conversation_get. If the client times out before receiving a run_id, the build may still finish. Recover it from those conversation tools before retrying. In hosts with on-demand tool loading, load a referenced tool before calling it, including agent_chat_result and streams_preview_status. On completion, text is the reply; workflows contains each created/edited Workflow's id, name, url (slug), app_url and exact validated specification. Use app_url for UI links. If workflows is empty, follow the reply instead of claiming a build succeeded. The agent does not run inference. New Workflows are saved and runnable. Edits are saved as drafts. For a live camera, pass the returned id and unchanged specification to streams_preview, with the declared image output and required parameters; read current session status after building. This tests the draft without publishing it. For authorized static draft tests use workflow_specs_run. workflows_run executes the published version by slug; publish an edit with agent_workflow_publish only when the user authorizes publication.

Agent chat result

Collect the result of an agent_chat run that was still working. Waits briefly for the run to finish, then returns either the completed chat response (same shape as ``agent_chat``) or ``{"status": "running", "run_id": ...}``. Keep calling with the same ``run_id`` until the status is no longer ``running``. The run keeps executing server-side between calls; polling never restarts or duplicates it. A ``"severed"`` status means the connection to the run was cut mid-flight; the run usually still finishes server-side, so read the reply from the conversation (``agent_conversation_get``) instead of re-sending the message.

Agent conversation get

Get a single agent conversation with its message history. Returns the conversation metadata and the ordered list of the most recent ``message_limit`` messages (role + text parts), plus ``total_messages`` with the full history size. Pass the same ``conversation_id`` back to ``agent_chat`` to continue the conversation.

Agent conversations list

List Roboflow agent conversations in the workspace. Returns conversation metadata (id, name, source, timestamps, linked workflow ids). Use ``agent_conversation_get`` to load the full message history for a single conversation, or pass the conversation id back to ``agent_chat`` to resume it.

Agent workflow publish

Publish the latest agent-edited draft of a workflow. The agent never publishes its edits to an existing workflow; it saves them as a draft. This tool promotes the latest draft to a published version so it goes live for callers using the workflow by id (``workflows_run``). Production device pins can still be staged for approval. Check ``devices_get_config.configProposal`` before claiming those devices use the new version. MCP cannot approve a proposal. Errors with 400 if there is no draft to publish (i.e. the published version already matches the latest draft). Returns ``{ workflowId, workflowUrl, versionId, status }``.

Annotation batches admin get

Get details about one annotation-board batch.

Annotation batches admin images list

List image IDs in a batch with cursor pagination.

Annotation batches admin list

List annotation-board batches with cursor pagination.

Annotation batches create

Move selected images from one batch into a new batch.

Annotation batches delete

Delete a batch. By default its images move to unassigned and remain accessible.

Annotation batches get

Get details about one upload batch.

Annotation batches list

List upload batches in a project.

Annotation batches merge

Move all images from source batches into a target batch and remove the emptied sources.

Annotation board status

Summarize a project's Annotate board: Unassigned, Annotating, Review, and Dataset. Proxies GET /:workspace/:project/annotation-board. Returns column counts and progress, plus per-labeler and per-reviewer rollups. Use annotation_jobs_list and annotation_batches_admin_list when you need more pages of items.

Annotation editor open

Open the Roboflow annotation editor for one image. Use this when a person needs to inspect or edit image annotations visually. Changes are saved only when the person chooses Save in the widget. For usage guidance, read skill://roboflow-apps/annotation-editor/SKILL.md.

Annotation editor read

Reload the editor snapshot and revision after a save or conflict.

Annotation editor save

Save the user's annotation edits using the loaded group revision. A conflict requires reloading and reconciling edits. Never blindly retry.

Annotation jobs accept into dataset

Finalize selected job images into the Dataset and assign splits.

Annotation jobs create

Create a job and move images from a batch into it.

Annotation jobs delete annotations

Delete the project's annotation data for every image assigned to a job.

Annotation jobs get

Get details about one annotation job.

Annotation jobs images add

Move images into an existing job and reconcile assignment and Dataset counters.

Annotation jobs images list

List image IDs assigned to a job with cursor pagination.

Annotation jobs images reassign

Create a job from selected images, removing their prior assignment or Dataset membership.

Annotation jobs list

List annotation jobs and return a continuation token when more exist.

Annotation jobs move to unassigned

Remove a job while moving its images to an unassigned batch so they remain accessible.

Annotation jobs return for edits

Move a review job back to labeling, optionally with a new labeler.

Annotation jobs review image

Set the explicit review status for one image in a job.

Annotation jobs review images

Set a status for every job image matching the supplied current status.

Annotation jobs submit for review

Advance a labeling job into review.

Annotation jobs update

Update exactly one of a job's labeler, reviewer, or instructions.

Annotations get

Read current saved annotation geometry for existing project images. Returns the native annotation envelope (boxes, polygons, masks or keypoints, plus image dimensions), annotation group and revision, project classes and explicit null-label state. Geometry is returned to the assistant, not only a widget. Supports object detection, instance/semantic segmentation and keypoint image projects; classification labels and video segments are not geometry results from this tool. annotation_valid=false means stored data could not be decoded: do not use the empty fallback as a backup or overwrite from it. A null validity means the platform did not report validity, so an empty result alone does not establish that the image has no saved annotation. This reads current project data, including images in annotation jobs and batches; it does not generate a Dataset Version, run inference or change annotations, job status or Dataset membership. Get image IDs with images_search or annotation_jobs_images_list, then read them in batches of at most 25. Use this before correcting labels or when backing up current geometry; search annotation summaries are not coordinates.

Annotations save

Save an annotation for an existing image. The native annotation envelope returned by annotations_get is a read representation, not necessarily an accepted annotation file. Convert the geometry to a supported format for the project's task; do not submit a serialized native boxes envelope as arbitrary JSON. For object detection, a YOLO TXT file has one row per box: class index, normalized center x, center y, width and height. Use a .txt annotation_name and provide labelmap mapping those indices to project class names. By default this only stores the annotation: it does not change whether the image belongs to the project Dataset. Pass add_to_dataset=true to also add the image to the Dataset. That membership is what makes the image count toward a dataset version, so an image that is uploaded and annotated but never added to the Dataset will show up as 0 images in versions_generate. With job_name, saving normally moves the image from its batch or current job to the named job, even if add_to_dataset=false. For an image held by upload screening, the save and placement are deferred until the verdict. When adding to the Dataset without a name, an image outside a job moves from its batch into "Annotated via API"; an image already in a job stays there. Saving without Dataset addition or a job name preserves placement. Saving labels alone also preserves an existing annotation job's image status. After verifying the saved geometry with annotations_get, use annotation_jobs_review_image with status="annotated" when the user wants that image marked labeled in its job. This is separate from accepting images into the Dataset. Set prediction_routing to ``review`` to request an automatic move from the target-project batch into a Review job only when the image has target-project batch membership and no target-project annotation-job membership. Set it to ``unassigned`` to suppress that move and preserve existing batch, annotation-job, and Dataset memberships. Prediction uploads never add Dataset membership, even when add_to_dataset is true, and existing Dataset membership is preserved. Neither value guarantees movement to a named queue. Saving onto an image that already has annotations fails with a 409 conflict unless you pass overwrite=true, which replaces the existing annotation. Classification projects never hit that conflict: their saves already overwrite. If the response has status="screening", the annotation was accepted for an image held by upload screening, but has not been saved to a Source. Even with add_to_dataset=true, Dataset membership is not yet complete. Use images_screening_status(image_id) for the verdict and duplicate resolution. A rejected or failed image loses its deferred annotations; even after approval, check the resulting Source before reporting a save.

Api keys create

Create a new API key for the workspace. Who can create keys: a credential may create keys only if it is unscoped (full access) or holds the ``api-key:create`` scope; an OAuth token also needs the ``create_api_key`` permission. Always ask for least-privilege ``scopes`` first. When ``scopes`` is omitted the key inherits every scope of the calling credential, so a full-access caller creates a full-access key (it comes back with ``scopes: null``); the dashboard's scoped default does not apply here. Scoped keys, like ``folder_ids``, ``custom_metadata``, ``rotation_due_at`` and ``owners``, need the Advanced API Keys plan feature. Without it the platform answers 403 and this tool says which arguments need it. That is a plan limit, not a permissions problem: tell the user, and do not silently retry without ``scopes``. The only key such a plan can create is unscoped, so create one only after the user agrees to a key with all of the caller's access (and suggest revoking it with ``api_keys_revoke`` once the task is done). For browser or client-side inference, the publishable key from ``api_keys_get_publishable`` may be enough and needs no secret. Scopes are stored as explicit leaf scopes — a section name or ``role:`` preset is expanded to its current leaves, so a key never auto-gains an ability added to that group later (add new scopes explicitly when needed). The secret ``key`` value is returned ONCE in the response and cannot be retrieved again. Store it immediately in a ``.gitignore``'d ``.env`` file (e.g. ``ROBOFLOW_API_KEY=rf_...``). Never echo it in logs, code comments, or tool output. Rotation reminders: set ``rotation_due_at`` to have the platform email the key's ``owners`` 15 days before the key is due; without a date no reminder is sent. Returns ``{ key_id, key, name, scopes, folder_ids, protected, rotation_due_at, owners, publishable_key }``. ``key_id`` is the non-secret handle used in all subsequent management calls.

Api keys disable

Disable (or re-enable) an API key without revoking it. A disabled key is inactive and will be rejected by the platform until re-enabled. Protected keys cannot be disabled; disabling requires the Advanced API Keys plan feature, so the specific error returned depends on the workspace. A key that backs a dedicated deployment cannot be disabled from here either (the deployment would be paused): to rotate such a key use ``api_keys_roll``, which moves the deployment onto the replacement key. Returns the updated masked key metadata.

Api keys get

Get metadata for a single API key by its keyId. Secret values are never returned. The key is identified by its non-secret ``keyId`` handle (not the secret key string).

Api keys get publishable

Get the workspace's publishable key (``rf_<workspaceId>``). The publishable key is the non-secret workspace identifier used with Roboflow.js and browser-side inference SDKs. It is browser-safe and cannot manage workspace data or read private resources. It is not a true secret, but it is not powerless: anyone who holds it can run inference and download the workspace's deployed models. Embed it in client-side code as intended; do not treat it as a capability to hand to untrusted parties.

Api keys list

List all API keys for the workspace. Secret key values are never returned — keys are represented by their non-secret ``keyId`` handle and a masked ``prefix``. Returns ``{ api_keys, publishable_key }`` where ``publishable_key`` is the workspace's ``rf_<workspaceId>`` key (safe to embed in client-side code).

Api keys owner candidates

List the workspace members who may be named as a key's ``owners``. Owners receive the rotation reminder email, so they must be able to roll the key: for a workspace-wide key, members who can create and revoke keys and view the workspace key list; for a folder key, members who can also write every folder it is scoped to. Each must have an account email the platform can send to. Call this before passing ``owners`` to ``api_keys_create``, ``api_keys_update`` or ``api_keys_roll``; the platform rejects uids that are not listed here. Pass ``key_id`` for an existing key, or ``folder_ids`` for one about to be created (omit both for a workspace-wide key). The platform accepts either the ``api-key:create`` or the ``api-key:update`` scope, and the workspace needs the Advanced API Keys plan feature. Returns ``{ members: [{uid, name, email}, ...] }``.

Api keys protect

Mark an API key as protected so it cannot be revoked or disabled. Protection is one-way from the API: a protected key can only be unprotected in the Roboflow dashboard at ``app.roboflow.com/settings/api``. The API, CLI, and MCP cannot unprotect a key, so there is deliberately no ``api_keys_unprotect`` tool. Returns the updated masked key metadata.

Api keys revoke

Permanently revoke (delete) an API key. Revocation is irreversible — the key can never be recovered or re-enabled. Protected keys cannot be revoked; an admin must first unprotect the key in the Roboflow dashboard at ``app.roboflow.com/settings/api``. A key that backs a dedicated deployment cannot be revoked from here either (the deployment would be paused): to rotate such a key — for example after a leak — use ``api_keys_roll``, which moves the deployment onto the replacement key. Returns ``{ status, key_id }``.

Api keys roll

Roll (rotate) an API key: revoke it and mint a replacement in one step. This is the rotation path for a leaked or compromised key. The replacement keeps the old key's whole identity — name, scopes, folders, protection and disabled state — so nothing the key was allowed to do changes; only the secret does. Any dedicated deployment anchored on the old key is moved onto the replacement automatically, which is why roll is allowed where ``api_keys_disable`` and ``api_keys_revoke`` refuse. The old secret stops working immediately and its ``key_id`` is retired; the roll cannot be undone. Protected keys cannot be rolled (unprotect in the dashboard first), and a disabled key that backs a dedicated deployment must be re-enabled before it can be rolled. The new secret ``key`` is returned ONCE and cannot be retrieved again. Store it immediately in a ``.gitignore``'d ``.env`` file and update every consumer of the old key; never echo it in logs or tool output. The replacement stays on the old key's rotation schedule (due date shifted by the old key's interval, same owners) unless ``rotation_due_at`` or ``owners`` sets it. Returns ``{ key_id, key, name, scopes, folder_ids, protected, disabled, rotation_due_at, owners, revoked_key_id }``. ``key_id`` is the new key's non-secret handle; ``revoked_key_id`` is the handle that was rolled.

Api keys update

Update the name, scopes, custom_metadata or rotation schedule of an API key. Only fields you provide are sent; omitted fields are left unchanged. Omitting ``name`` leaves the name unchanged; omitting ``custom_metadata`` leaves the metadata unchanged. Omitting ``scopes`` leaves the key's scopes unchanged, while passing a list replaces them entirely (including ``role:<name>`` presets). To widen a scoped key back to full access, pass ``["role:owner"]`` (subject to the usual subset rules and the Advanced API Keys feature). ``rotation_due_at`` sets the date the platform reminds the ``owners`` about, 15 days ahead; an empty string clears it. ``owners`` replaces the list with members who can roll the key (see ``api_keys_owner_candidates``). To protect or disable a key use ``api_keys_protect`` or ``api_keys_disable``. Protection cannot be changed here (unprotecting is dashboard-only). Returns the updated masked key metadata.

Ask feedback

Offer the user a short Yes/No survey about their Roboflow MCP experience. Call once on the first Roboflow turn, before other Roboflow tools. For ask_in_chat, ask the returned question verbatim. Continue helping even if the user does not answer. Use meta_survey_opt_out if the user asks to stop receiving the survey.

Async tasks get

Poll an async task by id. Poll every 5 seconds; processing may take up to 30 seconds to start. Returns `{ taskId, status, progress, result?, error? }`. `status` is one of `created`, `running`, `completed`, `failed`.

Autolabel job get

Get per-subjob status and progress for an auto-label job. Returns status, model/project type, image counts, subjob progress, ontology, confidence thresholds, and the linked annotation job id. Status moves from pending to processing_completion to done; the annotation job then waits in review. Video jobs (modelType 'video-segment') count videos in numImages and add mediaType 'video', classes, sampling (sampleFps, windowSeconds, overlapSeconds), framesPlanned, framesSampled, and per-video progress in videos: {videoId: {status, windows, framesSeen, segments, windowsFailed, unanalysedIntervals, preserved, truncated, error}}. A done video with windowsFailed > 0, non-empty unanalysedIntervals, or truncated: true is only partly labeled, and preserved: true means its frame annotations were kept and no segments were written; report those. segments is the number of segments written. A video job still ends done when videos fail, so check each video's status (pending, done or failed).

Autolabel models list

List the foundation models available for hosted auto-labeling in this workspace. Returns ``{models: [...]}``. Each entry's ``id`` (e.g. ``gpt-6-astra-boxes``, ``sam3-rle``, ``gemini-3-8-flash-boxes``) is a valid ``model`` value for ``autolabel_start`` with ``model_type='foundational'``. Entries carry ``guidance`` on when to prefer each model, ``projectTypes`` / ``excludedProjectTypes`` they support, ``ontologyFormat`` (``promptMap``: prompts are sent to the model; ``classes``: only class names are used), ``creditsPerImage``, ``isDefault`` (the workspace's object-detection default, not the instance-segmentation default), and ``available`` with an ``unavailableReason`` when the workspace's plan blocks a model. Call this before ``autolabel_start`` to pick a model instead of assuming which ones exist. When the user has not chosen a model, follow up with ``autolabel_preview`` to compare the candidates on one sample image before committing to a job. This is the image catalog. Action Recognition (video) projects use one model that is not listed here: call ``autolabel_start`` with ``model='video-segment'`` and ``model_type='foundational'``.

Autolabel preview

Preview one image with a foundation model to judge it before starting an auto-label job. Image projects only: Action Recognition (video) projects have no preview. Previews are for comparing candidate models on a few sample images. They create no job and spend no credits, but they are rate limited per workspace (the limit is shared with the Roboflow app), and past the limit the call fails with a 429 that says when to try again. Labeling a batch must go through autolabel_start: do not preview images one at a time and keep the predictions as labels. Use this as the model-selection loop when the user has not picked a model: 1. Call autolabel_models_list and order the candidates (the default first, then whatever the guidance recommends for the ontology at hand). 2. Pick one representative image from the batch (e.g. from the batch or image listing tools) and preview it with the first candidate. 3. Judge the summary: entries in classesWithNoDetections, a suspiciously low totalDetections, or blockErrors mean the model likely will not label this data well. Preview the next candidate and compare. 4. Start the real job with the winner via autolabel_start, using the same ontology. Returns ``{model, summary, predictions, blockErrors?}``; summary.byClass carries per-class counts and max confidence, and predictions are trimmed to class, confidence, and box geometry (polygon and mask geometry is dropped to keep responses small).

Autolabel start

Start a hosted auto-label job over a batch of images, or of videos for Action Recognition. For image projects, call ``autolabel_models_list`` first to pick a foundation model; its entry ids (e.g. 'gemini-4-carbon-boxes') are valid ``model`` values. Use the API's model list and project type to select a candidate. If the user has not chosen a model, run ``autolabel_preview`` on a sample image per candidate and start the job with the best one. Returns ``{jobId, annotationJobId, message}``. Poll progress with ``autolabel_job_get`` using the returned ``jobId``. Action Recognition projects skip the model list and preview. They label every video in the batch (at most 50 videos, each at most 30 minutes) with ``model='video-segment'`` and ``model_type='foundational'``, e.g. ``ontology={'a person jumps': 'jump'}`` and ``model_options={'sampleFps': 4}``. Only ontology, model_options, reviewer_email and business_context apply. The job replaces each video's existing segments, but a video that has frame annotations keeps them and gets no segments.

Batch processing asset library job create

Queue a durable Workflow run over an Asset Library selection. The platform owns selection authorization, entitlement and billing, workflow compatibility, staging, and job registration: it stages your selection into a Data Staging batch for you (for files you stage yourself, use ``batch_processing_run`` or ``batch_processing_staged_job_start``). The response is a 202 receipt: poll ``batch_processing_asset_library_task_get`` with its taskId until terminal, then use ``batch_processing_job_get`` with jobId.

Batch processing asset library task get

Poll the launch receipt until its durable job is registered.

Batch processing guide

Route a bulk image/video processing request onto batch processing: pick the staging mode, settle the batch id, and return the exact inference-cli commands for the whole run. Every batch processing job runs a Workflow over a Data Staging batch; the input paths differ only in who fills it. Files already in Roboflow (Asset Library): batch_processing_asset_library_job_create, and the platform selects and stages them for you. External files (local disk, cloud bucket, references file) when you only want the outputs: stage them with the inference-cli and drive the run with batch_processing_run (nothing is imported; the classic ETL shape). External files you want INSIDE Roboflow for labeling/training/curation: that is an import, not a job; mirror them with a datasource (bucket mirror, connect_cloud_storage), then run an Asset Library job over the imported images if you also want bulk predictions (the classic ELT shape). An On Sync automation can also run a Workflow after the mirror; with upload screening it waits for eligible new-image verdicts and search indexing, skips waiting for held overwrites, and can fail when no images are admitted. Mirror completion alone does not make held images available as Sources. Staging uploads are client-side: this MCP server cannot read the user's filesystem or cloud credentials, so files are staged with the inference-cli on the user's machine (pip install inference-cli). Call this with whatever you already know (local dir, bucket path, workflow, images vs videos); it returns the install line and the ordered stage/inspect/process/monitor/export commands. Read the skill://roboflow/roboflow-batch-processing/SKILL.md resource for the full recipe, and prefer batch_processing_run to drive the run server-side once files are staged. Requires the batch-processing feature on the workspace.

Batch processing job abort

Abort a running batch processing job. Already-produced partial results stay available in the job's staging batches.

Batch processing job get

Get a job's status and per-stage progress. Poll this to track a running job: ``job.isTerminal`` says whether it finished and ``job.error`` whether it failed; ``stages`` carries per-stage progress and ``outputBatches``. When the export stage completes, download results from the ``<job-id>-export`` staging batch via ``batch_processing_staging_batch_files_list``.

Batch processing job logs

Fetch a job's processing logs (paginated). Use this to diagnose failed or slow jobs; pair with batch_processing_job_get for stage status.

Batch processing job restart

Restart a failed or aborted job, optionally overriding compute parameters. Consumes credits like a fresh run.

Batch processing jobs list

List the workspace's batch processing jobs. Returns ``{jobs, nextPageToken?}`` with each job's full definition omitted (use ``batch_processing_job_get`` for one job's detail). Each entry carries ``inputSource``: 'asset-library' (platform-staged selection) or 'staged-batch' (a batch the caller staged).

Batch processing run

Master tool: drive a batch processing run over a staging batch you name (stage -> ingest -> job -> results) through repeated resumable calls. For Asset Library selections, use batch_processing_asset_library_job_create instead. Every batch processing job runs a Workflow over a Data Staging batch; the input paths differ only in who fills it. Files already in Roboflow (Asset Library): batch_processing_asset_library_job_create, and the platform selects and stages them for you. External files (local disk, cloud bucket, references file) when you only want the outputs: stage them with the inference-cli and drive the run with batch_processing_run (nothing is imported; the classic ETL shape). External files you want INSIDE Roboflow for labeling/training/curation: that is an import, not a job; mirror them with a datasource (bucket mirror, connect_cloud_storage), then run an Asset Library job over the imported images if you also want bulk predictions (the classic ELT shape). An On Sync automation can also run a Workflow after the mirror; with upload screening it waits for eligible new-image verdicts and search indexing, skips waiting for held overwrites, and can fail when no images are admitted. Mirror completion alone does not make held images available as Sources. Each call reads current state, advances what it can, and returns immediately: 'staging_required' (batch missing; response contains the inference-cli commands to run), 'ingest_in_progress', 'ingest_failed', 'running' (job started or working; includes stage progress), 'completed' (includes result files with download URLs), or 'failed' (includes logs). This server never sleeps on your behalf; non-terminal responses carry retryAfterSeconds, so wait that long and call again with the returned job_id to resume; omit optional creation settings and the stored paid-job definition remains authoritative. The job is started under an id derived from (workspace, batch, workflow), so retrying after a lost response re-registers the same job rather than starting a second one. Starting the job consumes credits. For the advanced knobs (max_runtime_seconds, max_parallel_tasks, max_image_failure_rate, image_outputs_to_save) use batch_processing_staged_job_start instead.

Batch processing staged job start

Start a batch processing job: run a Workflow over a staged batch. This launches asynchronous compute and consumes credits. The batch must be staged first (see ``batch_processing_guide``) and fully ingested (``batch_processing_staging_batch_get``). Returns ``{jobId, ...}``; poll ``batch_processing_job_get`` and fetch results from the ``<job-id>-export`` staging batch when it finishes. Re-running with the same job_id and identical settings is idempotent; a divergent definition is rejected (409).

Batch processing staging batches list

List the workspace's data-staging batches (inputs and job results). Returns ``{batches, nextPageToken?}``. Batches expire about 7 days after creation. Job results appear as platform-generated batches named ``<job-id>-processing`` and ``<job-id>-export``.

Batch processing staging batch files list

List a staged batch's files with time-limited signed download URLs. Use this to download the results of a finished job (the ``<job-id>-export`` batch). Job-result batches are multipart: when the batch has exactly one part it is selected automatically (and echoed as ``partName``); with several parts, pass ``part_name`` (see ``batch_processing_staging_batch_get`` parts). Download URLs expire after ~24h; archives (.tar/.tar.gz) must be unpacked after download. Returns ``{files, returned, nextPageToken?, truncated, partName?}``. Results are returned in whole upstream pages so ``nextPageToken`` always continues exactly where ``files`` ended. Listings are capped at 10,000 entries per call; past that, pull results with the inference-cli's ``export-batch`` (resumable) instead.

Batch processing staging batch get

Get a staged batch's metadata, file count, and ingest progress. Sharded, cloud-storage, and references ingests register files asynchronously: the count stays low until ingest workers finish. Poll this until ``ingest.pending`` is false and ``ingest.failed`` is false before starting a job. For multipart batches (e.g. job results) the response includes ``parts``.

Cloud streaming results subscribe

Read the current job state and, when available, a live results feed grant. This call does not start or keep a job alive. With `retryAfterSeconds`, call this tool again after that delay. With `ended: true`, stop reading this job; `successorJobId`, when present, can be subscribed to instead. A feed response has `eventsUrl`, `pollUrl`, `accessToken`, and `accessTokenExpiresAt` (epoch milliseconds). Keep the results-only token private. Send it as a Bearer token to either feed, or add `access_token` to the WebSocket URL when headers are unavailable. It expires after ten minutes or when the execution ends. After a feed closes or returns 401/404, subscribe again for the current claim. `executionGeneration` can change between claims: discard the previous WebSocket `after` cursor or poll `cursor` when it changes. WebSocket reconnects within the same generation may use `after=<last seq received>`; polling uses `cursor=<next seq>`. Feeds are not durable history.

Cloud streams job cancel

Request cancellation of a job in the connected workspace. Poll cloud_streams_job_get until it has stopped.

Cloud streams job create

Run a Workflow on the workspace's own cloud camera. Jobs incur charges and can execute Workflow sinks. Start with the connected OAuth account or a workspace API key; the user's current access continues to govern OAuth jobs. Never ask users to paste a key or secret into chat. A new start runs alongside existing jobs by default. To switch the Workflow on a camera, set replace_deployments only when the user explicitly wants to replace its other deployments. The platform starts the new job first, then requests stops of all older deployments on that camera; they may briefly run and bill together. Check replacedJobIds, stillRunningJobIds, otherDeploymentJobIds and replacementIncomplete, then poll job status. Existing input values are not copied; specify non-secret inputs needed by the new job. Retrying the same request and idempotency key completes an interrupted replace.

Cloud streams job get

Read a workspace job's current status. Past history remains available after a shared source is withdrawn.

Cloud streams jobs list

List jobs owned by the connected workspace, including jobs on its own cameras and past shared-source jobs after publication withdrawal. Use sharedSource to identify shared sources.

Cloud streams shared job create

Run a saved Workflow on a shared source. Jobs, execution credentials, results and charges belong to the connected workspace. Starting jobs on shared sources requires an API key with video-inference-job:read, video-inference-job:create, workflow:read and model:infer; OAuth connections can start jobs on their own workspace's cameras instead. Withdrawal stops running jobs, but past job history remains readable.

Cloud streams shared source preview

Request a raw preview of a shared source. The returned WHEP URL contains a short-lived, single-reader grant. Pass it only to a playback client; never quote, summarize, log, or persist it in conversation. Request a new preview when needed. Withdrawal ends existing previews.

Cloud streams shared sources list

List public cameras available to the connected workspace. A source may go offline or be withdrawn at any time. Shared sources cannot be edited or republished by consumers.

Cloud streams sources list

List this workspace's own cloud cameras and sources, without stream credentials.

Connect cloud storage

Connect a cloud bucket end to end in one call: reuse or create a credential, create the datasource, validate it, and start the first mirror run. A run can overwrite imported images or metadata and remove mirrored images whose source disappeared. Alternative: to only run a model/Workflow over the files and get results out, WITHOUT importing them into Roboflow, use batch processing instead (start with batch_processing_guide). Mirroring also composes with it: imported files become Asset Library images, and bulk predictions over them run as Asset Library jobs (batch_processing_asset_library_job_create). On datasources with upload screening, new images and overwrites with changed pixels are held until an On Upload Workflow allows or redacts them. A completed mirror run does not mean held images are available as Sources. A changed-pixel overwrite detaches the prior Source from the bucket path, which can remain without a Source if the replacement is rejected. On Sync waits for eligible new-image verdicts and search indexing. It does not wait for held overwrites and can fail if no eligible images are admitted. Drive the conversation in this order, and do NOT bring up credentials until the bucket is settled: 1. Pick the bucket FIRST. Ask the user which bucket to connect, confirm its region, and settle which objects to mirror (mirror_configs). Don't mention credentials yet. 2. Credential, only after the bucket is chosen. Prefer reusing one the user already has (check credentials_list and pass its credential_id). Only if none fits, create a new one dedicated to Roboflow by passing credential_name + credential_type. Secrets are never entered in chat: creating a new credential returns manual_entry_required with a url to the Roboflow app, a docs_url, and (for AWS) an aws_setup deep-link. A dedicated, least-privilege credential scoped to this bucket is recommended over reusing personal keys (IAM user with read-only or bucket-scoped access, or an IAM role that trusts Roboflow via AssumeRole). 3. Call this once with the bucket and credential to create, validate, and (when trigger is true) run it. AWS/S3 assisted setup: use the bucket and profile chosen by the user. Only query that account for details needed to configure the selected bucket. - Bucket: Ask the user which bucket to connect. Only inspect that bucket's object paths when the user asks for help choosing mirror rules; do not enumerate other profiles, buckets, or their contents. - Region: For AWS/S3, look up the chosen bucket's region with `aws s3api get-bucket-location --bucket <bucket-name> --profile <profile>` if the user wants assistance (`null`/`None` means us-east-1). Use the AWS profile the user selected. If it is unclear which profile to use, ask the user before querying their AWS account. These commands only read non-secret metadata for the selected account and bucket; never read ~/.aws/credentials or pass secret values yourself. - Credential: When a new AWS credential must be created, before handing off to the Roboflow form: resolve the AWS account for the profile in use with `aws sts get-caller-identity --profile <p>` (reads non-secret identity only), then give the user an account-scoped console deep-link so they land in the right account. Sign in at https://<accountId>.signin.aws.amazon.com/console, then for an IAM credential create an IAM user at https://console.aws.amazon.com/iam/home#/users/create, or for an AssumeRole credential create an IAM role at https://console.aws.amazon.com/iam/home#/roles/create (trusting the Roboflow principal from the prerequisites docs). Collect the resulting access keys (IAM) or role ARN (AssumeRole) and enter them in the Roboflow form. The mirror run only starts when trigger is true AND validation reports no errors; triggering consumes credits. Returns {credentialId, credentialCreated, datasourceId, validation, triggered, batchIds?}. If a new credential was created but a later step failed, a partial status is returned with the credentialId so it can be cleaned up with credentials_delete.

Credentials delete

Delete a credential. Datasources still referencing it will fail to run.

Credentials list

List cloud-storage credentials in the workspace. Secrets are masked server-side, so only non-sensitive fields (id, type, name, description) come back. Returns ``{ credentials }``.

Datasets rebalance splits

Enqueue an async rebalance of a project's train/valid/test splits. Use this to fix a starved or empty split — an empty test split blocks training, and this is the only way to move images between splits after upload. `train`, `valid` and `test` are relative weights, not percentages: they do not have to sum to 100, and each must be a whole number (70, not 70.5). `mode="rebalance"` moves the fewest images needed to reach the ratios; `mode="shuffle"` reassigns every image. For anomaly detection, train on normal images only. Keep normal images in validation for threshold calibration; put anomalous images in validation or test, never train. Rebalance each class separately with `classes=["normal"]` or `classes=["anomalous"]` and suitable weights. Do not apply the default whole-Dataset 70/20/10 rebalance to an anomaly project: it can move anomalous images into train. Returns the platform's 202 payload verbatim — at minimum `{ taskId, url }`, where `url` points at the async-task polling endpoint. Poll completion with `async_tasks_get(task_id=taskId)` every 5 seconds until `status` is terminal (`completed` or `failed`).

Datasource create

Create a datasource that mirrors a cloud bucket into your workspace. Returns the created datasource {id}. Nothing is mirrored until you call datasource_trigger (or a schedule fires). A run may overwrite imported images or metadata and remove mirrored images whose source disappears. Alternative: to only run a model/Workflow over the files and get results out, WITHOUT importing them into Roboflow, use batch processing instead (start with batch_processing_guide). Mirroring also composes with it: imported files become Asset Library images, and bulk predictions over them run as Asset Library jobs (batch_processing_asset_library_job_create). On datasources with upload screening, new images and overwrites with changed pixels are held until an On Upload Workflow allows or redacts them. A completed mirror run does not mean held images are available as Sources. A changed-pixel overwrite detaches the prior Source from the bucket path, which can remain without a Source if the replacement is rejected. On Sync waits for eligible new-image verdicts and search indexing. It does not wait for held overwrites and can fail if no eligible images are admitted. AWS/S3 assisted setup: use the bucket and profile chosen by the user. Only query that account for details needed to configure the selected bucket. - Bucket: Ask the user which bucket to connect. Only inspect that bucket's object paths when the user asks for help choosing mirror rules; do not enumerate other profiles, buckets, or their contents. - Region: For AWS/S3, look up the chosen bucket's region with `aws s3api get-bucket-location --bucket <bucket-name> --profile <profile>` if the user wants assistance (`null`/`None` means us-east-1). Use the AWS profile the user selected. If it is unclear which profile to use, ask the user before querying their AWS account. These commands only read non-secret metadata for the selected account and bucket; never read ~/.aws/credentials or pass secret values yourself. - Credential: When a new AWS credential must be created, before handing off to the Roboflow form: resolve the AWS account for the profile in use with `aws sts get-caller-identity --profile <p>` (reads non-secret identity only), then give the user an account-scoped console deep-link so they land in the right account. Sign in at https://<accountId>.signin.aws.amazon.com/console, then for an IAM credential create an IAM user at https://console.aws.amazon.com/iam/home#/users/create, or for an AssumeRole credential create an IAM role at https://console.aws.amazon.com/iam/home#/roles/create (trusting the Roboflow principal from the prerequisites docs). Collect the resulting access keys (IAM) or role ARN (AssumeRole) and enter them in the Roboflow form.

Datasource delete

Delete a datasource configuration. Does not delete already-mirrored images.

Datasource get

Get full detail for a single datasource, including its bucket, mirror rules, and latest job summary.

Datasource job get

Get the status and statistics of a single datasource mirror run. Poll this with a ``batchId`` from ``datasource_trigger`` to track a run. Returns the job's ``status`` (running/completed/failed), per-stage ``counters`` (enqueued/completed/failed), any ``errors``, and timestamps (``startedAt``/``completedAt``/``lastSyncedAt``). In ``counters.INGEST_FILE.meta``, ``imageHeldForScreening`` counts new images and changed-pixel overwrites held for screening. ``imageScreeningSkipped`` counts object versions not downloaded because an earlier sync held them and they are still pending or were rejected. These are not Source counts: a completed mirror can precede screening verdicts and Source creation.

Datasources list

List datasource (cloud-bucket mirror) configurations in the workspace. Returns ``{ datasources }`` where each entry is trimmed to ``{id, name, credentialId, validated, requireVpce, latestJob}``. Use ``datasource_get`` for a single config's full detail.

Datasource trigger

Start a mirror run for a datasource. This kicks off a job that ingests bucket contents into your workspace. Depending on the saved mirror rules, it can overwrite imported images or metadata and remove images whose source objects disappeared. It can consume compute/storage credits. Returns ``{batchIds}`` for the run(s) that were started. Use ``datasource_validate`` first if you are unsure the bucket is reachable. New images and changed-pixel overwrites may be held for screening after this run completes. Check ``datasource_job_get`` counters and wait for eligible verdicts before treating those images as available Sources. An On Sync automation may then run a Workflow over admitted, searchable images.

Datasource update

Update a datasource. Only the fields you pass are changed. To replace the bucket, pass ``bucket_type``, ``bucket_name`` and ``region`` together (``endpoint`` is optional and only applied with them). Returns the updated datasource.

Datasource validate

Check that Roboflow can access the datasource's bucket. Returns ``{checks, errors}`` where ``checks`` reports whether ``listFiles``/``headFile``/``getFile`` succeeded plus a per-mirror ``headGlobFile`` result. Use it to self-diagnose a misconfigured credential or bucket before triggering a run.

Device groups add devices

Add devices to a fleet device group; other members are kept. Requires ``device:update``.

Device groups create

Create a fleet device group with at least one member. Requires ``device:update``.

Device groups delete

Delete a fleet device group; its devices are kept. Requires ``device:update``.

Device groups get

Get one fleet device group. Requires ``device:read``.

Device groups get config

Get a fleet device group's config patch. Requires ``device:read``.

Device groups list

List the workspace's fleet device groups. Requires ``device:read``.

Device groups remove devices

Remove devices from a fleet device group; the devices are kept. Requires ``device:update``.

Device groups update

Update a fleet device group. Requires ``device:update``. ``device_ids`` replaces the whole membership. To add or remove single devices use ``device_groups_add_devices`` or ``device_groups_remove_devices``.

Device groups update config

Replace a fleet device group's config patch. Requires ``device:update``.

Devices apply pending config

Request application of pending device config updates now. Requires the ``device:update`` scope. A no-op when no pending updates exist. Unapproved production updates remain held through maintenance windows, and apply-pending may return 409 until they are approved. A ``configProposal`` is separate from pending updates; MCP cannot approve it.

Devices create

Provision a new v2 device. Requires the ``device:update`` scope. Returns ``{deviceId, installId, offlineProvisioningQrPayload?}``: ``installId`` is the short-lived token used by the device installer (``GET /devices/v2/:installId/install.sh``). ``offlineProvisioningQrPayload`` is only present for AI1 devices provisioned with ``offline_mode=true``. Secure gateway devices require ``runtime='docker'``. An attached gateway must be ready. Offline QR provisioning cannot carry gateway trust, so do not combine ``secure_gateway_id`` with ``offline_mode``. New and duplicated devices do not copy display mode selections from templates or the source device. Select modes after the new device reports its own connected displays.

Devices delete

Delete a device and revoke its api_keys. Cannot be undone. Requires the ``device:update`` scope on a workspace credential; a device's own api_key cannot delete it (403).

Devices discover cameras

Request camera discovery on a device through its command channel. Returns ``{id}`` for the queued command. Discovery runs asynchronously; read ``devices_get`` or ``devices_get_snapshot`` afterward for ``discovered_cameras`` and ``devices_get_events`` for discovery/connection events. A successful enqueue does not mean discovery finished. Undelivered commands expire after 5 minutes, and discovery support depends on the device runtime.

Devices get

Get a single device by id. Returns the Device object. 404 if the device does not exist or belongs to a different workspace. When inspecting a device, also call ``devices_get_config`` for its running services and ``devices_get_default_config`` for the workspace's recommended versions. Comparing the two ``services`` maps reveals whether the device is up to date or pinned to an older build of any service.

Devices get config

Get the device's current runtime configuration. Returns the full RFDM config JSON: ``device_id``, ``device_name``, ``workspace_id``, ``version``, ``last_updated``, ``config``, ``services``, any ``pendingUpdates`` (queued changes with ``applyUpdatesAt`` and ``updateFields``), and any ``configProposal``. A proposal is awaiting production approval and is not active config. Unapproved pending changes remain held even during maintenance windows. Workspace and OAuth callers receive redacted stream credentials. Service environment variables can still contain integration credentials, so treat the payload as sensitive. ``config.kiosk.outputs`` contains any per-connector display mode selections. The live display report requires a Firebase session cookie and cannot be read through MCP. Tip: pair this with ``devices_get_default_config`` and diff the ``services`` map. The default config carries the workspace's recommended version for each service, so comparing the two tells you whether the device is up to date or pinned to an older build.

Devices get config history

List prior configuration revisions, newest first. Returns ``{data: ConfigRevision[], pagination: {next_cursor, has_more, limit}}``. Each ConfigRevision carries ``revision_id``, ``created_at``, and ``created_by``.

Devices get default config

Get the workspace's default device configuration. Returns ``{config, patch}``: ``config`` is the base default config with the workspace's ``config_patch`` applied (the template used when provisioning new devices, including default service versions), and ``patch`` is the raw workspace-level patch object. Display mode selections in this template are not copied to new devices. Useful for inspecting which service versions a fresh device would be created with, or for seeding a payload to ``devices_update_config``. Requires the ``device:read`` scope. Device-scoped api_keys are rejected with 403 — this endpoint is workspace-wide.

Devices get deployments

Get the device's deployment history with per-deployment activity. This is the device Activity tab as structured JSON: each config revision becomes a half-open deployment window (newest window open-ended), annotated with what happened while it was live: - ``exception_issues`` — exceptions grouped by fingerprint with occurrence counts, last_seen, and the latest description; drill into one with ``devices_get_exception_occurrences`` - ``error_event_issues`` — error events grouped by entity/event/error_code - ``execution_environment`` — the inference runtime reported during the window (versions, GPU, loaded models) - ``workflow_edits`` — workflow publishes that landed mid-deployment - ``container_pulls`` — image pulls (and failures) during the window - ``stats`` — unique/unhandled exception counts and error event count - ``config_changed_paths`` (opt-in) — dotted config paths changed vs the prior revision, values omitted - ``trends`` (opt-in) — bucketed occurrence time series per issue Returns ``{device_id, deployments: Deployment[], pagination: {next_cursor, has_more, limit}}``. Prefer this over raw ``devices_get_events`` when diagnosing what a deployment broke. Rate-limited per-device: 30 requests / minute.

Devices get events

List device and stream lifecycle events. Returns ``{data: Event[], pagination: {next_cursor, prev_cursor, has_more, limit}}``. By default the feed models **state transitions**: consecutive rows carrying the same event name for the same entity collapse into one row unless the previous row's TTL has elapsed. That is right for lifecycle events and wrong for periodic telemetry, which reuses a single event name for every sample: ``plc_snapshot`` ticks every 60s with ``ttl_s: 300``, so a deduped read returns roughly one row where the raw read returns them all. Pass ``dedupe=False`` to read raw rows. It requires **both** ``entity_type`` and ``entity_id`` (an entity id is only unique within its type), reports ``event_end_timestamp`` as ``null`` (an "end" is derived from the dedup window and means nothing for a sampled reading), and is rate-limited at 30 requests / minute per device, in the same bucket as ``devices_get_services`` and ``devices_get_service_series``. The deduped default is not rate-limited. For charting a named sidecar metric, prefer ``devices_get_service_series``, which resolves the entity id and the dedup behavior for you.

Devices get event store stats

Report a device's local event store against its capacity limits. Thin view over ``devices_get_services(kind='event_store')``. Returns ``{device_id, services: Service[]}``; each ``status`` carries ``records`` / ``records_limit`` / ``records_percent``, ``images``, ``bytes_used`` / ``bytes_limit`` / ``bytes_percent``, a ``backup`` block (Vision Events upload progress: ``enabled``, ``backed_up_*``, ``pending_*``), a ``drafts`` block, ``disk``, ``capacity_blocked``, ``unuploaded_records``, and ``last_cleanup``. Reading it correctly: - ``capacity_blocked`` is ``null`` until the device reports a transition. The service emits only ``capacity_blocked`` / ``capacity_cleared``, so silence is genuinely unknown and ``false`` would assert healthy. It also reads ``true`` only while a fresh stats sample has not contradicted it. - ``drafts`` is ``null`` on firmware predating the draft lifecycle, which is not the same as a device reporting zero drafts. - ``stale: true`` with all counters ``null`` means no recent stats sample: a device that only ever reported a cleanup is not a healthy, current event store. - ``reported_at`` is the device's clock and may be ``null``; the ``received_at`` fields are the platform's. For a trend (fill rate, backup backlog), use ``devices_get_service_series`` with metrics such as ``records_percent``, ``bytes_percent``, ``pending_records``, or ``disk_percent_used``.

Devices get exception occurrences

List raw occurrences of one exception fingerprint, newest first. Use after ``devices_get_deployments`` to see exactly when a grouped exception fired — each row is ``{id, timestamp, error_code}``. Pair the timestamps with ``devices_get_logs`` (``start_time`` / ``end_time`` around an occurrence) to read the surrounding log context. Returns ``{data: [...], pagination: {next_cursor, has_more, limit}}``.

Devices get inference versions

Get the inference server version each listed device runs. Requires the ``device:read`` scope. Use it to check whether a workflow's blocks are supported before deploying it to a device.

Devices get logs

Fetch device logs from Elasticsearch. Rate-limited at 120 requests / minute per workspace, in a separate bucket from device log ingestion. Returns ``{data: LogEntry[], pagination: {next_cursor, has_more, limit}}``.

Devices get plc status

Answer "is this PLC connected?" for a device's PLC relay sidecars. Thin view over ``devices_get_services(kind='plc_relay')``. Returns ``{device_id, services: Service[]}``; each ``status`` carries: - ``connected``: reconciled across the every-60s snapshot and the transition-only connectivity events by recency, connectivity winning ties, so an older optimistic snapshot can never mask a newer disconnect. ``null`` means unknown, not disconnected: the two slots could not be ordered on one clock. - ``driver``, ``plc_ip`` - ``tags`` / ``tag_count``: the tag map and its size, **withheld (``null``) whenever ``connected`` is not true**. Those readings predate the drop, and a frozen part count shown as current is how an operator ends up trusting a dead line. - ``reported_at``: device clock, from the snapshot; ``connection_changed_at``: device clock, from the last connectivity transition. Both ``null`` when that slot never reported. - ``stale: true``: the reading that decided ``connected`` is old (over 30 minutes), which is different from absent. For connectivity history, use ``devices_get_service_series`` with ``metric='connected'`` (charts as 1/0).

Devices get secure gateway status

Read the secure gateway's recorded bootstrap and cache state. Returns the platform's gateway state, including ``status`` (``initialising``, ``ready``, or ``error``), gateway/SeaweedFS versions, timestamps, cache stats, and any last setup error. A 404 means no state has been recorded for this device. This does not initialise a gateway or verify current connectivity.

Devices get services

List the sidecar containers a device runs and what each is doing. Joins the device's declared ``services`` config with the same latest-value status cache the Device Manager UI subscribes to. Returns ``{device_id, services: Service[], unassociated_signals}``. Each Service carries ``name``, ``kind`` (resolved from the image; an unrecognized container is ``custom``), ``image``/``tag``, ``tag_is_canonical``, ``automatic_updates``, ``has_pending_changes``, ``state`` plus ``state_reported_at`` / ``state_received_at``, ``image_state``, ``signal_conflicts``, and the typed ``status`` for its kind. Reading the nulls correctly: - ``state`` and ``image_state`` are ``null`` once the last report has aged past its TTL; the matching ``*_received_at`` still carries a timestamp, so "stale reading" stays distinguishable from "never reported". - ``status`` is ``null`` until the service has reported, for kinds that emit no telemetry (``rtsp_simulator``, ``device_hmi``, ``custom``), and whenever ``signal_conflicts`` is non-empty. - ``signal_conflicts`` lists entity ids more than one declared service claims. Ids derive from the **kind**, so two services of the same kind collide unless each sets a distinct ``DEVICE_EVENT_ENTITY_ID``. The reading cannot be attributed, so it is withheld rather than guessed. - ``unassociated_signals`` holds telemetry that matched no declared service (a custom container, or an entity-id override we could not resolve). It needs ``include=['signals']`` and is omitted when a ``kind`` filter is applied. Two clocks, everywhere in this response: ``*_reported_at`` is the device's own claim and is ``null`` when the device sent none (it is never backfilled), while ``*_received_at`` is when the platform recorded it. Freshness reads ``received_at``; ordering two signals from one device reads ``reported_at``. Never compare one against the other. ``metrics_truncated: true`` means the metrics aggregation hit its row cap and some services report ``metrics: null`` for that reason rather than never having reported. Narrow ``time_period``. Rate-limited per-device: 30 requests / minute, in one bucket shared with ``devices_get_service_series``, the per-sidecar tools, and ``devices_get_events(dedupe=False)``.

Devices get service series

Chart one named sidecar metric over time. The metric name resolves to the right entity id, event names, and metadata key for that service's kind, and the read skips the dedup window that would otherwise collapse periodic telemetry. Use this for trend questions instead of raw ``devices_get_events``. Returns ``{device_id, service, kind, metric, metric_type, time_period, available_metrics, truncated, covered_from, covered_to, points: [{timestamp, value}]}``. - ``metric_type`` is ``number`` or ``boolean``. A boolean charts as 1/0, so the type is what tells a ``1`` meaning "true" from a ``1`` meaning "one". - An unknown ``metric`` returns 400 listing the valid names for that kind in ``valid_values``; ``available_metrics`` on a successful response says the same thing. - ``truncated: true`` means the window held more than the 5,000 sample cap. The newest samples are kept, so ``covered_from`` / ``covered_to`` report the interval actually returned, which can be shorter than the requested window. ``plc_snapshot`` ticks every 60s (10,080 samples over ``7d``), so narrow the window for full coverage. - Two clocks: ``time_period`` selects by when the platform *received* a sample, while each point's ``timestamp`` (and therefore ``covered_from`` / ``covered_to``) is what the device reported. On a badly-skewed device those can fall outside the requested window; that is the device's own account, not a filtering error. - 409 means two services of this kind claim the same entity id, so the samples cannot be attributed to one of them; the response names the claimants. Rate-limited per-device: 30 requests / minute, in one bucket shared with ``devices_get_services``, the per-sidecar tools, and ``devices_get_events(dedupe=False)``.

Devices get snapshot

Get the full current state of a device in one call. Prefer this as the FIRST call when diagnosing a device — it aggregates what would otherwise take six requests: - ``device`` — identity, online/offline status, hardware summary, network interfaces, discovered cameras - ``streams`` — ``{total, running, data}`` including config-only (provisioning) streams - ``services`` / ``services_summary`` — per-service container status and healthy/total counts - ``telemetry`` — the latest non-empty 1h telemetry bucket (cpu, memory, disk, gpu, network throughput) - ``system_status`` — current docker daemon and NTP health - ``hardware`` — most recent startup hardware report - ``current_deployment`` — the live config revision with its exception/error issues and execution environment - ``recent_events`` — the 20 most recent lifecycle events Sections are best-effort: a failed section is ``null`` and named in the top-level ``errors`` array. Follow up with the focused tools (``devices_get_deployments``, ``devices_get_logs``, ``devices_get_telemetry``) for history and detail. The ``services`` section here is container status only. For typed sidecar state (is the PLC connected, is the event store full) call ``devices_get_services`` or the per-sidecar tools. Rate-limited per-device: 30 requests / minute.

Devices get stream options

List every device's stream ids and inferred camera family. Requires the ``device:read`` scope. Stream URLs are never returned.

Devices get telemetry

Get aggregated hardware metrics and device health sections. Rate-limited per-device: 60 requests / minute steady, plus a burst limit of 10 requests / 10 seconds. By default returns ``{time_period, bucket_interval, fill_interval_seconds, buckets, stream_fps, system_status, services, hardware, network_interfaces, metadata}``: - ``buckets`` — cpu/memory/disk/gpu plus ``network_upload_bytes_per_sec`` / ``network_download_bytes_per_sec`` - ``stream_fps`` — one series per running pipeline (``pipeline_id``, ``stream_name``, ``stream_id``) with a ``buckets`` array in ascending time order, each entry ``{bucket_start, camera_fps, inference_fps}`` - ``system_status`` — per-bucket docker daemon and NTP health (``up`` / ``partial`` / ``missing``; ``missing`` = no telemetry samples in that bucket) - ``services`` — per-service container status with the latest container sample (image, cpu, memory); add ``service_history`` to ``include`` for per-bucket history - ``hardware`` — most recent startup hardware report (OS, CPU, Jetson/JetPack, GPU driver, uptime, NTP) - ``network_interfaces`` — most recent interface snapshot Pass ``include=metrics`` for the compact time-series-only response, or ``include=stream_fps`` when you only need camera vs. inference frame rates.

Devices list

List devices registered in the workspace. Returns a list of Device objects with id, name, status, last_heartbeat, platform/hardware info, tags, and created_at. ``status`` is ``online`` if a heartbeat was received within the last 5 minutes, otherwise ``offline`` (or ``unknown`` for devices that have never reported). Requires the ``device:read`` scope. Device-scoped api_keys cannot call this endpoint and will receive 403.

Devices list events

List lifecycle events across every device in the workspace. Requires the ``device:read`` scope. For one device's events with dedupe control use ``devices_get_events``.

Devices migrations opt out

Replace this workspace's device migration opt-out settings. Requires ``device:update`` on a workspace credential. Device-bound keys are rejected. Every call replaces the settings: omitted fields reset to the API defaults (enabled false, target_version 1.0.1, empty lists). Read the returned settings before changing them again. Changing migration eligibility does not start a migration.

Devices os image create

Start building a ready-to-flash OS Lite image for a device. Requires the ``device:update`` scope on a workspace credential and the OS Lite image builder feature. For a Jetson Orin Nano, omitting ``config.release.format`` builds the USB recovery bundle. Set it to ``"card"`` for a microSD image only when the selected release has a card image available and the board's firmware is at least the release's ``requiresFirmware`` version. Raspberry Pi boards do not accept ``release.format``. Returns ``{jobId, reused, warnings}``; poll ``devices_os_image_get`` for status and the download link.

Devices os image get

Get the device's in-flight or last finished OS Lite image job. Requires the ``device:update`` scope: the finished image embeds the device's credentials. Returns ``{job, boards, wifiAvailable, cardImages, osImage}``. ``cardImages`` is keyed by board ID. For Jetson Orin Nano, ``cardImages['jetson-orin-nano-devkit']`` reports whether the selected release offers a card image and its ``requiresFirmware`` minimum. The board entry is null when availability could not be checked. The job includes ``image_format`` and ``requires_firmware`` for the image being built (null for older jobs). Select a release with a card image and check the board firmware before requesting ``release.format="card"``.

Devices provisioning qr

Mint the offline (Lite) provisioning QR payload for a device. Requires the ``device:update`` scope on a workspace credential and the workspace's roboflowLiteMode feature. Returns ``{installId, offlineProvisioningQrPayload}``.

Devices redeploy

Mint a fresh install id to reinstall an existing device. Requires the ``device:update`` scope on a workspace credential. Returns ``{deviceId, installId, offlineProvisioningQrPayload?}``; the device runs ``GET /devices/v2/:installId/install.sh``.

Devices restart inference

Request a restart of the device's inference runtime. Interrupts running pipelines. This restarts inference, not the host operating system. Returns ``{id}`` for the queued command, not proof that the restart completed. Follow up with ``devices_get_snapshot`` or ``devices_get_events`` to verify recovery. Offline devices cannot execute commands; undelivered commands expire after 5 minutes. Do not retry automatically, because each call queues another restart.

Devices restart poe port

Request a power cycle of one camera's PoE port on supported edge hardware. Interrupts the camera and its stream while power is cycled. Choose the interface associated with the affected camera, not an arbitrary network interface. Returns ``{id}`` for the queued command, not a completed reset. Follow up with ``devices_get_events`` and ``devices_streams_get`` to verify recovery. Each call requests a new power cycle; undelivered commands expire after 5 minutes.

Devices send command

Queue a command on the device's command channel. Requires the ``device:update`` scope. A returned ``id`` means a command was queued for the device's next poll. Stream config commands may instead return ``{id: null, staged: true}``; inspect ``devices_get_config.configProposal`` before claiming a live change. Camera-capture commands (``livesample``, ``trigger_stream``, and ``cloud_fallback`` starts) can return 403 with ``error_type=CAMERA_STREAM_DISABLED`` when workspace, device, or stream settings disable viewing. Other commands, including capture stops, remain available. Queued capture commands are checked again before device delivery, so a later opt-out can prevent execution. For a connectivity check from the device, use ``action='network_probe'`` and ``data`` with ``kind`` (``ping``, ``dns``, ``tcp`` or ``http``) and ``target`` (IP address or hostname up to 253 characters, with labels of at most 63 characters; not a URL or zone-scoped IP). Optional whole-number ``count`` is 1-10 and ``timeout_s`` is 1-15. ``port`` is 1-65535, required for TCP, optional for HTTP, and invalid for ping or DNS. ``scheme`` is ``http`` or ``https`` for HTTP only. Other fields are rejected. The returned ``id`` identifies the queued command, not a completed probe. Results arrive asynchronously in device monitoring under ``network_probes[id]``.

Devices set service version

Pin one service's version without replacing the rest of the config. Requires the ``device:update`` scope. Respects the maintenance window and queued changes. Returns ``{success, deferred}``; success means the config was saved, not that the device installed the version.

Devices snooze alerts

Snooze the device's health alerts for one day. Requires the ``device:update`` scope. Returns ``{deviceId, alerts_snoozed_until}``.

Devices streams capture frame

Capture the stream's latest frame for a project. When the response has ``status="screening"``, the frame is held for an upload screening verdict and is not yet in the project. The returned project details identify the requested destination, not a frame ready to open or use. Otherwise the frame is added to the project. Requires ``device:read`` plus ``image:create`` on a credential not limited to project groups. Workspace, device, or stream privacy restrictions return 403 with ``error_type=CAMERA_STREAM_DISABLED``; other 403 responses can indicate missing upload permission.

Devices streams create

Create a stream on a device through the ``add_stream`` command. Requires the ``device:update`` scope. On V2 devices the platform applies this as a config update (``status: "applied"``, no command id) or stages it for production approval (``status: "staged"``). An applied stream shows in ``devices_streams_list`` as ``provisioning`` until the device reports it running. The Workflow may write to external integrations once the stream runs. For a direct Asset Library video stream on a supported edge release, use ``asset://<finalVideoId>`` as video_reference. Poll video_upload_status until ``uploaded`` and take the final videoId from that response, which can change after deduplication. The caller needs image:read and access to that video; the device API key needs image:read and access to its folder. For nearby-claimed runtime keys, use the RTSP Simulator. Direct playback needs network access for its first download, enough disk space, and a video within the device cache limit (1 GiB by default, set by ASSET_VIDEO_CACHE_MAX_BYTES). Use the reference directly in the stream, not in video_sources. RTSP Simulator remains an option.

Devices streams delete

Remove a stream's state document. Requires the ``device:update`` scope. Remove the stream from the device config too (``devices_update_config``), or the device recreates it.

Devices streams get

Get a single stream by id. Returns the Stream object. Streams that exist only in the device config are returned as synthesized ``provisioning`` entries rather than 404; 404 only if the stream exists neither live nor in config. Includes structured ``error_code``, ``error_message``, and ``error_retryable`` alongside the legacy ``error`` text.

Devices streams list

List streams configured on the device. Returns a list of Stream objects, including streams that exist only in the device config and have not been reported by the device yet (``status: "provisioning"``, ``provisioning: true``). ``mode`` is ``"triggered"`` for trigger-driven streams, ``"continuous"`` otherwise. Credential-bearing fields (URL userinfo, ``password``, ``credential``, etc.) are redacted from the ``source`` and ``configured_source`` fields. ``id`` is the platform stream record, while ``pipeline_id`` is the runtime pipeline identifier. Use both values from the same object when pausing or resuming. Structured ``error_code``, ``error_message``, and ``error_retryable`` describe the latest status-event failure; null means the field was not reported.

Devices streams pause

Request a pause of a running device stream without removing its config. ``pipeline_id`` targets the edge pipeline. Pass ``stream_id`` from the same Stream object when it is a platform record; omit it for a ``provisioning`` entry, whose id is only the stream name. Returns ``{id}`` for the queued command, not completed execution. Read ``devices_streams_get`` afterward to confirm the status. Undelivered commands expire after 5 minutes.

Devices streams resume

Request that a paused device stream resume processing. ``pipeline_id`` targets the edge pipeline. Pass ``stream_id`` from the same Stream object when it is a platform record; omit it for a ``provisioning`` entry, whose id is only the stream name. Returns ``{id}`` for the queued command, not completed execution. Read ``devices_streams_get`` afterward to confirm the status. Resuming a configured Workflow can execute external actions. Undelivered commands expire after 5 minutes.

Devices streams sample frame

Look at what a device camera sees right now. Returns the frame as an image plus ``image_url``: a signed URL, valid for an hour, that Workflow and model tools accept as an image input. Use it to design a Workflow against the real scene, then run the Workflow on ``image_url`` to check it before deploying to the device. Requires the ``device:update`` scope: when no frame is under 10s old the platform asks the device to start sending preview frames and waits. 504 means the device sent none in time (offline or stalled stream). Workspace, device, or stream privacy restrictions return 403 with ``error_type=CAMERA_STREAM_DISABLED``; other 403 responses can have different permission causes.

Devices streams terminate

Remove a stream from a device permanently. Requires the ``device:update`` scope. On V2 devices the stream is removed from the device config at once (``status: "applied"``), or the removal is held for production approval (``status: "staged"``). Otherwise a ``terminate_stream`` command is queued, and the device targets the pipeline by ``pipeline_id``. To stop processing temporarily use ``devices_streams_pause``. ``devices_streams_delete`` removes only monitoring state, so a configured stream comes back after it.

Devices streams trigger

Request one Workflow execution on a trigger-driven device stream. The platform resolves the Workflow and workspace from the stream or device config. Camera capture must be allowed by workspace, device, or stream settings. A privacy refusal returns 403 with ``error_type=CAMERA_STREAM_DISABLED``. Queued capture commands are checked again before delivery, so a later opt-out can prevent execution. The Workflow may write to external integrations, so do not retry automatically. Returns ``{id}`` for the queued command, not inference output or proof of completion. Follow up with ``devices_get_events`` and ``devices_streams_get`` for status. Undelivered commands expire after 5 minutes.

Devices streams update

Merge fields into a stream's ``data`` map. Requires the ``device:update`` scope. To change what the stream runs, edit ``stream`` in the device config with ``devices_update_config``.

Devices update

Rename a device, edit its environment variables, or set its workflow, live sampling or production mode. Requires the ``device:update`` scope. For runtime configuration (streams, services, versions) use ``devices_update_config``.

Devices update config

Update the device's runtime configuration. Requires ``device:update``. Uses JSON Merge Patch, so a small nested change preserves sibling settings; null explicitly deletes a key. Set ``config.camera_stream_disabled`` to true to stop live camera viewing on this device, or set ``config.camera_stream_disabled_streams`` to an array of stream names to stop viewing only those streams. The list is on ``config``, not inside ``config.stream.<name>``; arrays replace the whole list. Pending opt-outs restrict viewing immediately, including changes awaiting production approval or a maintenance window. A queued re-enable does not lift an active restriction until applied. Workspace-wide viewing is controlled in the session-authenticated web setting; its ``/query/workspace/updateCameraStreamDisabled`` route is unavailable to MCP credentials. Deployment-affecting changes wait for the next maintenance window when one is configured and not currently active. Schedule, timezone, and device name/type changes can apply immediately when approval is not required. Returns ``{success, staged: true, configProposal}`` when a production change awaits approval. This does not change live config. Otherwise returns ``{success, config, deferred}``; check ``deferred`` and ``config.pendingUpdates`` before claiming the change is live. Unapproved changes stay held through maintenance windows. MCP cannot approve a proposal. ``force_apply`` and ``immediate_delta`` are query-only controls, not fields in the config payload. Enabling Vision Events backup additionally requires the platform's ``vision-events:write`` scope. On supported edge releases, an uploaded workspace Asset Library video can be used directly: set config.stream.<stream-name>.video_reference to asset://<finalVideoId>, alongside its workflow_id and workspace_name. Do not put an asset reference in config.video_sources or use a signed download URL as the stream reference. The caller needs image:read and access to the uploaded video; the device API key also needs image:read and access to its folder. For nearby-claimed runtime keys, use the RTSP Simulator. Direct playback needs network access for its first download, enough disk space, and a video within the device cache limit (1 GiB by default, set by ASSET_VIDEO_CACHE_MAX_BYTES). Check staged, deferred, and pendingUpdates before treating the stream as active. The RTSP Simulator remains an option. For either path, call video_upload without project_id, PUT the bytes, and poll video_upload_status until "uploaded". Use the final videoId from that status response, which may differ after deduplication. For the simulator path, read the effective device config with devices_get_config before patching. Select an existing RTSP Simulator service or add one under services.<name>. For a new service, choose free host RTSP and web ports across published ports and service *PORT environment variables, including resolved $refs. Use the approved versioned simulator image tag in config.version.<name>, and set the service tag to {"$ref":"#/config/version/<name>"}; do not guess a tag. Use the image repo.roboflow.com/roboflow-edge/rtsp-simulator, restart="unless-stopped", and the persistent volume /var/lib/rfdm/rtsp-simulator/data:/data. Set RTSP_PORT and WEB_PORT to the selected ports and give it ROBOFLOW_API_KEY and API_BASE_URL environment variables as references to #/roboflow_api_key and #/api_base_url. Set RTSP_SIMULATOR_CONFIG to a JSON string with source="asset_library", the workspace slug, the final video_id, and upload_settings and stream_settings. For example the simulator defaults are target_fps=null, crf_quality=23, max_width=null, max_bitrate_kbps=5000, buffer_size_kb=3000, max_delay_ms=500. In the same config patch, set config.stream.<stream-name>.video_reference to rtsp://127.0.0.1:<host-RTSP-port>/stream, with its workflow_id and workspace_name. Loopback works only when inference uses host networking. Check staged, deferred, and pendingUpdates before treating the stream as active. New or changed ``config.kiosk.outputs`` selections require the workspace display controls feature and a fresh report from that device showing a connected, configurable connector. An explicit mode id must be selectable in that report; ``auto`` also requires a fresh compatible report. Removing an existing connector override with null returns it to automatic mode and remains possible without the feature or a fresh report. MCP cannot read the display report because its endpoint requires a Firebase session cookie. Choose a connector and mode from the current report in Device Manager.

Devices update default config

Replace the workspace default device config patch. Requires the ``device:update`` scope. The merged result is validated against the RFDM config schema (400 with ``details`` on failure). New devices start from this config except display mode selections. The workspace default patch may retain or remove existing ``config.kiosk.outputs`` selections, but cannot add or change them. Choose display modes on each device after it reports its monitors.

Folders list

List the workspace folders visible to this credential. Returns ``{ folders: [{id, name, parent_id, child_ids, projects, external_id}, ...] }``. ``projects`` holds the URLs of the projects in the folder; ``parent_id`` and ``child_ids`` describe the folder tree. ``child_ids`` names only folders this credential can list, but ``parent_id`` is the platform's value, so the top of a folder-scoped credential's subtree can point at a folder that is not in the list. A folder-scoped credential sees only its own folders. An empty list means no folders are visible to this credential, not necessarily that the workspace has none. Pass ``folder_id`` to fetch a single folder; an unknown id also yields an empty list.

Get aws storage credential setup link

Get a Roboflow app link to set up an AWS S3 storage credential. This tool does not create a credential. It returns ``manual_entry_required`` with a ``url`` for the Roboflow form, a ``docs_url`` for prerequisites, and ``aws_setup`` guidance for the correct AWS account. Only the non-secret name, credential_type, and description are passed here. The user enters AWS access keys or role details in the Roboflow app, never in chat or this tool. IAM uses AWS access keys; AssumeRole uses an AWS IAM role. Recommend a credential dedicated to Roboflow with read-only or bucket-scoped access. After the user completes the form, use credentials_list to find its id.

Images add to project

Add existing workspace Asset Library images or videos to a project (async). Use for sources already in the workspace: media_upload_finalize results (`sourceId` / `videoAssetId`), cloud-storage datasource mirrors, or images in another project. A newly uploaded video is addable only after ingestion; until then this returns 404 "Image not found in workspace", so retry later. If it still 404s after a few minutes, ingestion failed or merged it: tell the user. Find ids or build the filter with images_workspace_search. To upload new local images, prefer image_upload_files when the host can supply them in its files input; if you would have to invent download_url or file_id, use image_upload if the client can ZIP and PUT to storage. For videos, prefer image_upload_files only for video-only projects when the host can supply the selected files in its files input. If you would have to invent download_url or file_id, use the signed-URL fallback. For other project types, use video_upload; also use it when host transfer cannot handle the video. video_upload requires a client that can PUT bytes to the signed URL. If storage is unreachable, use the web uploader. The source stays owned by the workspace: the project gets an association, not a copy. Added sources land in one new batch (`batchId`). Images and videos cannot be added together; the task fails on a mix. API keys and OAuth tokens restricted to folders get a 403. Returns `{ taskId, projectId, selectionMode, imageCount?, url, ... }`. Poll async_tasks_get(task_id) until status is `completed` or `failed`. A completed result has `batchId` (null when nothing new was added), `imagesLinked`, `imagesSkipped` (already in the project, removed, or filtered out by media type) and `annotationsCopied`. Added sources are not in the Dataset yet, so training cannot use them. Sources without labels: annotate them with add_to_dataset=true on annotations_save (images) or video_segments_annotate (Action Recognition videos). Sources that arrive labeled (copy_annotations_from_project_id, or labels the project already shares): create a job from `batchId` with annotation_jobs_create, then annotation_jobs_accept_into_dataset.

Images batch update metadata

Batch-update metadata and tags on multiple images (async). Each item in updates must contain an 'imageId' and at least one mutation bucket. Same conflict rules as the single-image endpoint. Returns { taskId, url } with status 202. Poll completion via async_tasks_get with the returned taskId.

Images screening status

Read what happened to an image held by upload screening. Returns the image ID and status: pending, passed, redacted, rejected, failed or duplicate. A failure may include a reason code. A duplicate may include resolvedId when you can see the resulting Source. This screening outcome does not establish Dataset readiness: pending images are still held, and rejected or failed images do not enter the project. For an annotation accepted while held, check this verdict and resolvedId for duplicates; a rejected or failed image loses its deferred annotations. A 404 can mean the image was never held, does not exist, or is inaccessible.

Images search

Search images in one project by what they show, with optional filters. query is semantic search: results are ranked by how well they match the text, but the query does not narrow them, so total does not change with it. Narrow results with tag, class_name, in_dataset, batch, batch_id, annotation_job and annotation_job_id. There is no split filter here. For RoboQL (split:, metadata:, filename:, NOT, OR, and so on), use images_workspace_search with project:<slug> in the query, e.g. 'project:my-project split:valid'. Returns { offset, total, results }.

Images update metadata

Update metadata and tags on a single image. Metadata and tags can be useful to find images later in the platform. Common metadata include photo location, camera, date. Provide at least one of: metadata, remove_metadata, add_tags, remove_tags. The same key cannot appear in both metadata and remove_metadata; the same tag cannot appear in both add_tags and remove_tags. Returns { success: true } on success.

Images workspace search

Search images across the entire workspace using RoboQL. The workspace is determined automatically from the API key — no workspace or project parameter is needed. Just provide a query. Use RoboQL syntax to filter by project, Dataset membership, split, class, tag, metadata, and more; combine filters with AND, OR, NOT and parentheses. Quote filter values that contain wildcards or spaces, for example ``filename:"frame_*"``. For compatibility, clearly unquoted filename wildcards such as ``filename:frame_*`` are quoted before the query is sent. This is the tool for split filters and other RoboQL queries scoped to one project: add project:<slug>. Request the `url` field when you need a direct image URL. Returns results with a continuationToken for pagination. To put results into a project, pass their ids (or the same structured query and media_types) to images_add_to_project.

Image upload

Prepare a signed URL for uploading a zip of images, annotations or MP4/MOV videos. Use image_upload_files when the host supplies the selected files in its files input. If you would have to invent download_url or file_id, use this signed-URL flow instead when the client can ZIP and PUT the files. Use this fallback only when host-assisted file transfer is unavailable or cannot handle the selected files, and the client can zip them and HTTP PUT to the signed URL. If its sandbox cannot reach storage, do not keep retrying the PUT; use host-assisted transfer or direct the user to the web uploader. This tool does not read, zip, or upload files. To mirror images from cloud storage (S3/GCS), use the datasource tools. Returns a signed upload URL, task ID, and client-side instructions. File bytes are transferred by the client in this flow. Requires the project slug, plus optional split, batch name, tags and annotation_overwrite. Local file paths are used by the client after this tool returns, not passed here. Remaining steps after this returns (detailed in the response instructions): 1. Zip the images and any annotation files (even one image → zip). Paths inside the zip set splits: train/, valid/ and test/ folders override the split argument per image. 2. HTTP PUT the zip to signedUrl. 3. Poll image_upload_status(task_id) every few seconds until completed or failed. Videos in ZIPs require a video-only project (such as Action Recognition). Poll video_upload_status for every result.videoIds entry after ZIP processing; use the final videoId from each uploaded response. result.videoIds stops at 100 IDs; if result.videosStaged exceeds that list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Image projects skip videos, and video-only projects skip images. Inspect warnings and errors, even when the ZIP task completed. For one raw video up to 3 GB, use video_upload. Annotation files in the zip are imported with the same parser as the web uploader: COCO JSON (e.g. one _annotations.coco.json per split folder), YOLO TXT (with data.yaml or classes.txt for class names), Pascal VOC XML, CreateML JSON, CSV, and the other formats it accepts. Annotations are matched to images by file name. In classification projects, an image's parent folder is its class (cat/img1.jpg). Check result.screening after polling: it is included in result.uploaded, and counts images held for a screening verdict. ZIP completion does not make those images available in the project or Dataset. Passed or redacted images become available later; rejected or failed images do not. The ZIP result does not report their final verdicts. result.annotated may include annotations accepted for held images; it does not prove they reached a Source. Rejection or failure discards them. For images not held for screening, annotations go straight into the Dataset (or a review job when annotation review is on); images without annotations land in a batch to label with annotations_save and add_to_dataset=true before training. An image already in the project counts as a duplicate and is not stored again, but its annotation from the zip is still saved. An image that already has an annotation in this project's annotation group (for example from another project in the workspace that uses the same group) keeps it and is listed in annotationErrors, unless annotation_overwrite is true. Up to 2 GB / 10k files. Signed URL expires in 1 hour.

Image upload files

Upload images or MP4/MOV videos into a project through the host's file transfer bridge. Use this when the host supplies the selected files in the files input, including when it exposes local paths and transfers them for you. If you would have to invent download_url or file_id, use image_upload or video_upload instead when the client can PUT the bytes. Do not invent file references or put file bytes in tool arguments. The Roboflow server downloads the supplied files and uploads them as one zip. No terminal ZIP or PUT is needed, including when the code sandbox cannot reach storage. Fall back to image_upload only when the bridge is unavailable or cannot handle the selected files, and the client can zip and HTTP PUT them to storage. An authentication, validation, or server error does not by itself mean the bridge is unavailable. For image projects, pass images plus any annotation files, matched to images by file name (COCO JSON, YOLO TXT with data.yaml or classes.txt, Pascal VOC XML, CreateML JSON, CSV), or one zip on its own. A zip keeps its folders, so train/, valid/ and test/ folders set each media file's split. Up to 100 files and 1 GB total per call; send larger file counts as one zip within that limit. For video-only projects (such as Action Recognition), pass MP4/MOV videos or a zip containing them. Videos remain native videos, not extracted frames. Image projects skip videos; video-only projects skip images, with warnings. Do not treat a mixed batch as fully imported without checking those warnings. When the host cannot transfer videos, use video_upload for a raw video or image_upload for a ZIP, only if the client can PUT to storage. Returns a taskId once the files are uploaded. Poll image_upload_status(task_id) every few seconds until it is completed or failed. Inspect uploadErrors, annotationErrors and warnings. For videos, ZIP completion only means staging: then poll video_upload_status for every result.videoIds entry until uploaded or failed. Use the final videoId from each uploaded response (deduplication can change it). result.videoIds stops at 100 IDs while result.videosStaged counts videos from successful chunks. If videosStaged exceeds the returned list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Check result.screening: it is included in result.uploaded but those images await a verdict, so ZIP completion does not mean they are available in the project or Dataset. Passed or redacted images become available later; rejected or failed images do not. result.annotated may include annotations accepted for held images; ZIP completion does not prove they reached a Source. Rejection or failure discards them. For images not held for screening, annotations go straight into the Dataset; images without them land in a batch to label with annotations_save.

Image upload status

Check the status of an image or video ZIP upload task. Use after the zip has been PUT to the signed URL (image_upload step 2), or after image_upload_files returns. Poll every 3–5 seconds until status is completed or failed. Returns status (created, running, completed or failed), progress, and, once finished, a result with uploaded, duplicates and annotated image counts, videosStaged and videoIds, plus uploadErrors, annotationErrors and warnings (for example annotations that matched no image, or ignored files). Error lists stop at 100 entries. Screening appears when positive and is included in result.uploaded, but those images are held pending a verdict. A completed ZIP task does not make them available in the project or Dataset. Passed or redacted images become available later; rejected or failed images do not. This response has no final per-image screening verdicts. Preserve and report the screening count separately from images ready for use. result.annotated may include annotations accepted for held images; ZIP completion does not prove they reached a Source. Rejection or failure discards them. When screening is absent, ordinary upload behavior applies. A completed ZIP task does not mean its videos finished ingesting: poll video_upload_status for every result.videoIds entry until uploaded or failed, even when the ZIP task failed after staging some videos. Use the final videoId from each uploaded response. result.videoIds stops at 100 IDs, while result.videosStaged counts videos from successful chunks. If videosStaged exceeds the returned list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Check errors and warnings before reporting success; image projects skip videos and video-only projects skip images. Status stays "created" until the first chunk finishes; progress gets a total as soon as processing starts. If the task is still "created" with no progress 10 minutes after a successful PUT, the zip was not processed (for example it held no supported media files): stop polling, fix the input files and retry using the upload selection rules below. The zip is processed in chunks. If any chunk fails, status is "failed", failedChunks is above 0, and uploadErrors holds an entry whose path names the chunk (e.g. "chunk-0"). That chunk's images may already be stored without their annotations, and its counts are missing from the totals. Re-uploading the same files is safe and repairs this: stored images come back as duplicates and their missing annotations are saved. Images whose annotations were saved the first time are then listed in annotationErrors as "Image was already annotated", which is expected. For retries, use image_upload_files when the host supplies fresh selected files in its files input. If you would have to invent download_url or file_id, use the signed-URL fallback instead. Use image_upload only when host-assisted transfer is unavailable or cannot handle those files, and the client can ZIP and PUT to storage. A failed import does not by itself mean the file transfer bridge is unavailable. If sandbox networking blocks storage, use host-assisted transfer or the web uploader instead of retrying signed PUTs.

List skills

Discover Roboflow workflow guidance when native skills/list is unavailable. Use for Roboflow workflows and interactive apps. Returns descriptions and file manifests, not full instructions. Read the relevant SKILL.md with resources/read, or read_skill when the client cannot read resources. Follow nextCursor to list additional skills.

Media analyze

Analyze an image or short video with a vision model to understand its contents. Returns a structured analysis: a summary, the distinct objects present with approximate counts, the best-fitting CV task (detection, segmentation, classification, OCR, tracking...), candidate class names, whether those classes fall within the 80 COCO classes (drives model-family selection), motion notes for video, and workflow recommendations. Pass any public HTTPS URL directly — image results from images_search, images_workspace_search, or universe_dataset_images_search already include a usable `url` field. For a local file on the user's machine, call media_upload first and analyze the URL it produces. This is a stateless one-shot primitive: nothing is recorded in a conversation. Costs workspace credits (one vision-model call per invocation). Storage allows videos up to 100 MB, but ANALYSIS is capped at ~15 MB by the vision gateway's url fetcher; trim longer footage before analyzing.

Media trim

Cut a clip from an Asset Library video and get an analyzable public url. Use after media_upload_finalize returns `needsTrim: true`. The simplest call is media_trim(video_asset_id) with no window: the server cuts the longest clip the ~15 MB analysis budget allows from the start (typically up to ~95 seconds; often the entire video, since long windows are re-encoded, downscaled to at most 1280px, to fit). Pass start_seconds/duration_seconds only when your user cares about a specific segment. The response tells you exactly what happened: `clipSeconds` (what was actually cut), `requestedSeconds`, `clamped: true` when the server shrank the window, plus authoritative `videoDurationSeconds` and `maxClipSeconds` from the server-side probe. Report the real clipSeconds to your user; to cover the rest of a long video, cut the next clip at start_seconds + clipSeconds and repeat. Only the published clip is re-encoded; the full-quality video stays untouched in the Asset Library.

Media upload

Prepare a local image or video for analysis with media_analyze. Returns a short-lived signed upload URL plus step-by-step instructions; the upload itself completes client-side (the MCP server never receives file bytes). After the PUT, call media_upload_finalize to validate the bytes. For images and small videos it returns a durable `url` to pass straight to media_analyze; for videos over the analysis budget it returns `needsTrim: true` with a `videoAssetId`, and you call media_trim to get the analyzable clip url. Only needed for files on the user's machine; media already reachable by an HTTPS URL (including Roboflow-hosted images) can go straight to media_analyze. To put a video into a project (e.g. for annotation), prefer image_upload_files only for video-only projects when the host supplies it in the files input. If you would have to invent download_url or file_id, use video_upload. For other project types, use video_upload because ZIP imports skip videos. Also use video_upload when host transfer cannot handle the video. It requires a client that can PUT bytes to the signed URL; if storage is unreachable, use the web uploader. Finalized images and videos are saved into the workspace Asset Library (reusable across the workspace; re-uploading identical bytes reuses the existing asset instead of duplicating it). The analyzable copy ends up on a public CDN at an unguessable URL. To put a finalized image into a project, pass its `sourceId` to images_add_to_project.

Media upload finalize

Validate a staged upload (from media_upload) and publish it. Checks the uploaded bytes match the declared media type and size limits. Images become workspace Asset Library assets (the response includes their `sourceId`) and return a durable public `url` to pass to media_analyze. Videos always become Asset Library records (`videoAssetId`). Small videos also return a durable `url` right away (`needsTrim: false`). Videos over the analysis budget return `needsTrim: true`: call media_trim(video_asset_id) with no window to get the maximal analyzable clip, and read the authoritative numbers from its response. If you passed duration_seconds here, the response also includes `maxClipSeconds` and `wholeVideoFits` (true when one clip covers the entire video, so there is nothing to ask the user). Ask YOUR USER which segment matters only when the video is longer than one clip can cover. The full video stays in the Asset Library either way. The staged object is removed whether validation passes or fails, so a failed finalize means starting over with a fresh media_upload. To add the finalized asset to a project, pass its `sourceId` or `videoAssetId` to images_add_to_project. A new video becomes a Source only after ingestion finishes (seconds to minutes); until then images_add_to_project returns 404 "Image not found in workspace". Retry later, or look up its final id with images_workspace_search(media_types=['video']), since ingestion can merge identical bytes into an existing video. If it still 404s after a few minutes, ingestion failed or merged it: tell the user instead of retrying.

Meta feedback send

Send product feedback about Roboflow to the Roboflow team. Records a bug report, missing-feature request, UX friction note, or documentation issue against the current workspace. Use when the user wants to report a problem with Roboflow or send feedback. Returns confirmation that the feedback was recorded.

Meta survey opt out

Stop asking the MCP outcome survey permanently, only when the user requests it. This changes the preference for the signed-in user. API keys identify a credential, not a person, so it applies to everyone sharing that key.

Model evals compare

Compare models trained on or uploaded to one dataset version. Returns the project, version, selected frontier metric, available metrics, and one compact record per model. Each record includes evaluation metrics, median latency, exclusion reason, and server-computed frontier membership. Frontier membership indicates a speed/accuracy tradeoff, not a model recommendation or selection. This tool is read-only and starts no jobs.

Model evals get

Get the top-level summary for a single model evaluation. Returns the eval metadata plus a ``summary`` of mAP / precision / recall on done evals, and an ``app_url`` deep link into the UI panel. The ``modelUrl`` field is the resolvable public model id (feed it to ``models_get`` / ``models_infer``); ``modelId`` is the eval's internal id. The ``model_evals_get_*`` result tools only work once ``status`` is ``done``; while it is ``pending`` or ``running``, poll this tool first.

Model evals get confidence sweep

Get the precision/recall/F1 confidence sweep for an eval. For each split returns ``perThreshold`` (metrics keyed by threshold like ``"0.20"``), the ``optimalThreshold`` and ``optimalMetrics``, and ``perClass`` sweeps.

Model evals get confusion matrix

Get the confusion matrix for an eval. Returns ``{split, confidenceThreshold, classes, matrix}`` where ``matrix[actual][predicted]`` is the count.

Model evals get image predictions

Get per-image prediction stats for an eval (paginated). Returns ``{split, confidenceThreshold, totalImages, offset, limit, images: [...]}``. Each image carries TP/FP/FN counts, precision, recall, F1, the assigned cluster, and a per-class confusion list. Select by image_name or eval_input_id to inspect a specific input. Set include_geometry to include its saved predictions, ground truth, image URL, coordinate space, and media evidence when available. If one image has multiple evaluated inputs, use eval_input_id and split to select one; geometry requests with multiple matches return 400.

Model evals get map results

Get per-split mAP results for an eval. Returns ``{splits: {train, valid, test}}`` where each split has overall ``map50`` / ``map50_95`` / ``map75``, ``byObjectSize`` (small/medium/large), and ``perClass`` breakdowns.

Model evals get performance by class

Get per-class performance metrics for a single split. Returns ``{split, classes: [{className, map50, map50_95, map75, precision, recall, f1, optimalThreshold}, ...]}``.

Model evals get recommendations

Get the LLM-generated recommendations for an eval, if available. Returns ``{generated: false}`` until the recommendations job has run. When ready, returns ``{generated: true, generatedAt, recommendations: {summary, items}}``.

Model evals get vector analysis

Get UMAP + HDBSCAN clustering of image embeddings for an eval. Returns ``{clustering, preprocessing, clusters: [...]}`` — useful for finding pockets of poor-performing images. Each cluster carries ``numImages``, ``splitDistribution``, F1 stats, and sample image refs.

Model evals list

List model evaluations in the current workspace. Returns ``{evals: [...]}`` where each entry has evalId, status, project (URL slug), versionId, modelId, modelUrl, and createdAt. Use ``model_evals_get`` for the headline ``summary`` (mAP/precision/recall) on a specific eval. Two model identifiers are returned and they are NOT interchangeable: ``modelId`` is the eval's internal id (the ``model_id`` filter key here); ``modelUrl`` is the resolvable public id that ``models_get`` / ``models_infer`` accept and that joins to ``models_list[].url`` and ``trainings_get`` results. Filters combine: ``project_id`` + ``version_number`` returns the evals of that project version, ``model_id`` + ``version_number`` the evals of that model on that version. The version is matched within the newest 200 evals of the project or model, the most the platform returns per call.

Models custom weights upload guide

Get the recipe for uploading locally trained model weights to Roboflow. This tool never uploads anything. Weights packaging must run on the machine that has the checkpoint (it reads the weights file and needs torch), and this MCP server cannot read the user's filesystem. Calling it returns the client-side recipe: how to run the upload with the Roboflow Python SDK on the machine where the weights live. Pass whatever arguments you already know; the response names the matching upload mode and echoes them back for the SDK call. Do not infer the target project, version, or model name from the checkpoint; those come from the user.

Models get

Get details for a trained model in the current workspace.

Models infer

Run hosted inference on an image using a trained model or RF-DETR Semantic pretrain. RF-DETR Semantic returns per-pixel scene classes from ADE20K's 150 classes, not separate object instances. Its six size aliases resolve to ADE20K model IDs. Other two-segment IDs pass through unchanged; the inference server resolves their model and task without project-type derivation. Returns JSON predictions only. For visualized/annotated images, run a Workflow with a visualization block instead.

Models list

List trained models associated with a project. Returns ``{models, total, returned, limit, offset, truncated}``. Each row carries `metrics`, and (for NAS children) `nasFamily` and `group`, plus a derived `recommended` flag when the model is the recommended pick for any (metric, hardware) bucket on its parent version. `metrics` is sparse and its keys depend on the run. An ordinary training carries accuracy only, e.g. {map50, precision, recall, f1}. `latency` and `paretoOptimalFor` come from NAS mining, so they appear on NAS children and not on ordinary trainings; `metrics` may also be null. Do not assume a key is present - read what is there. Two shapes of NAS child are in the data. Newer runs report `latency` as a map keyed by target hardware (e.g. {"AI1": 6.69, "T4": 1.98}) and `paretoOptimalFor` entries as "<hardware>:<metric>" (e.g. "T4:map_50_95"). Older runs report a scalar `latency` with a sibling `metrics.hardware` (e.g. "gpu") and bare-metric `paretoOptimalFor` entries (e.g. "map_50"). Branch on the type of `latency` rather than indexing it. `recommended` is the flattened union of the platform's per-hardware winners, so more than one row in a group carries it and it cannot tell you which hardware a child won; `paretoOptimalFor` is frontier membership, not the recommendation. The authoritative map, `recommendedByHardware`, exists only on legacy version-based summaries and is absent from modern MMPV runs. NAS children with `nasFamily: "baseline"` are stock RF-DETR models trained on the same data; they carry no `paretoOptimalFor` and are never `recommended`. A project with NAS runs can have hundreds of models, so the result is always bounded: filter with `version_number` and/or `group=<modelGroup>` (the canonical "list NAS models per run" path), and page with `limit`/`offset`. `truncated` is true when more rows remain past the page.

Models star nas

Star or unstar a NAS-trained model. NAS-only by design — the server rejects non-NAS modelTypes with a ``MODEL_NOT_NAS`` error. Starring triggers TRT compilation for the model's recommended hardware so the model becomes deployable as an edge target.

Models weights download url

Get a short-lived download URL for an existing trained model checkpoint. Returns `download_url`, valid for 15 minutes. The platform enforces the caller's permissions, the workspace's weights-download entitlement, and artifact availability. Prefer an exact model slug: a numeric version can resolve its legacy alias rather than a particular model from that version. This retrieves raw trained weights, not a dataset export or a Core ML, ONNX, or TensorRT conversion. For offline iOS deployment, converting the checkpoint and integrating it into the app are separate steps. The tool does not train, convert, run inference, or download the file itself. The platform records a model-download event when issuing the URL. Treat the temporary URL as private and do not publish it.

Preview job cancel

Stop a preview job. It cannot resume; a new run starts a new job.

Preview job get

Read a preview job with its segments and results; every call signs its urls again.

Preview media refresh

A fresh signed url for the preview's source video, when the widget reopens after it expired.

Preview rerun

Run a preview again from its rerunArguments, with the classes the user changed.

Project deployment configure active learning

Configure how a Project Deployment collects Active Learning data.

Project deployment disable active learning

Pause Active Learning collection for a Project Deployment.

Project deployment enable active learning

Enable Active Learning for a Project Deployment.

Project deployment get

Get the stable live endpoint state for a project, with `workspaceDetectionDefault` and `openAiDetectionAvailability`. Use the returned `workspaceDetectionDefault` for new non-COCO object-detection Workflow steps and object-detection catalog labeling with no explicit model choice. Free/trial workspaces: GPT-6.1 Terra (`gpt-6-1-terra-boxes`) for Workflow detection and Auto Label; new endpoints GPT-6.1 Sol (`{type: "sol", classes}`). Paid workspaces or unknown usage: Gemini 4 Carbon (`gemini-4-carbon-boxes`) for Workflow detection and Auto Label; new endpoints GPT-6 Astra (`{type: "astra", classes}`). Auto Label instance-segmentation defaults are `gpt-6-1-terra-sam3-masks` for free/trial and `gemini-4-carbon-sam3-masks` for paid or unknown usage. Use the returned API defaults and Auto Label model list for actual selection; `isDefault` marks only the object-detection default. If `workspaceDetectionDefault` is absent, use the paid endpoint default. Name an endpoint by its endpoint model, never by the Auto Label one. Never infer the tier from user messages. Explicit choices and saved models take precedence. The returned `openAiDetectionAvailability` applies to OpenAI blocks and endpoints. When it is `available` or absent, follow the workspace detection default. A `managed-key-denied` or `region-unavailable` restriction does not establish another provider's availability: retain a non-OpenAI default only when its own access and deployment policies permit it. When no permitted VLM default is available, use the native SAM 3 fallback without another selection question. Never switch providers, credentials or global routes to evade plan, workspace-key or residency restrictions.

Project deployment launch

Create or prepare a stable Project Deployment. Configure this optional endpoint only when the requested task needs a stable serving endpoint or active learning. A new Project's detection default can only be read once the Project exists. For a new object-detection Project outside COCO with no explicit model choice, call this without `model` or Active Learning, read the returned `workspaceDetectionDefault` and `openAiDetectionAvailability`, then call project_deployment_set_model with `{type: workspaceDetectionDefault.objectDetectionEndpoint.type, classes}` (the classes to detect) as project_deployment_get describes, then project_deployment_enable_active_learning if wanted. Active Learning needs a model on the endpoint.

Project deployment list review queues

List Active Learning review queues fed by production inference.

Project deployment preview

Show the project's live endpoint on one workspace image or video, in an interactive player. Use this when the user wants to see what the project's model finds on their own media. Each call runs inference and spends credits; a video runs as a job on a clip of 60 s at most. Only the counts per class come back here; the user filters by confidence and class in the widget, and on SAM 3 projects can change the classes and run again there. A project that never had an endpoint gets one (its base workflow) before the preview runs. For usage guidance, read skill://roboflow-apps/model-preview/SKILL.md.

Project deployment run

Run inference through the project's stable live endpoint.

Project deployment set model

Change which model a Project's hosted endpoint serves without changing its stable inference path. Creates the endpoint if necessary. Configure this optional endpoint only when the requested task needs a stable serving endpoint or active learning. Ordinary model testing and Auto Label samples use a standalone Workflow and need no endpoint configuration. Never replace a configured serving model or saved prompt unless the user explicitly requests that persistent change. Training completion, Auto Label setup, Adjust feedback, and trying a preview do not authorize replacement. This saves the configuration, so do not describe it as temporary. Never use this tool for temporary classes or confidence changes. Active Learning settings are preserved. If the user explicitly requests Sol or Astra and project_deployment_get's `openAiDetectionAvailability` is `managed-key-denied`, explain that its managed-key access is unavailable in this workspace and offer SAM 3 or resolving that access. If it is `region-unavailable`, explain that OpenAI detection is unavailable in the EU deployment and offer SAM 3; do not suggest upgrading the plan or adding a provider key as a residency workaround. Do not configure a new Sol or Astra detection endpoint or suggest a global provider route in that case. For either restriction, do not configure a substitute without their agreement or claim the requested detector ran. Never bypass provider-access controls. Leave existing configured endpoints, COCO RF-DETR, other task defaults, and Auto Label's separate selection policy unchanged.

Projects create

Create a new computer vision project, including Action Recognition and Anomaly Detection. Action Recognition projects are video-only. Anomaly Detection requires workspace enablement and creates fixed, single-label normal/anomalous classes. Active anomaly detection and ordinary projects cannot use the same annotation group. The annotation group is not private to the project: projects that use the same group share annotations on the images they have in common. If an active project of the same kind already uses the name, the new project silently joins that group. Projects in the Trash are excluded from the kind check, so a new project can also join a group used by a trashed project of either kind. Images uploaded to the new project that are already stored in the workspace come with their annotations from that group, and uploading them with annotations fails with "Image was already annotated" unless image_upload's annotation_overwrite is set. Unless the user wants shared annotations, check the annotation values from projects_list and trash_list first and pick a name no other project uses. Returns the created project's id, name, type, and url.

Projects delete

Delete a project, moving it to the workspace Trash. This is a soft delete: the project (including its versions, images, and models) stays in the Trash for 30 days and can be restored with ``trash_restore_project`` using the project's document id from the delete response or ``trash_list``. After 30 days it is permanently removed. Active trainings on the project are cancelled.

Projects fork

Enqueue an async fork of a public Universe project into your workspace. Provide either a Universe `url` or `source_project`. Returns the platform's 202 payload verbatim — at minimum `{ taskId, url }`, where `url` points at the async-task polling endpoint. Poll completion with `async_tasks_get(task_id=taskId)` every 5 seconds until `status` is terminal (`completed` or `failed`). Processing may take up to 30 seconds to start.

Projects get

Get detailed info about a project including versions, classes, splits, and trained models. Returns full project details with workspace, project info, versions, and classes. A workspace/project ID from Universe can also be read when the project is public; resolving its owner additionally requires workspace:read. Private projects remain restricted to the connected workspace.

Projects health

Get dataset health check for a project. Running this for the first time or with regenerate=True might take up to a couple minutes. Returns class balance, image quality issues, annotation statistics, and other dataset health metrics.

Projects list

List projects in the workspace associated with the credential. Returns ``{ projects, total, limit, offset }`` where ``projects`` holds up to ``limit`` entries (id, name, type, image count, and more) and ``total`` counts the usable projects across all pages. Page with ``offset`` when ``total`` exceeds ``limit``.

Read skill

Read server-hosted workflow or app instructions when MCP resources are unavailable. Load the relevant SKILL.md before following its workflow; retrieve referenced files only as needed, using their manifest URIs on this same server. Returns the actual text (or base64 blob for binary files). This reads guidance only: it does not execute scripts, install skills, or grant tool permissions.

Streams camera url add

Save a public camera URL and start its connection test after the user confirms access.

Streams connect

Connect a phone, webcam or network camera in the live stream app. Use this when the user wants to connect a camera or run a Workflow on a live stream. Call without arguments to open a new camera session; no internal IDs are required. Optionally supply a stable request_id for retry-safe creation or select a known source_id. Calls without request_id each create a new session. Reopen an existing session with stream_session_id instead (session_id remains a supported alias). The app offers phone/webcam pairing and authorized camera setup for connector USB/RTSP and direct RTMP publishers. Camera permission and connection happen in the app; never ask for camera credentials in chat. If no Workflow or detection goal is known, ask what the user wants to detect or invite them to choose a saved Workflow in the card. Do not leave them at a bare camera feed. When the connected source and Workflow are known, call streams_preview in the same interaction. No Workflow editor or additional "start" turn is required. Read skill://roboflow-apps/stream-preview/SKILL.md for usage guidance.

Streams input close

Close only this viewer's raw WebRTC connection, including after a source change. Ownership is rechecked. It does not disconnect the camera publisher or other viewers.

Streams input offer

Negotiate raw camera playback through the authorized platform signaling proxy. The answer and connection handle are app metadata only. Source media keys and relay session URLs remain server-side. This does not start Workflow processing.

Streams phone pair

Create a short-lived phone QR or browser webcam pairing link for this member.

Streams preview

Start or replace a live annotated Workflow preview on the session's camera. Use this when a connected camera should show a selected or newly prepared Workflow. Updates the existing streams_connect card; it does not open another app. Reuse the session and workspace from that card's model context. Pass the session as stream_session_id (session_id remains a supported alias). Do not call streams_connect again unless the user needs to reopen the card or its session has expired. For a detection goal or Workflow change, use agent_chat to build and validate through the Roboflow in-app agent. Request class filtering and an annotated image output. Poll agent_chat_result when running, then pass the returned Workflow ID and exact specification unchanged. Read current session status after building. An existing saved Workflow that already fits can be read and previewed directly. This tool pins the supplied specification and spends credits; it does not publish or edit the Workflow. Agent edits can be previewed as drafts without publishing. Sink blocks are disabled; unsupported side effects are refused. Never read settings from a Workflow editor. A returned starting/stopping status is pending, not success: use streams_preview_status. If retry is needed, reuse the exact request_id and arguments; do not create a second request while outcome is uncertain.

Streams preview release

Release only this viewer's attachment, without cancelling other viewers or the camera.

Streams preview status

Read the current source, run, revision and processing state without starting work. Use stream_session_id; session_id remains a supported alias. The result describes processing, not whether the user's viewer rendered a frame. Pairing links, media grants and frame data stay out of the conversation.

Streams preview stop

Stop this session's processing, preserving its camera connection. Use stream_session_id; session_id remains a supported alias. A stopping result means termination is pending. Read status for confirmation. This never stops unrelated sessions or disconnects the phone publisher.

Streams preview watch

Renew this viewer's authorized lease and obtain current-generation output access.

Streams rtsp add

Add a camera from the in-app form to a Roboflow connector.

Streams rtsp connectors

List workspace connectors that can accept an RTSP camera.

Streams setup open

Get the authorized first-party setup page for connectors, Verkada, or RTMP.

Streams source select

Select an authorized source for an idle session; a running session must stop first.

Streams sources list

List the camera sources the app's caller can select, without media credentials.

Streams workflows list

List authorized Workflow names and IDs for hosts that cannot read app resources.

Survey feedback submit

Record the user's explicit answer to an offered survey question using its request_id. For a chat reply, submit Yes or No only when the user answers that question. For No, include their explanation. Use dismiss only for an explicit dismissal.

Trainings cancel

Cancel an in-flight training run. Works for any architecture. For NAS runs the underlying handler accepts the ``mining`` status — same call cancels mining or training phases.

Trainings create

Create a training on a dataset version. A dataset version must exist before training. Reuse an existing ready version when its images, labels, and splits match the requested data; check it with versions_get. Generate a new version only when the data or version-level transforms need to change. The MCP versions_generate tool uses the REST generation route: it still applies version preprocessing and augmentation and has no training-purpose option. A modern (MMPV) version may own MANY trainings — concurrent and repeated runs are allowed. Legacy single-model-per-version (SMPV) versions already hold their one model and reject a second training with a 409; generate a fresh version to train more models. To inspect a version's trainings, use trainings_list; to monitor a specific run, use trainings_get with the returned training_id. For Action Recognition, pass model_type='cosmos3-edge' or 'vjepa2-1-vitb-384'. Their video-coco export is prepared by this call. The returned trainingId identifies a background v2 run; poll trainings_get with it until the run finishes. A train_recipe is optional and is sent only when you supply one. For the multi-stage keypoint architecture, pass model_type= 'rfdetr-keypoint-two-stage' and configure detector and keypointHead in stages. Each stage has its own modelType and optional checkpoint, hyperparameters, and trainRecipe. Recipe lookup is limited to the project task, so use the detector's defaults unless you already have a compatible recipe. Set epochs within each stage's hyperparameters or recipe. Top-level epochs and train_recipe are invalid for this architecture. This architecture is currently enabled only on staging for eligible workspaces; platform availability and validation errors are authoritative. Optional trt_compilation enables paid Jetson TensorRT compilation for this run using current target IDs and pricing.trainingId from trt_fleet_settings_get. Enabling requires model:compile in addition to training-job:create, version:read, and version:export, and a workspace-wide API key when using a key. Ordinary training uses version:read to check readiness and version:export to prepare the export. Review the maximum reservation and obtain the user's approval before enabling. Pricing or target profile changes require fresh consent; inspect trt_fleet_status after training for the compilation result. MODEL CHOICE: for object detection and instance segmentation, prefer a NAS parent over a single named architecture: searching the architecture space against this dataset usually beats hand-tuning one. See the model_type description for ids and prerequisites. To customize model-specific preprocessing, online augmentation, or hyperparameters without changing the version, call trainings_describe_recipe FIRST, edit its ``template`` (set ``template["hyperparameters"]``; set supported ``online_preprocessing`` and ``online_augmentation`` steps, with augmentation steps as ``{name, params: {...}}`` dicts), and pass the whole dict as train_recipe. Recipe hyperparameters are sparse: keys you leave out keep their server-side defaults, which are the tuned values, so omitting a key is the right default, not a missed opportunity. Set a knob when you have a specific reason to move it, not to explore. Recipe training requires platform recipe access and an enabled runtime; trainings_describe_recipe reports their availability. COMPARING ARCHITECTURES: use the same ready MMPV version for each candidate. Agree with the user whether to run the comparison in parallel or sequentially, then launch one trainings_create per candidate and retain each returned trainingId. MMPV versions allow concurrent trainings. Include a NAS parent whenever its prerequisites are met, e.g. 'rfdetr-medium' vs 'yolo26m' vs 'rfdetr-nas-parent'. A NAS arm returns a frontier of models rather than one. Resolve it with trainings_list -> modelGroup -> models_list(group=<modelGroup>), whose docstring describes the per-child fields; use trainings_list rather than trainings_get, which inlines every child and defeats the paging. Which child represents that arm depends on the question being asked, and the obvious reading of the `recommended` flag is wrong - read the training-and-evaluation skill before comparing arms or deploying. This tool checks that the dataset version has finished generating and that the required export is ready before starting, and waits up to about 20 seconds for the export. If either is still pending it does NOT start a training: it returns status 'waiting_for_version' or 'waiting_for_export' with training_started false, no trainingId, the progress, and retry_after_seconds. That is expected, not a failure: call trainings_create again with the same arguments after that delay, and keep retrying until it returns a trainingId. Version generation can take up to about an hour on large datasets and reports 0 progress for most of it. Training runs in the background on Roboflow servers.

Trainings delete

Delete a training run, moving it to the workspace Trash. This is a soft delete: the training stays in the Trash for 30 days and can be restored with ``trash_restore_training`` using the training id. After 30 days it is permanently removed. Deleting may repoint or remove the ``{project}/{version}`` serving alias; the response reports the alias action taken.

Trainings describe recipe

Describe the tuning surface for a model type and get a ready-to-submit train recipe. Returns two things: - ``schema``: the valid tuning knobs for this model on this version, namely manifest hyperparameters with hard bounds (``valid``) and advisory ranges (``advice.low``/``advice.high``) for a deliberate, hypothesis-driven change. A descriptor's ``advice.default`` is the tuned value the server applies when you omit the key, so a sparse recipe is the good default; a descriptor with NO ``advice.default`` is one only the trainer can resolve (it derives the value from the dataset at train time), so leave those out unless you specifically intend to override the derivation. Also included: the task-supported online augmentation steps with their field contracts, the supported online preprocessing steps, and input/resolution rules. - ``template``: a ready-to-submit ``trainRecipe`` for this model type. Edit the knobs you want to change, including model-specific ``online_preprocessing`` and ``online_augmentation`` steps, then pass the whole dict as ``train_recipe`` to trainings_create. An unknown ``model_type`` fails with a 404 whose error body lists the valid model types for the project's task.

Trainings get

Get a training's status, produced models, and metrics. With ``training_id``, returns that run: ``{ trainingId, status, createdAt, modelType, modelGroup, modelCount, models: [ { modelId, nasFamily, metrics, recommended }, ... ], recommendedByHardware?, mining?, epochs?: [ { epoch, ts_ms, map50?, map50_95?, precision?, recall?, f1?, accuracy?, miou?, val_loss?, nativeMetrics?, latency?, modelKey? }, ... ], trainRecipe? }``. ``createdAt`` is when the run was launched (ISO 8601 UTC), or null if unknown. Statuses are surfaced verbatim: 'failed', 'cancelled', and 'stopped' are distinct. Without ``training_id``, returns the version's sole run. A version with several trainings returns 409 ``MULTIPLE_TRAININGS``; use trainings_list to choose a run and pass its ``training_id``. Set ``include_epochs=True`` to read recorded per-epoch curves, including legacy trainings. Top-level ``map50``, ``map50_95``, ``precision``, ``recall``, ``f1``, ``accuracy``, and ``miou`` are percentages (0 to 100). ``nativeMetrics`` holds recorded validation quality scores in 0-1 units and losses in native units; ``val_loss`` is also in native units. Loss definitions vary by trainer. Missing curves or metrics are unavailable, not zero. ``trainRecipe`` is the submitted recipe, not the resolved trainer configuration. ``latency`` is a number or an object of numbers; ``ts_ms`` is a Unix timestamp in milliseconds. NAS runs with several curves include ``modelKey`` on each entry: group by ``modelKey`` before comparing or plotting. Multi-stage trainings have separate curves per stage: read ``stages`` from trainings_list and call trainings_get with each exact stage ``trainingId``. For headline metrics (mAP/precision/recall) on a specific model, use model_evals_list to find the version's evaluations and then model_evals_get and its siblings. Those tools require the ``model-eval:read`` scope, so eval lookup is deliberately kept out of this tool — monitoring a run only needs ``version:read``. For full per-model metadata on a NAS run, call models_list with the returned modelGroup.

Trainings list

List the trainings on a dataset version. A version may own many trainings. Returns one entry per run: ``{ trainingId, status, createdAt, modelType, modelGroup, modelIds, stages? }``. ``stages`` maps stage names to their exact ``{ trainingId, modelType }`` when a run has multiple stages. Use each stage's ``trainingId`` with trainings_get to read its own curves. ``createdAt`` is when the run was launched (ISO 8601 UTC), or null if unknown. Entries are sorted oldest-to-newest by ``createdAt``. Statuses are surfaced verbatim (e.g. 'finished', 'failed', 'cancelled', 'stopped', 'running'). Pick a ``trainingId`` and pass it to trainings_get, trainings_cancel, or trainings_stop.

Trainings stop

Request an early stop on an in-flight training run. Distinct from cancel: the run finishes the current phase gracefully (mining or training) instead of terminating immediately.

Trash list

List soft-deleted items currently in the workspace Trash. Deleted projects, versions, workflows, and trainings stay in the Trash for 30 days before permanent removal. Use the returned item type and document id with the matching ``trash_restore_*`` tool to recover an item.

Trash restore project

Restore a soft-deleted project from the workspace Trash. Undoes ``projects_delete`` while the project is still within its 30-day retention window.

Trash restore training

Restore a soft-deleted training run from the workspace Trash. Undoes ``trainings_delete`` while the training is still within its 30-day retention window.

Trash restore version

Restore a soft-deleted dataset version from the workspace Trash. Undoes ``versions_delete`` while the version is still within its 30-day retention window. ``parent_id`` is the parent project's document id.

Trash restore workflow

Restore a soft-deleted workflow from the workspace Trash. Undoes ``workflows_delete`` while the workflow is still within its 30-day retention window.

Trt fleet model settings get

Read the model's inherited or explicit future compilation settings. This does not change automatic compilation consent. API credentials cannot change workspace or model automatic settings; use the Roboflow app.

Trt fleet quote

Quote compilation for a trained model before reserving credits. Requires a sealed trusted FP32 ONNX source. The quote shows the maximum credit reservation and hourly rate. Only successful native compilation time is charged; unused reservation is released. The quote ID reflects the source, target profiles, and price. If any changes, request returns a conflict; fetch a new quote and obtain approval for its terms.

Trt fleet request

Reserve credits and enqueue paid compilation after the user approves the quote. Repeating the same request reuses matching jobs. A changed quote returns a conflict; quote again before retrying. A queued job can wait for a build device and expires after 24 hours without a charge. Poll trt_fleet_status for each variant's outcome; enqueueing is not success.

Trt fleet settings get

Read fleet availability, enrolled targets, and current pricing. Cloud TRT is off by default, including on Enterprise. The response's pricing.trainingId is the consent ID for trainings_create; pricing.id identifies the current fleet price. Automatic compilation settings are read-only through API credentials and must be changed in the Roboflow app. A disabled feature or unavailable fleet can block new work.

Trt fleet status

Poll a model's compilation jobs and their charges or failures. Jobs can be awaiting_source, queued, running, finalizing, succeeded, failed, or expired. A request response only confirms admission; check this status for the final result and chargedCredits.

Universe dataset images search

Search images inside a public Universe dataset given its URL. Accepts a full Universe dataset URL and derives the workspace and project slugs from it before searching the dataset's images.

Universe search

Search Roboflow Universe for datasets or models. With result_type 'model', each result lists its runnable modelVersions, each with the exact model_id to deploy or run, older versions included. The query supports operators mixed with free-text: - Add 'model' to only return datasets with trained models - 'class:helmet,person' filters by class names - 'images>500' filters by image count (also >=, <, <=) - 'sort:stars' sorts results (stars, images, downloads, views, updated) - 'object detection' filters by project type - 'updated:30d' filters by recency Example: 'fire smoke class:fire,smoke images>200 model sort:stars'

Versions delete

Delete a dataset version, moving it to the workspace Trash. This is a soft delete: the version stays in the Trash for 30 days and can be restored with ``trash_restore_version`` using the version's document id and ``parent_id`` set to the parent project's document id (both are in the delete response or ``trash_list``). After 30 days it is permanently removed.

Versions export

Check or trigger a dataset export for a version. Public projects can be exported by their full workspace/project ID without forking. Canonical ownership and visibility checks additionally require workspace:read and project:read. Private projects remain restricted to the connected workspace. Generation must finish first: use versions_get to check ``generating`` and poll roughly once a minute while it is true. An export request made during generation is rejected and does not queue the export.

Versions generate

Create a new dataset version with optional preprocessing and augmentation. Reuse an existing ready version when its images, labels, and splits match the training request. Use trainings_describe_recipe and trainings_create for model-specific online preprocessing and augmentation. This tool uses the REST generation route, which still applies version transforms and has no training-purpose option. Preprocessing and augmentation choices are user decisions: confirm the desired options with the user before generating rather than assuming defaults. Pass each option in the shape this tool's schema shows. The platform rejects its internal saved shape (``{"enabled": true, ...}``, ``remap.labels``, ``crop.percent``) and the step lists that trainings_create recipes use. Generation continues after this tool returns and can take several minutes. While ``generating`` is true, poll versions_get roughly once a minute before starting training or requesting an export. The export request is not queued while generation is in progress. Returns the version number, image count, split sizes, and readiness fields.

Versions get

Get info about a dataset version including splits and its trainings. A workspace/project ID from Universe can also be read when the project is public; canonical visibility checks additionally require workspace:read and project:read. Private projects remain restricted to the connected workspace. Returns version details with id, name, images, splits, preprocessing, augmentation, and a ``trainings`` summary (one entry per training on the version: ``trainingId``, ``status``, ``modelType``, ``modelGroup``, ``modelIds``). Use trainings_get for a single run's detail and metrics. Readiness fields report generation state for callers that need to poll: ``generating`` is true only while generation looks actively in progress, and ``ready`` is true once generation is not active AND at least one train/valid/test split count is present. Generation usually takes several minutes and can take up to about an hour on large datasets, with ``progress`` stuck at 0 or null for most of that wait: that is normal, not stuck. Poll this tool roughly once a minute until ``ready`` is true. Trainability floors (min images per split, labels, NAS mins) are enforced by the platform train endpoint; if ``ready`` is false only because splits are empty/insufficient, waiting will not help. Call trainings_create and surface that error.

Video pull capabilities

Check available URL schemes, providers and source limits before adding a camera.

Video pull create

Add a camera and start its connection test. Poll video_pull_get until testing ends. Choose either a URL or a provider listed by video_pull_capabilities. The returned idempotencyKey is needed to safely retry a lost response. Camera URL fields are omitted from results because they may carry secrets.

Video pull get

Poll connection testing and inspect status, certificate, codec and errors.

Video pull update

Rename, change, or retest a camera. Poll video_pull_get for the test result. A URL, credential, or certificate change may restart active Workflows. The API rejects it until restart_workflows=true explicitly confirms that impact. Set trust_certificate=true only after reviewing the pinned/blocked fingerprint.

Video segments annotate

Annotate one Action Recognition video Source with a complete video-coco document. To have a model label a batch of videos instead, use autolabel_start with model='video-segment'. Upload the video with image_upload_files when the host supplies it in the files input; if you would have to invent download_url or file_id, use video_upload if the client can PUT the bytes to the signed URL. For image_upload_files, first poll image_upload_status until ZIP processing completes, then poll video_upload_status for each returned video ID. Use the final videoId once status is "uploaded" (it can differ from the staged ID after deduplication). The ZIP status videoIds list stops at 100 IDs; if videosStaged exceeds the returned list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Preserve the video's native PTS, frame indices, and rational time base. The API creates unknown classes unless the project locks them. It controls overwrite, split, and Dataset membership. No training starts. With job_name, saving moves the Source from its batch or current job to the named job, even if add_to_dataset=false. When adding to the Dataset without a name, a Source outside a job moves from its batch into "Annotated via API"; a Source already in a job stays there. Saving without Dataset addition or a job name preserves placement.

Video upload

Prepare a signed URL for uploading one local video (MP4 or MOV). Set project_id for a project video, for example one you will label with video_segments_annotate. Omit it for a workspace Asset Library video to use as a direct device stream on supported edge releases or with an RTSP Simulator. Split and batch require a project. This tool does not read or upload local files: the client HTTP PUTs the bytes to the returned signed URL. Prefer image_upload_files for MP4/MOV files in video-only projects when the host supplies them in the files input, including local paths when the host transfers them. If you would have to invent download_url or file_id, use video_upload. For other project types, use video_upload because ZIP imports skip videos. Use this signed-URL fallback when the host cannot transfer the selected video or it exceeds the file transfer tool's 1 GB limit, and the client can read and PUT the file. If sandbox networking blocks storage, use host-assisted transfer for video-only projects or the web uploader instead of repeating failed PUTs. Returns signedUrl, requiredHeaders, videoId, and client-side instructions. Remaining steps after this returns (detailed in the response instructions): 1. HTTP PUT the raw video file to signedUrl with every requiredHeaders entry plus a Content-Type header. 2. Poll video_upload_status(video_id) every few seconds until status is "uploaded" or "failed". Use the videoId from the "uploaded" response. A direct edge stream uses ``asset://<finalVideoId>`` as its video_reference on supported releases. The caller needs image:read and access to the uploaded video; the device API key needs image:read and access to its folder. Direct playback needs network access, free disk space, and a video within the device cache limit (1 GiB by default). For nearby-claimed runtime keys, use the RTSP Simulator. Re-uploading identical bytes creates no new video. It updates the existing one instead: its metadata changes and tags are added; project uploads also update its split. Use the final videoId from video_upload_status. Up to 3 GB per video. Signed URL expires in 1 hour.

Video upload status

Check ingestion of a raw video upload or a video staged from a ZIP. Use after the raw video PUT (video_upload step 1), or for each videoId returned by image_upload_status after image_upload_files or image_upload. Poll every 3-5 seconds while status is "pending"; "uploaded" and "failed" are terminal, and "failed" includes a message. When status is "uploaded", the response videoId is the final video ID (the canonical Source ID). On supported edge releases, use ``asset://<finalVideoId>`` as the direct device stream video_reference for an uploaded Asset Library video, or configure an RTSP Simulator. The caller needs image:read and video access; the device API key needs image:read and access to the video's folder. Direct playback needs network access, free disk space, and a video within the device cache limit (1 GiB by default). Use the RTSP Simulator for nearby-claimed keys. For project videos, pass the final ID to video_segments_annotate. It can differ from the id you polled with: when an identical video already existed, the upload is deduplicated, duplicate is true, and videoId names the existing video. That video takes the metadata of the new upload and gains its tags; project uploads also update its split. resolvedBatch is null for duplicates. Otherwise resolvedBatch names the batch the video joined.

Vision events custom metadata schema get

Get the custom-metadata schema discovered for a use case. Custom metadata is arbitrary key/value data attached to events at ingestion time. This returns the fields seen so far and their value types, which is what you need to build ``customMetadataFilters`` for ``vision_events_query``. Keys attached to individual images (``images[].metadata``) are listed separately by ``vision_events_image_metadata_schema_get``. Returns ``{useCaseId, fields}`` where ``fields`` maps each field name to the value types observed for it (string, number, and/or boolean).

Vision events delete

Delete Vision Events by ID, with an explicit option to remove unshared media. Event deletion is a soft delete. By default, media stays in the Asset Library. With ``delete_media=True``, the platform permanently removes only media that no other live event, project, dataset, eval dataset, or bucket mirror uses. This requires ``project:update`` as well as Vision Events deletion access. The platform returns ``deleted``, ``notFound`` and, when requested, ``media: {deleted, kept, failed}``. A kept count means that media was not removed; a failed cleanup may follow event deletion. Check the returned summary before reporting the outcome.

Vision events image metadata schema get

Get the per-image metadata schema discovered for a use case. Per-image metadata is key/value data attached to an individual image inside an event (for example the camera or station that captured it), as opposed to the event-level ``customMetadata`` covered by ``vision_events_custom_metadata_schema_get``. In ``vision_events_query`` results it appears on each image as ``images[].metadata``. This returns the keys seen so far and their value types, which is what you need to build ``imageMetadataFilters`` for ``vision_events_query``. Returns ``{useCaseId, fields}`` where ``fields`` maps each key to the value types observed for it (string, number, and/or boolean). A key holding date-like strings may instead report a raw storage type such as ``DateTime64(9)``; such a key is not returned in ``images[].metadata`` and cannot be used in ``imageMetadataFilters``.

Vision events query

Query production vision events for a use case, with filters and pagination. This is the primary tool for answering questions like "what safety alerts fired in the last week?" or "how many failed quality checks did device X report yesterday?". Combine ``start_time``/``end_time`` with ``event_types`` for time-bounded reporting, then page with ``cursor``. Returns ``{events, nextCursor, hasMore, lookbackDays}``. ``hasMore`` is true when more pages exist; pass ``nextCursor`` back as ``cursor`` to fetch them. ``lookbackDays`` is the workspace's maximum history window, queries cannot see events older than that regardless of ``start_time``. Each event generally carries ``eventId``, ``eventType``, ``timestamp``, ``eventData`` (type-specific), ``images`` with their detections, and event-level ``customMetadata``. Each image may also carry its own ``metadata``, a flat map of per-image keys (string, number, or boolean values) returned as ``images[].metadata``. Fields such as ``deviceId``, ``streamId``, ``workflowId``, and ``displayImagePosition`` appear only when set on the event. The use case is not echoed back per event because the result is already scoped to the ``use_case_id`` you passed, so don't rely on a ``useCaseId``/``solution`` field being present on each event. To run a search someone saved in the Search tab, pass its id as ``saved_filter_id`` (list them with ``vision_events_saved_filters_list``) instead of filters; only ``limit`` and ``cursor`` can go with it. Saved filters exclude ``operator_feedback`` events, as the Search tab does. To filter on metadata, discover the keys first: ``vision_events_custom_metadata_schema_get`` lists the event-level keys for ``customMetadataFilters`` and ``vision_events_image_metadata_schema_get`` lists the per-image keys for ``imageMetadataFilters``. Pass either list through ``additional_filters``. An ``imageMetadataFilters`` item matches an event when any of its images satisfies it, while ``neq``/``not_in`` match only when none of its images does. To find a known event, pass its ID as ``event_id``. For other Event ID comparisons, pass ``additional_filters={"eventId": {"operator": "in", "value": ["event-1", "event-2"]}}`` (or ``eq``, ``neq``, ``not_in``). Event ID filtering stays within the use case and lookback window and combines with any other supplied filters. For OR conditions, pass ``filterGroup`` through ``additional_filters``. Each leaf combines its own predicates with AND; groups use ``op`` and ``items`` to combine leaves or nested groups. Flat filters are ANDed with the group, and time bounds apply to the whole query.

Vision events saved filter create

Save a named filter for a use case, shared with the whole workspace. Everyone in the workspace sees it in the use case's Search tab. Needs the Create Vision Events permission. A use case holds at most 100 saved filters; a duplicate name or a full use case is refused with a 409. Returns ``{savedFilter}``.

Vision events saved filter delete

Delete a saved filter for everyone in the workspace. Allowed for the person who saved it, or with ``vision-events:manage`` and the Manage Vision Events permission. A plain API key is never the person who saved a filter, so with one this needs ``vision-events:manage``. Events are not affected. Returns ``{success}``.

Vision events saved filter get

Get one saved filter. Returns ``{savedFilter}``.

Vision events saved filters list

List the filters saved for a use case. Saved filters are named Search-tab filter sets, shared with the whole workspace. Run one with ``vision_events_query`` and its ``saved_filter_id``. Returns ``{savedFilters}``, sorted by name. Each carries ``id``, ``name``, ``filters`` (the flat chips, in the shape described on ``vision_events_saved_filter_create``), optional ``group`` (AND/OR chips), ``createdBy`` and ``updatedBy`` (user ids), and ``createdAt``/``updatedAt``.

Vision events saved filter update

Rename a saved filter, replace its flat chips or group, or remove its group. Saving over replaces the filter's chips for everyone in the workspace and needs ``vision-events:write`` with the Create Vision Events permission; it works on any saved filter, and changing someone else's is recorded in the workspace audit log. Renaming needs the person who saved the filter, or ``vision-events:manage`` with the Manage Vision Events permission. A plain API key is never the person who saved a filter, so with one, renaming needs ``vision-events:manage``. Returns ``{savedFilter}``.

Vision events use case archive

Archive a vision-event use case. Sets the use case to ``inactive``: it is hidden from the default ``active`` listing and incoming events for it are rejected at ingestion, so this can disrupt a live pipeline. The use case and its existing events are preserved and it can be restored with ``vision_events_use_case_unarchive``. Returns ``{success}``.

Vision events use case create

Create a new vision-event use case. Use cases are the buckets that incoming events are grouped under. Returns ``{id, name}``; use the returned ``id`` as ``use_case_id`` when querying or ingesting events for this bucket.

Vision events use case rename

Rename an existing vision-event use case. Only the display name changes; the ``id`` and all associated events are preserved. Returns ``{id, name}``.

Vision events use cases list

List the vision-event use cases in the workspace. Use cases are the logical buckets events are grouped under; every query is scoped to one. Call this first to discover the ``id`` values to pass as ``use_case_id`` to ``vision_events_query``. Returns ``{useCases, lookbackDays}``. Each use case reliably carries ``id`` (the value to pass as ``use_case_id`` elsewhere), ``name``, and ``status``; other fields (timestamps, and any per-use-case counts or event-type summaries) may or may not be present depending on the workspace, so treat them as optional rather than guaranteed.

Vision events use case unarchive

Restore a previously archived vision-event use case. The reverse of ``vision_events_use_case_archive``; the use case returns to the default ``active`` listing. Returns ``{success}``.

Workflow blocks get schema

Get the full schema of a specific Workflow block. Returns all properties, required fields, and descriptions for a block identified by its manifest key (as returned by ``workflow_blocks_list``) or by the ``type`` string used in Workflow specifications.

Workflow blocks list

List all available Workflow blocks with a short summary of each. Returns a list of blocks, each with manifest (schema key), type (the identifier used in specifications, e.g. 'roboflow_core/open_ai@v7'), name, block_type, and short_description. Use ``workflow_blocks_get_schema`` to get the full schema of a specific block.

Workflow branches list

List a Workflow's branches and Main head. Use nextCursor for another page.

Workflow branch get

Read a selected branch's current snapshot and save receipt. Pass branchSave as branch_save to workflows_update or workflow_versions_save for an edit based on this snapshot. An archived or merged branch has no save receipt. On a head conflict, reread and reconcile before saving a new edit.

Workflow branch merge

Merge one branch into Main; this does not publish or start a stream. Preview first and use its exact heads. If either head changes, preview again and reconcile before retrying. Conflicts fail without changing Main unless overwrite_main is explicitly requested; it can discard Main's changes. After a successful merge, publishing is a separate action.

Workflow branch merge preview

Preview merging a branch into Main without writing or publishing. The response reports the branch and Main heads, changes, and conflicts. Use these exact heads for a merge based on this preview.

Workflow deploy gates list

Read every configured gate and its current status for a Workflow.

Workflow deploy gates openapi get

Read the public deploy gate API OpenAPI schema.

Workflow deploy gates workspace list

List Eval gates in the workspace. Requires View Workflow Evals permission.

Workflow eval deploy checks list

Read Eval check history. Results require workflow-evals:read and View Workflow Evals.

Workflow eval deploy gate get

Read the Eval gate and thresholds; gate is null when none is configured.

Workflow eval deploy gate new check thresholds set

Set thresholds for Eval checks missing from the gate. Requires Manage Workflow Evals.

Workflow eval deploy gate policy update

Change only selected Eval thresholds; requires Manage Workflow Deploy Gates.

Workflow eval deploy gate remove

Remove the Eval gate. Requires Manage Workflow Deploy Gates permission.

Workflow eval deploy gate set

Set the Eval gate. Requires Manage Workflow Deploy Gates permission. Changing a gate revision makes earlier check results outdated. Checks left out require every applicable Case to pass.

Workflow evals agent manifest

Get the engine's agent manifest. Start here before designing or drafting an Eval. To evaluate a Project's current model, first call project_deployment_get. Its ``model`` and ``deployment.status`` show whether a model is ready; ``deployment.url`` is the Project base Workflow URL, which can differ from the Project slug. If no model is configured, say so and offer to set one with project_deployment_set_model; do not create an empty Workflow or attach the Project base Workflow itself. Do not change a configured serving model just to evaluate it. For a configured model, page through workflows_list and inspect candidate definitions with workflows_get (the published version when present). Reuse a saved Workflow only if its definition has exactly one ``roboflow_core/inner_workflow@v1`` Project Model step pointing to the same workspace and base Workflow URL, has no pinned version or model/parameter overrides, binds only ``image`` to ``$inputs.image``, and exposes that step's predictions. Otherwise use workflow_specs_validate and workflows_create to save that one-step Workflow. Its input is ``InferenceImage image``; its step is named ``model`` with ``workflow_workspace_id`` set to the workspace slug, ``workflow_id`` set to ``deployment.url``, ``workflow_version_id`` null, and ``parameter_bindings`` set to ``{'image':'$inputs.image'}``. Expose ``$steps.model.predictions`` as a ``JsonField`` output named ``predictions`` with ``coordinates_system`` ``own``. Attach the saved Workflow document ID as a savedWorkflow Eval Subject and use it in the Run. This wrapper follows the Project's current model. After that model changes, start the next Run with ``execution_reuse='never'`` so old outputs are not reused. Returns ``{engineVersion, manifest}``: ``entrySkill`` plus IDs of skills, bundles, schemas, resources, tool contracts, and examples. To draft a Spec and its bindings yourself: 1. Read ``entrySkill`` (e.g. 'skill:workflow-evals') and the task skill (e.g. 'skill:create-eval') with workflow_evals_agent_resource_get. 2. Read the task bundle (e.g. 'bundle:create-eval') and fetch the schemas and examples listed in its ``assets`` with ``kind='asset'``. 3. Write the Spec from the user's intent, the Workflow's inputs/outputs (workflows_get), and the Dataset contract. Iterate with workflow_evals_specs_validate, then save with workflow_evals_specs_create. 4. Get bindings from workflow_evals_bindings_suggest (or write them), confirm with workflow_evals_bindings_validate, and review both with the user. If ``engineVersion`` changes between calls, reload the manifest.

Workflow evals agent resource get

Get one engine-owned agent resource. ``skill`` returns Markdown ``content``; ``bundle`` returns the parsed ``bundle`` whose ``assets`` IDs can be fetched with ``kind='asset'`` (schemas, resources, tool contracts, examples). Unknown IDs or IDs from another category return 404.

Workflow evals agent resources list

List engine-owned agent skills or bundles. Returns ``{engineVersion, items}``.

Workflow evals bindings suggest

Propose a BindingSet mapping a Spec's inputs/outputs onto a Workflow Subject. Returns one proposed BindingSet and the normalized ``workflowSubject``. Nothing is saved; validate the BindingSet with workflow_evals_bindings_validate, then save it in the Eval's ``subject_bindings`` map keyed by Subject ID. Saved Workflow Subjects also need workflow:read.

Workflow evals bindings validate

Validate a BindingSet against a Spec, Dataset, and Subject. Returns ``{valid, diagnostics, ...}`` with the planned capture contract. A valid BindingSet is what an Eval Run executes against. To save it on an Eval, pass ``subject_bindings`` as {Subject ID: BindingSet}, never the bare BindingSet. The key is the Workflow document ID for a saved Workflow (never its URL slug), ``workflowVersionId`` for a saved version, or ``subjectKey`` for an inline Subject. Saved Workflow Subjects also need workflow:read.

Workflow evals capabilities

Describe the Workflow Evals API: operations, schemas, evaluators, and caller actions. Start here in an unfamiliar workspace. Returns ``workspace`` (the authenticated workspace URL slug, not the internal id), the public operation registry, each operation's required permission, the installed engine version, and which actions the current credential can perform. Never changes state.

Workflow evals case assets upload

Start uploading a local image as Case input. The MCP server never receives bytes. Returns ``{uploadId, artifactId, uploadUrl, requiredHeaders, expiresInSeconds}`` and ``instructions``. Then: 1. HTTP PUT the file bytes to ``uploadUrl`` with exactly ``requiredHeaders``. 2. Call workflow_evals_case_assets_upload_complete(eval_dataset_id, upload_id). 3. Use ``{'artifactId': ...}`` as the image input in workflow_evals_cases_create.

Workflow evals case assets upload complete

Verify and publish an uploaded Case image. Returns the stable ``artifactId``. Checks size, type, and that the bytes decode as an image. Call only after the PUT to the signed URL succeeded.

Workflow evals case imports get

Poll a Case import. ``status`` is queued, running, completed, partially_completed, failed, or cancelled; ``progress`` has discovered, processed, adopted, failed, total. List Cases with workflow_evals_cases_list while it runs.

Workflow evals case preparations cases

Page through prepared Cases and their candidate outputs. With include='proposal', successful Cases include ``proposal.groundTruth`` mapped through the Eval's saved bindings onto Dataset fields. Check ``proposal.imageSizes`` before using boxes: boxes from a crop or resized image may not align with the Case image. ``proposal.unmapped`` explains missing fields; ``proposal.outputSummary`` gives bounded output evidence when mapping is incomplete. Treat predictions as drafts to review and correct before marking ground truth complete. Follow ``cursor`` until absent. If a page exceeds the client's result limit, retry that page with a smaller ``limit`` and the same input cursor. Each success also has a short-lived ``candidateOutput.readUrl`` for raw Workflow output; do not share or persist signed URLs.

Workflow evals case preparations get

Get a Case preparation's state and progress (current one when no ID is given). Returns ``{}`` when the Eval has no current preparation.

Workflow evals case preparations resume

Resume a preparation, keeping successful Cases and requeueing only failed ones.

Workflow evals case preparations start

Run the Eval's Workflow over Dataset Cases to produce candidate outputs. Costs inference. Helps draft ground truth from predictions. Save the Eval's Spec and subject_bindings for its Workflow first (suggest and validate bindings, then update the Eval); without them predictions cannot map to labels. Returns 202 with the preparation (``id``, ``state``, progress counters). Poll with workflow_evals_case_preparations_get, then page through workflow_evals_case_preparations_cases with include='proposal'.

Workflow evals cases create

Add one Case to an Eval Dataset, validated against the Dataset's contracts. A Run that selects an incomplete Case is rejected with ``EVAL_NOT_READY`` and the ``incompleteCaseIds``.

Workflow evals cases delete

Remove a Case from the live Dataset. Runs that already froze it stay readable. When the user explicitly replaces an example with a different image, create or import the new image as an incomplete Case first, then delete the old Case using its current revision. Keep both only if the user asked to add an example. Do not delete a mislabeled Case; correct it in place.

Workflow evals cases get

Get one complete Case with short-lived read URLs for its assets and its ``revision``.

Workflow evals cases import

Bulk-import images from Roboflow sources, project datasets, or uploaded artifacts. Returns 202 ``{intakeId, asyncTaskId, status, pollUrl}``; poll with workflow_evals_case_imports_get. Imported Cases start with incomplete ground truth and cannot be run until it is reviewed and completed with workflow_evals_cases_replace. To copy a Project's existing labels, import its Dataset test split with groundTruthOutput on the item and ground_truth_eval_id set to the attached Eval's ID. The Eval must already have this Dataset and a saved Workflow subject. Choose a compatible exposed prediction output of the Project's type computed on the original image. Use the sole compatible output from the Project's own model directly; otherwise ask which output should receive the labels, including an images-only choice. Omitting groundTruthOutput imports images without labels. With a declared ground truth contract, the API writes annotations into its field of the matching type, preferring the field named groundTruthOutput when several match; a missing or ambiguous matching field is rejected. Without a contract, it uses the groundTruthOutput name. Imported labels remain incomplete drafts: show them for review and approve them before setting ground truth complete. Draft labels only for Cases without annotations. At most 10,000 Cases per intake. Source imports need image:read; dataset imports need project:read and image:read.

Workflow evals cases list

List Cases in an Eval Dataset (summaries, no media bytes).

Workflow evals cases replace

Replace a Case atomically (full replacement, not a field patch). Read workflow_evals_cases_get first and preserve its name, groundTruthState, slices, and evidenceRefs unless deliberately changing them. Set ground_truth_state to complete only after the user confirms the answer. Apply user-stated corrections yourself after confirmation. Include every required ground-truth field, using [] or 0 for an empty answer when its type calls for that value. Never use null or omit a required empty answer. Runs that froze the Case keep their copy.

Workflow evals create

Create an Eval. Every field is optional; an empty call creates a draft. For a Project's current model, follow the project_deployment_get and saved Project Model Workflow selection in workflow_evals_agent_manifest before attaching a Subject. The Project base Workflow is not the Subject. The Eval becomes ``ready`` once it has an engine-valid Spec and a compatible Eval Dataset. If it has an authoring Workflow Subject, its ``subject_bindings`` must also map every outcome check output. Missing output mappings keep it ``draft`` with ``missing_bindings`` diagnostics; use workflow_evals_bindings_suggest and workflow_evals_bindings_validate to prepare the mappings. For one saved Workflow, attach its document ID as ``workflowId`` and ``subjectKey`` (the Workflow document ID). After validating a BindingSet, save ``subject_bindings`` keyed by that ID and ``server_configuration`` matching the Run server before starting a Run, so the Eval page can run the same Workflow. Inline Subjects remain available for multi-candidate searches. Returns the Eval detail including its ``revision`` (needed for workflow_evals_update).

Workflow evals datasets compatible specs

List Specs whose input and ground-truth requirements this Dataset satisfies.

Workflow evals datasets create

Create an empty Eval Dataset with declared input and ground-truth contracts. Add Cases with workflow_evals_cases_create or workflow_evals_cases_import. Adding Cases never changes the contracts; use workflow_evals_datasets_update_contract.

Workflow evals datasets get

Get an Eval Dataset and its derived summary (no Cases inline) plus ``revision``.

Workflow evals datasets list

List Eval Datasets with declared contracts, Case counts, slices, and completeness.

Workflow evals datasets search

Search Cases by semantic content, Source metadata and saved ground truth. Source/semantic filters additionally require image:read and current image-search permission; only Source-backed Cases match them. Ground-truth filters also cover artifact-only Cases. Read-only: does not run Workflows or create embeddings. Returns items, dataset revisions, coverage, total (possibly null), nextCursor. Continue with the same query and limit even after an empty page; stop only when nextCursor is absent. Restart without cursor on 409. Preview URLs expire. Detailed GT filters can return 422 for oversized labels or encoded semantic masks.

Workflow evals datasets update

Update Eval Dataset metadata (name/description).

Workflow evals datasets update contract

Replace a Dataset's declared input and/or ground-truth contract. A schema-only change returns the updated Dataset. A change that rewrites Cases returns 202 with an AsyncTask (poll with async_tasks_get); Case writes are rejected until it completes.

Workflow evals delete

Delete an Eval with all its Runs, Executions, results, and owned artifacts. Two steps. First call without ``deletion_key``: nothing is deleted; returns ``{confirmationRequired: true, deletionKey, impact}``. Show the impact to the user and get explicit confirmation, then call again with ``deletion_key``. That admits deletion and returns ``{asyncTaskId, statusUrl}``; poll with workflow_evals_operation_get. Shared Specs and Datasets are kept. If this Eval backs Workflow deploy gates, the preview lists the affected Workflows in ``impact.deployGates``. Confirming deletion removes those gates and cancels their pending deploy checks. Deleting a gated Eval also requires the ``workflow:update`` scope and, for a user, Manage Workflow Deploy Gates permission. These extra requirements do not apply to an ungated Eval.

Workflow evals embeddings cancel

Request cooperative cancellation of an embedding job.

Workflow evals embeddings get

Get embedding analysis jobs. Never launches analysis. With ``provider`` or ``async_task_id``, returns ``{job}`` (``job`` is null when none exists). With neither, returns ``{jobs: {<provider>: job | null}}`` for every provider, plus ``errors: {<provider>: message}`` for providers that could not be read. Completed jobs have ``result.url``: a file with 2D ``points`` per Case (coordinates 8..92) plus ``skipped`` Cases. New Runs start these jobs on their own.

Workflow evals embeddings start

Generate (or reuse) a 2D embedding projection of an Execution's input images. New Runs schedule this automatically; use it for older Runs or explicit retries. Returns the job; poll with workflow_evals_embeddings_get.

Workflow evals evaluators get

Get one evaluator's description and configuration JSON Schema.

Workflow evals evaluators list

List the evaluators available to Spec Checks in the installed engine. Returns ``{engineVersion, items}``; each item has ``type``, ``semanticType``, and its ``configSchema``. Use the ``type`` in a Spec Check.

Workflow evals executions configuration

Get an Execution's frozen Subject manifest, BindingSet, and linked plan.

Workflow evals executions get

Get one Execution's lifecycle, frozen Subject identity, and result availability.

Workflow evals executions input cases

Page through an Execution's input Cases for a client-owned (local) runner. Only needed when the Run uses a local runtime. Each item has the ``case``, ``shardIndex``, and ``checkpoint`` (absent means not yet submitted); ``artifactReadUrls`` holds short-lived input image URLs. Run inference yourself, then submit each output with workflow_evals_executions_submit_capture.

Workflow evals executions list

List a Run's Executions (one per evaluated Workflow Subject).

Workflow evals executions submit capture

Submit one Case's Workflow output from a local runner. The platform scores it. Identical repeats are idempotent; different bytes for the same attempt return 409; a stale attempt returns 412.

Workflow evals exports download url

Get a fresh short-lived download URL for a completed export.

Workflow evals exports get job

Poll an export. ``{asyncTaskId, state, progress, result?}``; ``result`` has the artifact and download URL.

Workflow evals exports start

Start a server-side export of a Run's results. Returns 202 with ``asyncTaskId``; poll workflow_evals_exports_get_job until it completes, then use its download URL (renew with workflow_evals_exports_download_url). A Run with retryable failed Cases is refused with 409 ``retryFirst`` unless ``allow_pending_retries`` is true.

Workflow evals get

Get one Eval by ID or by its readable URL (exactly one). Returns setup ``state`` and diagnostics (including ``missing_bindings`` for unmapped authoring Workflow check outputs), current Spec/Dataset projections, ``subjects``, ``subjectBindings``, ``serverConfiguration``, recent Runs, and the ``revision`` used for updates.

Workflow evals list

List Evals in the workspace, newest first. Returns ``{items, nextCursor?}``. Items include setup ``state`` (``draft``/``ready``), ``runCount``, and ``lastRunAt``.

Workflow evals openapi get

Get the machine-readable OpenAPI 3.1 contract for the Workflow Evals API. Large response. Prefer workflow_evals_capabilities and the per-tool descriptions; use this when you need exact request/response schemas.

Workflow evals operation get

Poll a Workflow Evals deletion operation. Returns a sanitized receipt ``{operationId, kind, state, resource}``, readable even after the deleted resource is gone.

Workflow evals results case get

Get one Case's result: inputs, frozen ground truth, bound actual values, and Check results. The raw Workflow output is omitted by default (``rawOutputOmitted: true``); the values the Checks scored are in ``actualValues`` and ``caseResult.boundOutputs``.

Workflow evals results cases list

List per-Case results for an Execution with compact ``checkResults`` by Check ID. Use ``failed_check=True`` to find failures, then workflow_evals_results_case_get for details.

Workflow evals results compare

Compare completed Executions: per-Check deltas and a page of Case-level deltas. Pure read; sibling Executions from one Run are always comparable.

Workflow evals results overview

Get an Execution's aggregate per-Check performance and runtime summary.

Workflow evals runs cancel

Request cancellation of a queued or running Run. Idempotent.

Workflow evals runs configuration

Get a Run's frozen shared configuration: Spec, Dataset snapshot, and Case selection.

Workflow evals runs delete

Delete a Run with its Executions and results. Two steps. Without ``deletion_key`` nothing is deleted; returns ``{confirmationRequired: true, deletionKey, impact}``. After the user confirms, call again with the key; returns ``{asyncTaskId, statusUrl}``. Poll with workflow_evals_operation_get.

Workflow evals runs get

Get a Run's lifecycle state, child Execution counts, and ``retry`` eligibility. Poll this while the Run is active; refresh results once it is terminal. With ``wait_seconds`` the tool polls for you and returns early when the state is one of ``completed``, ``partially_completed``, ``failed``, or ``cancelled``.

Workflow evals runs list

List an Eval's Runs, newest first. ``limit=1`` gives the latest Run.

Workflow evals runs replay

Create a new derived Run from a source Run, optionally with new Subjects. Returns 409 if the saved Spec or Dataset changed since the source Run. Server runtimes also need model:infer; saved Workflow Subjects also need workflow:read.

Workflow evals runs rescore

Score retained Workflow outputs against a revised Spec without re-running Workflows. Creates a new derived Run. Incompatible Executions return rerun-required diagnostics.

Workflow evals runs retry failed

Retry only missing or operationally failed Cases in the same Run. Check ``retry.allowed`` from workflow_evals_runs_get first. Keeps the frozen setup; to change the Workflow, use workflow_evals_runs_replay. Server-runtime retries also need workflow:read and model:infer.

Workflow evals runs start

Start one grouped Run that evaluates every Subject on the Eval's Spec and Dataset. Each execution needs its own valid Subject and BindingSet, even when the Eval's authoring Workflow is ``draft`` due to ``missing_bindings``. Costs inference for server runtimes. Returns 202 with ``run``, ``executions``, and ``asyncTaskId`` (null for local runtimes, which use workflow_evals_executions_input_cases / submit_capture). Poll workflow_evals_runs_get until the state is terminal. A one-Case selection is a cheap dry run. Server runtimes also need model:infer; saved Workflow Subjects also need workflow:read. If a saved Workflow follows a Project's current model and that model changed, set ``execution_reuse='never'`` so this Run does not reuse outputs from the previous model.

Workflow evals schema get

Get a JSON Schema for authoring Workflow Evals payloads. Read the ``spec`` schema before writing a Spec, ``eval-dataset`` before creating a Dataset, ``case`` before adding Cases, and ``binding-set`` before hand-writing bindings. The engine still performs semantic validation.

Workflow evals specs compatible datasets

List Eval Datasets whose inputs and ground truth satisfy a Spec.

Workflow evals specs create

Validate, compile, and save a Spec. Invalid Specs return 422 with engine diagnostics. Draft the Spec yourself following the engine skills (start at roboflow://workflow-evals/manifest) and iterate with workflow_evals_specs_validate before saving. Confirm the Spec with the user first.

Workflow evals specs get

Get the current live Spec and its ``revision``.

Workflow evals specs list

List live Specs in the workspace. Returns ``{items, nextCursor?}``.

Workflow evals specs update

Replace a live Spec's policy and/or metadata. The full result is recompiled. Existing Runs keep the Spec they froze.

Workflow evals specs validate

Validate an unsaved Spec: compile diagnostics plus derived ground-truth requirements. Saves nothing.

Workflow evals test

Score a Spec on a few examples whose outputs you already have, the way an Eval Run would. Use it as a quick check of a draft Spec or BindingSet before saving it or starting a Run, and to find why a check fails. Get each output by running the Workflow on the image (workflows_run) or the model (models_infer) first; that run uses credits like any other, so one image is usually enough. Scoring a whole set is an Eval Run's job. The ground truth must come from the user or approved Cases, never from the model's own output. Scoring runs nothing and saves nothing. Returns per example and check an outcome: passed, failed, scored (no pass rule), skipped (check not applicable), or unevaluable. Unevaluable is not a low score: its diagnostic names the binding path to fix, what the output holds there (availableFields) and often a suggestedPath. A detection output must be bound to its list of objects (`.predictions`), not the {image, predictions} result around it. Per check it also returns outcome counts and the engine aggregate over the scored examples. Fix bindings with workflow_evals_bindings_suggest / workflow_evals_bindings_validate.

Workflow evals update

Update an Eval under optimistic concurrency. Omitted fields are preserved; ``clear_fields`` sets fields to null. The response re-derives ``draft``/``ready``. An authoring Workflow with unmapped outcome check outputs stays ``draft`` with ``missing_bindings`` diagnostics; supply its output mappings in ``subject_bindings``. After validating one saved Workflow's BindingSet, send ``subjects`` with its Workflow document ID as both ``workflowId`` and ``subjectKey``, ``subject_bindings`` keyed by that ID, and ``server_configuration`` matching the Run server before starting a Run. Existing Runs never change.

Workflow manual approval gate get

Read approval rules and their configured members or roles.

Workflow manual approval gate remove

Remove approval rules. Requires a person with Manage Workflow Deploy Gates.

Workflow manual approval gate set

Set who may approve versions. Requires a person acting with Manage Workflow Deploy Gates. Raw API keys cannot change approval rules. Every named member or role must have Manage Workflows permission. One eligible approval passes the gate; one rejection rejects it. A change invalidates decisions under old rules.

Workflows create

Create and save a new Workflow in the workspace. Use agent_chat for natural-language creation requests, including simple detection goals. It builds and validates through the Roboflow in-app agent. This low-level tool saves an explicit definition supplied by the user or an existing integration; it does not build or validate it. Validate that config with workflow_specs_validate before saving. Do not use this as a fallback after an agent build or validation failure. Validation supports OAuth and API-key connections with required permissions. Once saved, execute the published workflow by URL slug with workflows_run. Saving does not test inference. Returns the created workflow including its document ID. Save this ID: it is required for workflows_update.

Workflows delete

Delete a saved Workflow, moving it to the workspace Trash. This is a soft delete: the workflow stays in the Trash for 30 days and can be restored with ``trash_restore_workflow`` using the workflow's document id from the delete response or ``trash_list``. After 30 days it is permanently removed.

Workflows get

Get a saved workflow. Use draft=true before editing its current draft. An enrolled workflow returns workflow.branchSave with its editable config. Pass that exact receipt to workflows_update or workflow_versions_save. If the branch changes concurrently, reload and reconcile your edit; never obtain a newer receipt solely to make a stale edit overwrite it.

Workflows list

List saved workflows in the current workspace. Returns up to ``limit`` workflows plus ``total``, the full workspace workflow count. Page with ``offset`` when ``total`` exceeds ``limit``.

Workflow specs run

Execute a Workflow from an inline JSON definition. Unlike ``workflows_run`` which runs a saved workflow by ID, this tool accepts a full workflow JSON spec and executes it directly. Useful for testing workflows before saving them, or for running a draft without publishing it. Validate the definition with ``workflow_specs_validate`` before running it; invalid specifications fail at execution time with less actionable serverless errors. IMPORTANT: Images must be public URLs or base64-encoded data. Local file paths do NOT work — the API runs remotely and cannot access your filesystem. Workflow blocks may send data to external services or change existing records. Execution therefore requires the same care as those configured actions. Returns workflow outputs as defined by the workflow's output blocks.

Workflow specs validate

Validate a Workflow JSON definition without executing it. Check whether a workflow definition is syntactically and semantically correct before saving or running it. Example workflow definition — detects objects, enlarges bounding boxes, crops, runs a second detection filtering for dogs, and classifies the breed only when exactly one dog is found: .. code-block:: json { "version": "1.0", "inputs": [ {"type": "WorkflowImage", "name": "image"} ], "steps": [ { "type": "ObjectDetectionModel", "name": "first_detection", "image": "$inputs.image", "model_id": "yolov8n-640" }, { "type": "DetectionsTransformation", "name": "enlarging_boxes", "predictions": "$steps.first_detection.predictions", "operations": [ {"type": "DetectionsOffset", "offset_x": 50, "offset_y": 50} ] }, { "type": "Crop", "name": "first_crop", "image": "$inputs.image", "predictions": "$steps.enlarging_boxes.predictions" }, { "type": "ObjectDetectionModel", "name": "second_detection", "image": "$steps.first_crop.crops", "model_id": "yolov8n-640", "class_filter": ["dog"] }, { "type": "ContinueIf", "name": "continue_if", "condition_statement": { "type": "StatementGroup", "statements": [ { "type": "BinaryStatement", "left_operand": { "type": "DynamicOperand", "operand_name": "prediction", "operations": [{"type": "SequenceLength"}] }, "comparator": {"type": "(Number) =="}, "right_operand": { "type": "StaticOperand", "value": 1 } } ] }, "evaluation_parameters": { "prediction": "$steps.second_detection.predictions" }, "next_steps": ["$steps.classification"] }, { "type": "ClassificationModel", "name": "classification", "image": "$steps.first_crop.crops", "model_id": "dog-breed-xpaq6/1" } ], "outputs": [ { "type": "JsonField", "name": "dog_classification", "selector": "$steps.classification.predictions" } ] } Key patterns shown above: - ``$inputs.<name>`` references a workflow input. - ``$steps.<step_name>.<output>`` references another step's output. - ``ContinueIf`` enables conditional branching based on runtime values. - Steps can chain: detect → transform → crop → detect → classify. Returns validation status. A valid workflow returns ``{"status": "ok"}``. An invalid one returns error details.

Workflows preview

Show a saved Workflow's results on one workspace image or video, in an interactive player. Use this when the user wants to see a Workflow's output images, values and JSON on their own media. Each call runs the Workflow and spends credits; a video runs as a job on a clip of 60 s at most. Sink blocks (webhooks, uploads, notifications) run unless disable_sinks is true. Only Workflows with exactly one image input can be previewed; the platform refuses others before running, and the refusal is returned. For usage guidance, read skill://roboflow-apps/workflow-preview/SKILL.md.

Workflows run

Execute a saved Workflow on one or more images. Runs a previously created Workflow against the provided images on the Roboflow serverless infrastructure. This always hits the latest **published** version of the workflow, never an unpublished draft. Images are processed synchronously; calls with many images take proportionally longer. Workflow blocks may send data to external services or change existing records. Execution therefore requires the same care as those configured actions. Returns workflow outputs as defined by the workflow's output blocks.

Workflows update

Update an existing saved Workflow's name and definition, preserving its URL. Use agent_chat for natural-language edits so the Roboflow in-app agent builds and validates the change. This low-level tool is for an explicit definition supplied by the user or an existing integration. Validate the config with workflow_specs_validate before updating. Validation and execution support OAuth and API-key connections with the required permissions. Block types and their schemas are in the roboflow://workflows/blocks resources. Use workflows_get with draft=true to retrieve the editable workflow and its branchSave receipt, then modify the returned config. Pass the same receipt as branch_save. Branch saves stay as drafts and do not publish. Keep the existing name when saving a branch; metadata changes are separate. If the branch head has changed, reload and reconcile before retrying. A Workflow with deploy gates rejects direct publishing. On that rejection, save the definition with workflow_versions_save. Run workflow_version_deploy_gates_run only for Eval gates. For manual approval, read workflow_version_approval_get and have an eligible person decide in the Roboflow app. Poll workflow_version_deploy_gates_get and call workflow_version_deploy only when publishable is true. Publishing a new version can stage Workflow pins on production devices for approval. Do not assume a successful publish changed their live config; check each device's ``devices_get_config.configProposal``. MCP cannot approve a proposal.

Workflow version approval get

Read a version's approval status, decision, and eligible approvers.

Workflow version approvals list

Read approval decisions and review requests for all versions, newest first.

Workflow version deploy

Publish a saved version. Requires Publish Workflows permission and version history. A gated version is refused until every gate passes. Manual approval decisions are made by eligible people in the Roboflow app; this tool cannot approve. Publishing may stage Workflow pins on production devices for approval. A successful publish does not mean those devices changed live configuration. Check each affected device's devices_get_config.configProposal. MCP cannot approve a device config proposal.

Workflow version deploy gates get

Read all gate verdicts and publishable for a saved version. Poll after starting checks.

Workflow version deploy gates run

Start all checks for this version. Requires Run Workflow Evals permission. An Eval check can run metered inference. The response is pending, not a passed verdict. Poll workflow_version_deploy_gates_get until publishable is true or a gate fails. A replay with the same key returns the check it started. A version with only a manual approval gate does not need this call.

Workflow versions save

Save a draft version without publishing, even in Auto-publish mode. For a non-branched Workflow, the returned version.id identifies the candidate for checks and deployment. A missing Idempotency-Key is generated and returned as idempotencyKey. For a branched workflow, read the editable draft with workflows_get and pass its branchSave receipt as branch_save. The receipt's saveId is used as the idempotency key. Saves do not publish. Merge a named branch into Main before publishing; a receipt with branchId='main' already saves Main. If the branch head changed, reload and reconcile your edit rather than replacing the receipt on a stale edit.

Workspace announcements create

Schedule a banner announcement that every member of the workspace sees. Confirm the text and window with the user before calling: the banner reaches everyone in the workspace as soon as its window opens. Times are ISO-8601 with an explicit offset, e.g. ``2026-09-03T09:00:00-04:00``. A window lasts 5 minutes to 365 days and may not overlap another announcement; an overlap fails with 409 and names the conflicting announcement and its window, so pick a free window or update the other announcement. Returns ``{ announcement, start_at_clamped, dismissals_reset }``. When ``start_at_clamped`` is true the start was in the past and was moved to now; tell the user.

Workspace announcements delete

Delete an announcement. A live banner disappears for everyone right away. The announcement drops out of workspace_announcements_list and cannot be restored through MCP. An unknown or already deleted id answers 404.

Workspace announcements list

List the workspace's scheduled, live and past announcements, newest start first. Returns ``{ announcements: [{id, message, starts_at, ends_at, timezone, status, lifecycle, revision, created_at, created_via, updated_at, updated_via}], next_cursor }``. ``status`` is ``active`` (showing now), ``upcoming`` or ``previous``. ``next_cursor`` is null on the last page. Deleted announcements are not listed. Requires permission to manage workspace announcements and a plan that includes them; otherwise the platform answers 403.

Workspace announcements update

Change an announcement's text, window or display timezone. Only the fields you pass change; pass at least one. The previous text is replaced and cannot be recovered. The same window rules as workspace_announcements_create apply, including the 409 on overlap. Returns ``{ announcement, start_at_clamped, dismissals_reset }``. Changing the message or start shows the banner again to everyone who dismissed it (``dismissals_reset`` true); changing only the end or timezone does not. Tell the user when either flag is true.
Maak verbinding

Voeg Roboflow MCP toe aan je Slack in twee minuten.

Geen workflows om op te zetten. Zet de tools aan die je al gebruikt en je agent gaat aan de slag.
Toevoegen aan Slack
1

Voeg Sokko toe aan Slack

Eén klik vanuit de Slack-marketplace. Je hele team krijgt Sokko in één keer.
Composio
GitHub
Supabase
Firecrawl
Tavily
Bitbucket
Sentry
Google Maps
2

Verbind je tools

Sokko werkt met meer dan 1.000 apps en elke MCP-server.
Martin
9:53 AM
@Sokko
Wat kun je doen met Roboflow MCP?
3

Zet Sokko aan het werk

@vermeld Sokko in elk kanaal en hij gaat aan de slag. Minuten, geen weekend.

Vragen, beantwoord.

Sokko is een AI-assistent die in je Slack leeft. Verbind je apps, vraag in gewone taal wat je nodig hebt, en Sokko neemt het werk uit handen.

Meld je aan bij Sokko, vraag Sokko om verbinding te maken met Roboflow MCP en keur de verbinding goed wanneer daarom wordt gevraagd. Daarna kun je Sokko altijd vragen om dingen te doen in Roboflow MCP.

Nee. Er valt niets te bouwen of in te stellen. Je vraagt het Sokko in Slack net zoals je een collega zou vragen, en Sokko doet de rest.

Ja. Vraag het één keer en vertel Sokko wanneer hij het moet herhalen, bijvoorbeeld elke maandag om 9 uur, en het wordt een routine die zonder jou draait.

Gegevens in Roboflow MCP lezen en er actie op ondernemen, en workflows starten wanneer daar iets verandert. Vertel Sokko welk resultaat je wilt en het doet de rest.

Ja. Sokko verbindt met 1.000+ apps en elke MCP-server, dus je kunt in één verzoek taken vragen die Roboflow MCP en de rest van je stack omvatten.

Wat doet je eerste agent?

Maak een agent, koppel je tools en geef hem een taak. Je eerste 3 dagen zijn gratis, met $5 aan AI-tegoed om te beginnen.