Skip to content
Proud to collaborate with Microsoft for Startups

failguard.create_kb ​

Create Bedrock KB for FailGuard project (DAG step)

DAG step: create Bedrock Knowledge Base for a FailGuard project. Plugin: create_failguard_kb(project). If missing, no-op when create_s3 already ran full provision.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-failguard
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
project_uuidstringYes——
organization_uuidstringYes——
workflow_run_idstringNo——
s3_createdbooleanNo——
knowledge_base_refstringNo——
bedrock_data_source_refstringNo——
resourcesjsonNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
project_uuidstringNo——
organization_uuidstringNo——
workflow_run_idstringNo——
s3_createdbooleanNo——
knowledge_base_refstringNo——
bedrock_data_source_refstringNo——
resourcesjsonNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "failguard.create_kb",
  "initial_data": {
    "project_uuid": "value",
    "organization_uuid": "value"
  }
}