FruxonDocs
AgentsRevisions

Previews the system blocks a published revision of the agent receives.

The author'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}/agents/{agent}/revisions/{revision}/systemBlocks
AuthorizationBearer <token>

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

In: header

Path Parameters

agent*string

The unique identifier of the agent.

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/agents/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
}