For the complete documentation index, see llms.txt. This page is also available as Markdown.

워크플로 실행하기

명확한 버전 및 싱크 동작과 함께 Cloud Streaming 소스에서 워크플로를 미리 보고, 배포하고, 업데이트하고, 중지하세요.

다음의 워크플로 실행 연결된 소스에서 실시간 동영상을 예측, 주석이 추가된 동영상, 후속 작업으로 변환합니다. 초안을 테스트할 때는 제한된 미리보기를 선택하고, 시청자가 없어도 처리를 계속하려면 배포를 선택하세요.

전체 첫 실행 과정은 빠른 시작 가이드 를 참조하세요. 미리보기와 배포 모두 처리에 크레딧을 사용합니다.

웹 앱

초안 미리보기

저장된 워크플로를 열고 "실행"을 클릭한 다음, 연결된 스트림이나 임시 웹캠 또는 휴대폰 세션을 선택하세요. 편집기에서 "싱크"가 켜져 있을 수 있습니다. 테스트 중 외부 시스템에 기록하지 않아야 한다면 끄세요.

Workflow editor with a stream preview and JSON output.
실행을 클릭하면 편집기에서 워크플로를 테스트하고 동영상과 구조화된 출력을 표시합니다.

게시된 워크플로 배포

"배포" → "클라우드 스트리밍"을 열고 소스를 선택한 다음 "워크플로 실행"을 선택하세요. 또는 워크플로 편집기에서 "워크플로 사용" → "클라우드 스트리밍"으로 시작할 수 있습니다. 주석이 추가된 동영상을 보려면 "시각적 미리보기 출력"에서 이미지 출력을 선택하세요. JSON만 출력하는 워크플로는 이미지 출력 없이 실행되지만 동영상은 생성하지 않습니다. 예상 비용을 확인하고 "처리 시작"을 클릭하세요.

Use Workflow dialog with Cloud Streaming selected and available sources.
워크플로 사용을 선택하면 클라우드 스트리밍 배포 옵션이 열립니다. 표시된 가격은 예시입니다.

앱에서 워크플로의 처리 리소스를 선택할 수 있습니다. 예상 비용은 지속적으로 실행되는 배포의 고정 비용이 아닙니다. 자세한 내용은 가격 및 한도.

실행 중인 미리보기 승격

앱에 실행 중인 미리보기를 배포하라는 메시지가 표시되면 결제 확인 내용을 검토하고 계속 진행하세요. 미리보기는 재시작 없이 배포로 계속 실행되며, 해당 소스의 기존 배포도 계속 실행됩니다. 유지되는 항목과 승격 대상이 되는 미리보기는 승격 을 참조하세요.

Deploy this stream confirmation explaining continued billing and preserved Workflow settings.
배포를 확인하기 전에 지속적인 처리와 결제 내용을 검토하세요. 표시된 가격은 예시입니다.

워크플로 변경 사항 적용

워크플로를 게시해도 실행 중인 배포는 변경되지 않습니다. 게시한 다음 배포를 재시작하거나, 배포를 중지하고 새 실행을 시작하세요. 자세한 내용은 재시작 동작 및 재시작 제어.

실행 중지 또는 교체

"처리 중지"를 클릭하고 확인한 다음 작업이 중지될 때까지 기다리세요. 플레이어를 닫거나 페이지를 떠나도 배포 또는 요금 청구는 중지되지 않습니다. 배포를 교체한 후에는 새 작업이 실행되고 이전 작업은 중지되었는지 확인하세요. 모든 시작 경로가 해당 소스에서 다른 작업을 취소하는 것은 아닙니다.

워크플로 수명 주기

미리보기는 시청하는 동안 테스트용 초안을 실행합니다. 배포는 시청자가 없어도 게시된 워크플로를 계속 실행합니다. 아래 각 작업에 따라 실행되는 워크플로 버전과 런타임 상태의 유지 여부가 결정됩니다.

작업
워크플로 버전
실행 및 싱크

초안 미리보기

제공된 초안 스냅샷

별도로 실행되는 제한된 작업입니다. 명시적으로 활성화하지 않는 한 에이전트 미리보기에서는 기본적으로 싱크가 비활성화됩니다.

영구 게시 할당

배포 생성 시 고정된 게시 버전

새 런타임 상태와 게시된 싱크 설정을 사용합니다.

미리보기 승격

실행 중인 미리보기의 정확한 스냅샷

