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