Skip to main content
POST
Preview a resolved workflow (Beta)

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