동일한 실행과 상태를 유지합니다. 비활성화된 싱크는 계속 비활성화됩니다. 게시하거나 재시작하지 않습니다.

일반 재시작

최신 게시 버전

입력 및 설정을 유지한 채 새로 실행합니다. 런타임 상태는 초기화됩니다.

유료 검증 미완료 재시작

테스트한 스냅샷 및 구성

새로 실행하고 검증 진행 상황을 이어갑니다. 수정 사항을 적용하려면 새 실행을 사용하세요.

GPU 메모리 재시도

실패한 스냅샷

선택한 리소스에서 새로 실행합니다. 상태는 초기화됩니다.

자동 복구

배포에 고정된 스냅샷

새 실행 세대입니다. 상태 저장 블록이 초기화되며, 복구가 대기하거나 차단될 수 있습니다.

유한 업로드와 비영구 저장된 Workflow 작업은 지속형 배포의 생성 시점 고정 버전을 사용하지 않고, 작업이 할당될 때 게시된 구성을 확인합니다. 이러한 경로를 지속적 배포의 버전 동작을 추론하는 데 사용하지 마세요.

미리보기

미리보기는 게시하지 않고 초안을 실행하며, 동일한 소스에서 배포와 함께 실행할 수 있습니다. 같은 소스에서 동일한 Workflow의 새 미리보기를 시작하면 이전 미리보기는 대체될 수 있지만, 팀원의 배포는 대체되지 않습니다. 소유자나 시청자가 유휴 상태가 되거나, 미리보기를 중지하거나, 한 시간이 지나면 미리보기가 종료됩니다. 임시 미리보기는 브라우저 게시자의 연결이 끊어져도 종료됩니다. 무인 프로덕션 처리에는 미리보기를 사용하지 마세요.

배포

새 배포를 만들면 생성 시점에 Workflow의 게시된 버전이 고정됩니다. 게시되지 않은 편집기 변경 사항은 실행되지 않으며, 입력은 해당 버전과 일치해야 합니다. 이후 Workflow를 저장하거나 게시해도 배포를 다시 시작하기 전까지는 배포 내용이 바뀌지 않습니다.

배포로 전환

배포로 전환하면 실행 중인 미리보기를 다시 시작하지 않고 배포로 바꿉니다. 현재 실행 중인 Workflow 스냅샷, 매개변수, 할당, 출력, 런타임 상태 및 싱크 설정이 그대로 유지되고, 현재 요금으로 계속 청구됩니다. 초안을 게시하거나, 최신 게시 버전을 불러오거나, 비활성화된 싱크를 다시 켜지는 않습니다. 소스의 다른 작업은 중지하지 않으므로, 하나만 실행하려던 경우 기존 배포가 있는지 확인하세요.

다음 조건을 모두 충족하는 경우에만 미리보기를 배포로 전환할 수 있습니다.

  • 미리보기를 시작한 멤버여야 합니다. 기록된 멤버가 없는 API 키 미리보기는 앱에서 배포로 전환할 수 없습니다.

  • 저장된 Workflow와 지속형 카메라 소스를 사용해야 합니다. 임시 웹캠 및 휴대폰 세션은 배포로 전환할 수 없습니다.

  • 중지, 재시작 또는 리소스 변경이 진행 중이지 않아야 합니다.

재시작

재시작하면 최신 게시 Workflow를 불러오고 동일한 입력과 설정으로 새 실행을 시작합니다. 게시되지 않은 초안을 저장하는 것만으로는 충분하지 않습니다. 추적기, 카운터, 대기 시간 타이머 및 기타 메모리 내 상태는 초기화되며, 이전 실행이 중지되고 새 실행이 시작되는 동안 결과에 공백이 생깁니다. 이후 자동 복구에는 새로 고정된 버전이 사용됩니다.

다음 두 경우에는 이전 스냅샷이 유지됩니다.

  • 유료 백그라운드 검증이 끝나지 않은 실행을 재시작하면 테스트 중인 스냅샷과 설정이 유지되고 검증이 다시 시작됩니다. 다른 Workflow 콘텐츠나 입력을 테스트하려면 새 실행을 시작하세요. 검증이 완료되고 복구가 켜진 후 재시작하면 최신 게시 버전이 사용됩니다.

  • GPU 메모리 부족이 확인된 후 더 큰 GPU에서 재시도하면 검증이 끝난 뒤에도 실패한 스냅샷이 유지됩니다.

중지

