SDK

Packages for Go, JavaScript, and Python.

Use the Failior SDK when you want the tracked graph flow already packaged. For C++, C#, or anything custom, use the raw ingress request shown below.

Downloads

SDK packages

Each package follows the same graph, tracker, and packet flow as the Go SDK.

Go package

failiorsdk for Go

Use the native Go package directly in your service code.

Import failior/backend/sdk/failiorsdk
JavaScript package

failiorsdk for JavaScript

Package wrapper for Node or any runtime with fetch support.

Entry require("failiorsdk")
Python package

failiorsdk for Python

Lightweight package with no runtime dependency beyond Python itself.

Import from failiorsdk import track
Raw request

Ingress format

Use this directly for C++, C#, or any service where you do not want the packaged SDK.

POST https://api.failior.com/ingest Content-Type: application/json X-Ingress-Key: <optional-ingress-key>
{
  "did_error": false,
  "graph_id": "graph-123",
  "node_id_list": ["api", "db"],
  "timestamp": "2026-03-24T15:04:05Z"
}
Examples

Language snippets

Go, JavaScript, and Python use the package. C++, C#, and Generic use the raw request.

package main

import (
  "context"
  "log"

  "failior/backend/sdk/failiorsdk"
)

func main() {
  tracker := failiorsdk.Track(context.Background(), "graph-123")
  tracker.Node("api")
  tracker.Node("db")
  tracker.End(nil)
  if err := tracker.Err(); err != nil {
    log.Fatal(err)
  }
}