Skip to main content
POST
Preview a resolved workflow (Beta)
Beta Resolve a template using the supplied parameters without executing research. The response includes the prompt, research strategy, report format and other resolved configuration. Use preview to catch missing inputs and check instructions before a paid run. A successful preview validates template resolution, not the factual quality of the report that a future run will produce.

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at platform.valyu.ai.

Path Parameters

slug
string
required

The workflow slug.

Body

application/json

Resolve a workflow template against supplied parameters without running it.

workflow_params
object

Values for the workflow's template variables, keyed by variable key.

Example:
workflow_version
integer

Version to preview. Defaults to the current version.

Required range: x >= 1
Example:

1

Response

Resolved configuration.

The resolved configuration a run with these parameters would use.

workflow
object
required

Which workflow and version were resolved.

resolved
object
required

The resolved DeepResearch configuration.

estimated_credits
number | null

Estimated credit cost of a run, when available.

Example:

null