작업 중지, 임시 세션 종료, 카메라 비활성화, 소스 삭제는 서로 다른 작업입니다. 처리를 끝내려면 작업을 중지하세요. 플레이어를 닫거나, 페이지를 떠나거나, 시청자 연결을 끊거나, 카메라를 분리하거나, 카메라 게시자를 중지해도 배포나 관련 요금은 중지되지 않습니다. 복구가 켜진 배포는 비디오가 다시 들어올 때까지 대기한 후 재개됩니다. 오래된 미리보기를 자동으로 정리해도 배포로 전환된 작업은 중지되지 않습니다. 카메라를 삭제하거나 제거하는 것은 Workflow를 업데이트하는 방법이 아닙니다.

에이전트 할당은 현재 배포를 대체할 수 있지만, 배포로 전환해도 다른 작업은 계속 실행됩니다. 배포를 대체할 때는 새 작업과 이전 작업의 최종 상태를 확인하세요.

Roboflow Agent

Agent에 소스를 선택하고 Workflow 초안을 미리보기로 실행하도록 요청하세요. Agent는 실시간 결과를 확인하고 활성 배포를 변경하지 않은 채 반복 개선을 도울 수 있습니다.

Agent stream preview with detected people and Deploy Stream above the composer.
Deploy Stream을 선택하기 전에 미리보기를 확인하세요.

적격한 미리보기를 계속 실행하려면 해당 미리보기를 배포해 달라고 명시적으로 요청하세요. Agent는 다른 버전을 게시하는 대신 배포로 전환합니다. 비활성 상태로 유지되는 싱크가 있다면 이를 포함해 지속 처리와 요금에 대해 설명해야 합니다. "Deploy Stream" 작업은 비디오 플레이어 바깥의 채팅 입력창 위에 표시됩니다.

다른 게시된 Workflow를 시작하려면 해당 저장된 Workflow를 카메라에 배포해 달라고 요청하세요. 이는 배포로 전환하는 것이 아니라 할당하는 작업입니다. Agent의 최신 편집 내용을 기존 배포에 적용하려면 배포를 업데이트해 달라고 명시적으로 요청하세요. 이 경로에서는 일치하는 초안을 게시하고 처리를 재시작하므로, 공백이 생기고 런타임 상태가 초기화됩니다.

중지할 때는 구체적으로 요청하세요. 중지할 배포 Workflow 또는 작업의 이름을 지정하세요. "미리보기 연결을 끊어 줘"는 시청 또는 임시 미리보기 활동을 끝내는 것이지, 관련 없는 지속 배포를 중지하는 것이 아닙니다.

HTTP API

작업을 만들려면 다음 권한이 있는 워크스페이스 API 키를 사용하세요. video-inference-job:create, workflow:read및 model:infer를 사용하세요. 읽기 작업에는 video-inference-job:read가 필요하며, 작업 제어 작업에는 해당 변경 권한이 필요합니다. 기기 또는 폴더에 한정된 자격 증명으로는 워크스페이스 전체 작업 제어를 수행할 수 없습니다. 자세한 내용은 API 인증.

을 참조하세요. 모든 API 요청은 사용자의 자격 증명으로 인증됩니다. API에는 재시작, 배포로 전환, 자동 크기 조정 또는 가격 확인 작업이 없습니다. 이러한 작업에는 웹 앱을 사용하세요. 앱 전용 필드(예: autoSize)가 포함된 요청은 거부됩니다.

Workflow 입력 및 출력 확인

작업을 시작하기 전에 저장된 Workflow에 필요한 입력과 반환되는 결과를 확인하세요. Workflow의 URL 슬러그를 workflowUrl로 전달하세요. URL 슬러그는 편집기 URL의 마지막 부분입니다(예: app.roboflow.com/YOUR_WORKSPACE/workflows/edit/YOUR_WORKFLOW_SLUG). 응답에서 outputs 항목 중 isImage: true 은 이미지 출력입니다. 주석이 추가된 동영상을 가져오려면 하나를 imageOutput 로 사용하세요. parameters 에는 workflowParameters에 전달할 이미지가 아닌 입력이 나열됩니다. degraded 가 true이면 목록이 불완전할 수 있으므로 실행 중인 작업의 출력을 확인하세요.

Inspect a Workflow interface

get

Inspect a saved Workflow before selecting imageOutput and workflowParameters. This does not start processing. Requires video-inference-job:read. Use a workspace API key or OAuth access token for the workspace in the path. Device-bound keys are not accepted.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

Query parameters
workflowUrlstring · min: 1Required

