Skip to Content
문서SDK개요

SDK

Deplite SDK는 언어별 앱에서 API를 호출하거나 Agent를 실행할 때 사용해요.
이름으로 워크플로우를 실행하는 SDK 메소드는 Flutter에 제공돼요.
다른 SDK에서는 REST POST /v1/run/{agentName}/{workflowName}을 직접 호출해주세요.

SDK별 지원 기능

언어버전이름 기반 워크플로우 실행Embedded 기능
JavaScript / TypeScript0.1.0SDK 메소드 준비 중, REST 직접 호출Agent 이벤트·워크플로우·잡·파일 API
Android (Kotlin)0.2.0SDK 메소드 준비 중, REST 직접 호출호출 허용 선언, health heartbeat, 검증된 업데이트 파일
iOS (Swift)0.1.0SDK 메소드 준비 중, REST 직접 호출Agent 이벤트·워크플로우·잡·파일 API
Flutter (Dart)0.2.0Deplite.run(...) 제공Agent 이벤트·워크플로우·잡·파일 API

인증 모드

External은 API 토큰으로 Deplite를 호출하는 모드예요.
Embedded는 1회용 설치 코드로 등록한 앱이 Agent로 동작하는 모드예요.
자세한 비교는 인증 모드에서 확인해주세요.

Embedded 공통 모델

모델설명
Enrollment{ identity, privateKey } — 등록 결과
AgentIdentity{ agentId, organizationId, baseUrl, serverPublicKeyPem }
AgentEventDeploy · Revoke · SyncWorkflows · Ping · Unknown
DeployPayload{ jobId, workflowName, params?, ref?, issuedAt, nonce, force }
FileMeta{ id, bindingId?, jobId?, filename?, contentType?, size?, status?, ... }
CleanupRuleTtl(seconds) · Persistent · OnJobEnd
LogItem{ seq, stream, content, stepName?, level? }
JobResultrunning() · success() · failed() · timeout() · rejected()
WorkflowReport워크플로우 이름과 메타데이터

bindingId는 Deplite 관리 스토리지의 바인딩을 가리켜요.

REST API에서 실행하기

REST API는 어떤 언어에서도 사용할 수 있어요.
이름 기반 실행 요청과 응답 형식은 워크플로우 실행에서 확인해주세요.

관련 문서

최종 수정 일자: