Skip to main content
GET
The workflow behind a job — authoring version if pinned, executed graph otherwise

授权

Authorization
string
header
必填

Authorization: Bearer <api-key> — account-scoped API keys on Cloud and serverless. Self-hosted accepts unauthenticated requests by default and can be configured with a static bearer token.

路径参数

id
string
必填

响应

The workflow graph.

The workflow behind a job. See GET /api/v2/jobs/{id}/workflow's description for exactly when format is save vs api.

workflow
object
必填

The workflow, verbatim, in the shape format says.

format
enum<string>
必填

Discriminates the workflow field's shape. save: the original authoring workflow JSON, at the version pinned to the job. api: the executed API-format prompt graph.

可用选项:
save,
api