The saved Workflow's URL slug: the last part of its editor URL (ex: app.roboflow.com/YOUR_WORKSPACE/workflows/edit/YOUR_WORKFLOW_SLUG).

Example: YOUR_WORKFLOW_SLUG
Responses
200

Successful response.

application/json
degradedbooleanRequired

True when static analysis was used because interface discovery failed. In that case, isImage=false is not proof that the output is not an image.

get/{workspace}/video-sources/v1/workflow-interface
GET /{workspace}/video-sources/v1/workflow-interface?workflowUrl=YOUR_WORKFLOW_SLUG HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "outputs": [
    {
      "name": "label_visualization_output",
      "kinds": [
        "image"
      ],
      "isImage": true
    }
  ],
  "degraded": false,
  "parameters": []
}

작업 시작

멱등성 키 하나로 논리적 실행 하나를 생성하세요. 응답이 불확실한 경우 같은 요청을 재시도할 때만 해당 키를 재사용하세요. 소스, Workflow, 입력이 동일하더라도 새 실행에는 새 키를 사용하세요.

저장된 Workflow의 게시된 버전을 실행하려면 workflowUrl 을 보내거나, 인라인 사양을 스냅샷으로 실행하려면 workflowSpecification 을 보내세요. 아래 스키마에는 각 필드의 기본값과 허용 값이 나와 있습니다. API 미리보기에서는 Workflow 싱크가 자동으로 비활성화되지 않습니다. 시작하기 전에 사양의 부수 효과를 신중하게 설정하세요. 임시 소스는 미리보기만 지원합니다.

GPU를 선택하려면 processorSize 를 설정하세요. API 작업은 지정한 크기를 사용하며, 크기를 지정하지 않으면 Small(gpu-s-v1)을 사용합니다. 앱에서 시작하는 경우와 달리 Workflow에 따라 크기가 결정되지 않으며, GPU 메모리 오류가 발생해도 더 큰 GPU로 전환되지 않습니다. 크기를 지정해도 프레임 속도나 즉시 사용 가능한 용량이 보장되지는 않습니다.

Start a Workflow job

post

Starts metered processing. Send a new Idempotency-Key for one intentional run; retry uncertain responses with the same key, body and API key. Different keys can create separate billable jobs. A successful start can be queued or waiting, not yet running. API requests (authenticated with your API key) use the processorSize you send, or the default profile. The app's automatic sizing, automatic resizing and priced validation are not available through this API. Requires a workspace API key with video-inference-job:create, workflow:read and model:infer. OAuth access tokens, device-bound keys and folder-scoped keys cannot start jobs. The same admitted API key supplies execution authority.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

sourceIdstring · min: 1 · max: 256Required

Cloud Streaming source ID from the source list.

Pattern: ^[^/\\]+$
Header parameters
Idempotency-Keystring · min: 8 · max: 128Required

A unique key for one start attempt. Reuse the same key, request and credential after a lost response. Use a new key only for a new attempt.

Example: run-warehouse-camera-001Pattern: ^[A-Za-z0-9._:-]+$
Body
workflowUrlstring · min: 1 · max: 512Optional

Required unless you send workflowSpecification. The saved Workflow's URL slug in this workspace: the last part of its editor URL (ex: app.roboflow.com/YOUR_WORKSPACE/workflows/edit/YOUR_WORKFLOW_SLUG). The job runs the Workflow's published version. Send either workflowUrl or workflowSpecification, not both.

Example: YOUR_WORKFLOW_SLUG
workflowParametersobject · nullableOptional

Declared non-image inputs, fixed for this job's lifetime. Maximum JSON-encoded UTF-8 size: 256 KiB. Image inputs come from the source. Inspect workflow-interface for declared names and defaults. Job records expose only these key names, not the values.

imageOutputstring · min: 1 · max: 256 · nullableOptional

Optional. Name of the Workflow image output to publish when watched (ex: label_visualization_output). Find it with Inspect a Workflow interface. Null or omission leaves the default selection to the runtime. A JSON-only Workflow does not need an image output.

Example: label_visualization_output
modestring · enumOptional

Uploaded sources default to batch, processing every frame in order as fast as inference allows. stream uses real-time pacing and can drop frames under load. Non-uploaded sources always use stream, even if batch is requested.

Possible values:
purposestring · enumOptional

Optional. deployment keeps processing without a viewer until you stop it. preview is a bounded test run: it never recovers, ends when idle, and stops after one hour. Default: deployment for durable sources, preview for temporary sources. A temporary source accepts only preview. API-created previews cannot be promoted in the app.

