FruxonDocs
ApiWorkflowrevision

Previews the system blocks a published Workflow revision's agent steps receive.

Each agent step's prompt plus every block the platform adds around it, in the order the model receives them, for the given kind of run. Same shape as `draft:previewSystemBlocks`.

GET
/v1/tenants/{tenant}/workflows/{workflow}/revisions/{revision}/systemBlocks
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

workflow*string

The unique identifier of the Workflow.

revision*string

The revision identifier.

tenant*string

The tenant identifier

Query Parameters

runKind?string

The kind of run to preview: CONVERSATION, SCHEDULED, CONSULT or SUB_TASK. Omit it for the agent's own default.

Value in"UNSPECIFIED" | "CONVERSATION" | "SCHEDULED" | "CONSULT" | "SUB_TASK"

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/workflows/string/revisions/string/systemBlocks"
{
  "agentId": "string",
  "base": {
    "kind": "PAYLOAD",
    "baseRevision": 0,
    "version": 0
  },
  "runKind": "CONVERSATION",
  "runKinds": [
    {
      "kind": "CONVERSATION",
      "applicable": false,
      "reason": "string",
      "recentRuns": 0,
      "sameBlocksAs": "CONVERSATION"
    }
  ],
  "defaultRunKind": "CONVERSATION",
  "managed": false,
  "error": {
    "message": "string",
    "kind": "string"
  },
  "steps": [
    {
      "stepId": "string",
      "stepName": "string",
      "blocks": [],
      "totals": {
        "authorChars": 0,
        "platformChars": 0,
        "platformInstances": 0
      },
      "warnings": []
    }
  ]
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}