Estimate Template

Return per-1,000-character pricing for a visible template snapshot.

Authentication

AuthorizationBearer
Clerk JWT token
OR
AuthorizationBearer

Onepin live API key (op_live_...). Test and public keys are reserved in Phase 1.

Path parameters

template_idstringRequiredformat: "uuid"

Headers

X-Workspace-Idstring or nullOptional

Response

Successful Response
dataobject

Per-unit pricing guide for a visible template snapshot.

Templates do not contain the caller’s final script. Costs are therefore quoted for a fixed input-character unit plus fixed workflow overhead; cloned workflows still use EstimateResponse once real script text exists.

metaobject

Errors

422
Unprocessable Entity Error