Possible values:
previewWorkflowIdstring · min: 1 · max: 128 · nullableOptional

Saved Workflow identifier associated with a draft preview. This is provenance, not permission to promote or automatically replace another preview.

recoveryPolicystring · enumOptional

Optional. always makes a deployment wait and resume automatically after an interruption (ex: the source goes offline). none ends the job instead. Default: always for deployments on durable live sources where recovery is enabled, otherwise none. Uploaded files and temporary sources do not recover. A preview requires none. A persistent saved Workflow pins its published specification when created; nonpersistent saved Workflows resolve it at claim time.

Possible values:
tierstring · enumOptional

Optional. Processing tier. The only documented value is gpu, which is also the default.

Default: gpuPossible values:
processorSizestring · enumOptional

Optional. GPU profile: gpu-s-v1 (Small, 4 GiB GPU memory), gpu-m-v1 (Medium, 8 GiB) or gpu-l-v1 (Large, 16 GiB). Pick a larger profile for heavier Workflows; larger profiles cost more per hour. Default: gpu-s-v1 (Small). The source record's availableProcessorSizes lists the profiles you can use. API-created jobs are not sized from the Workflow and do not move to a larger profile after a GPU memory error, so send an explicit size. Availability can vary by source and cell.

Example: gpu-s-v1Possible values:
maxFpsnumber · max: 240 · nullableOptional

Optional. Processing rate cap in frames per second, greater than 0 and at most 240. Default: null, which adds no job-specific cap. This is not a throughput guarantee.

Example: 15
captureOptionsstring · min: 1 · max: 512 · nullableOptional

Optional ingest tuning in key;value|key;value format. Keys: rtsp_transport, buffer_size, max_delay, reorder_queue_size, stimeout, timeout, probesize, analyzeduration, fflags, flags. Each value contains 1-64 letters, digits, underscores, plus signs, dots or hyphens. Null uses runtime defaults.

Example: rtsp_transport;tcp
captureBufferSizeinteger · min: 1 · max: 1024 · nullableOptional

Optional capture queue depth. Null or omission uses the runtime default for the processing mode.

cellstring · nullableOptional

Optional processing cell allowed for this workspace and source. Omit it for server placement; do not infer a cell from a connector download host. An active or fixed source cannot move freely between cells.

Pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
processingEntrySurfacestring · enumOptional

Compatibility field. External calls are always recorded as api, regardless of this value. Omit it.

Possible values:
Responses
200

Identical request replayed under the same key and credential; returns the original job.

application/json
post/{workspace}/video-sources/v1/{sourceId}/jobs
POST /{workspace}/video-sources/v1/{sourceId}/jobs HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Idempotency-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 180

{
  "workflowUrl": "YOUR_WORKFLOW_SLUG",
  "imageOutput": "label_visualization_output",
  "purpose": "deployment",
  "recoveryPolicy": "always",
  "tier": "gpu",
  "processorSize": "gpu-s-v1",
  "maxFps": 15
}
{
  "job": {
    "id": "JOB_ID",
    "sourceId": "SOURCE_ID",
    "state": "running",
    "purpose": "deployment",
    "mode": "stream",
    "tier": "gpu",
    "processorSize": "gpu-s-v1",
    "workflowUrl": "YOUR_WORKFLOW_SLUG",
    "imageOutput": "label_visualization_output",
    "executionGeneration": 1,
    "cancelRequested": false
  }
}

작업 조회 및 처리 대기

반환된 작업 ID를 저장하고 상태를 조회하세요. 생성에 성공했다고 해서 모델이 로드되었거나 동영상 처리가 시작되었다는 뜻은 아닙니다. 일시적인 오류가 발생하면 제한된 횟수로 폴링 간격을 늘려 가며 작업이 실행되거나 최종 상태에 도달할 때까지 기다리세요. 시작 여부가 불확실할 때 새 작업을 시작해 해결하려 하지 말고 오류를 확인하세요.

List Workflow jobs

get

Lists workspace job records. This route does not expose source, processor or execution credentials. It does not accept source or state filters. Requires video-inference-job:read. Use a workspace API key or OAuth access token for the workspace in the path. Device-bound keys are not accepted.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

Responses
200

Successful response.

application/json
get/{workspace}/video-jobs/v1
GET /{workspace}/video-jobs/v1 HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "jobs": [
    {
      "id": "JOB_ID",
      "sourceId": "SOURCE_ID",
      "state": "running",
      "purpose": "deployment",
      "mode": "stream",
      "tier": "gpu",
      "processorSize": "gpu-s-v1",
      "workflowUrl": "YOUR_WORKFLOW_SLUG",
      "imageOutput": "label_visualization_output",
      "executionGeneration": 1,
      "cancelRequested": false
    }
  ]
}

Get a Workflow job

get

Read the current job without changing its state. Follow executionGeneration and successorJobId when observing replacement executions. A persistent waiting or blocked job still represents enabled intent until explicitly cancelled. Requires video-inference-job:read. Use a workspace API key or OAuth access token for the workspace in the path. Device-bound keys are not accepted.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

jobIdstring · min: 1 · max: 256Required

Job ID.

Pattern: ^[^/\\]+$
Responses
200

Successful response.

application/json
get/{workspace}/video-jobs/v1/{jobId}
GET /{workspace}/video-jobs/v1/{jobId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "job": {
    "id": "JOB_ID",
    "sourceId": "SOURCE_ID",
    "state": "running",
    "purpose": "deployment",
    "mode": "stream",
    "tier": "gpu",
    "processorSize": "gpu-s-v1",
    "workflowUrl": "YOUR_WORKFLOW_SLUG",
    "imageOutput": "label_visualization_output",
    "executionGeneration": 1,
    "cancelRequested": false
  }
}

실행 중일 때는 동영상과 결과를 가져오세요. 현재 작업 속도는 누적 지출액이 아니며, 최신 실시간 출력은 영구 보존되는 결과 기록이 아닙니다.

임시 미리보기 유지

임시 미리보기를 사용하려면 게시 소스 외에도 활성 소유자 리스가 필요합니다. 애플리케이션이 미리보기를 소유하는 동안 리스를 갱신하세요. 갱신해도 만료되었거나 최종 상태에 도달한 작업이 되살아나지 않으며, 세션이 지속 상태로 전환되거나 출력 감시 갱신을 대신하지도 않습니다.

Renew a temporary preview owner lease

post

Extends an active temporary-source preview's owner lease to at least two minutes from now, including while queued. It never revives an expired or stopped job and cannot extend the one-hour preview maximum. Keep this lease renewed while the temporary preview is in use; a video watch is a separate lease. Requires video-inference-job:create. Use a workspace API key or OAuth access token for the workspace in the path. Device-bound and folder-scoped credentials are not accepted.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

jobIdstring · min: 1 · max: 256Required

Job ID.

Pattern: ^[^/\\]+$
Responses
200

Successful response.

application/json
heldbooleanRequired

True if renewed; false if the job is expired, stopping or terminal. Stop using an expired job rather than assuming it was revived.

post/{workspace}/video-jobs/v1/{jobId}/hold-preview
POST /{workspace}/video-jobs/v1/{jobId}/hold-preview HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "held": true
}

작업 중지

취소를 요청한 다음 작업이 최종 상태에 도달할 때까지 조회하세요. 활성 프로세서가 중지하기 전에 취소 요청을 확인해야 할 수 있습니다. 명시적으로 취소하면 배포가 자동으로 복구되는 것을 방지할 수 있습니다.

Stop a Workflow job

post

Requests an explicit stop. Persistent intent is disabled; queued jobs can be cancelled immediately. Active processors learn of cancellation through status updates, so the response is not a guarantee that shutdown has already finished. Re-read the job and any replacement identified by successorJobId. Repeating cancellation does not start a new job. Requires video-inference-job:create. Use a workspace API key or OAuth access token for the workspace in the path. Device-bound and folder-scoped credentials are not accepted.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

jobIdstring · min: 1 · max: 256Required

Job ID.

Pattern: ^[^/\\]+$
Responses
200

Successful response.

application/json
post/{workspace}/video-jobs/v1/{jobId}/cancel
POST /{workspace}/video-jobs/v1/{jobId}/cancel HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "job": {
    "id": "JOB_ID",
    "sourceId": "SOURCE_ID",
    "state": "running",
    "purpose": "deployment",
    "mode": "stream",
    "tier": "gpu",
    "processorSize": "gpu-s-v1",
    "workflowUrl": "YOUR_WORKFLOW_SLUG",
    "imageOutput": "label_visualization_output",
    "executionGeneration": 1,
    "cancelRequested": false
  }
}

임시 카메라의 경우, Workflow 실행 하나만이 아니라 게시를 종료하려면 해당 세션도 중지하세요 .

마지막 업데이트

도움이 되었나요?