Developers

    Documentation

    Everything you need to integrate Trussed into your AI infrastructure.

    API Reference

    POST
    /v1/chat/completions

    Send a chat completion request through Trussed's control plane.

    GET
    /v1/policies

    List all active policies for your organization.

    POST
    /v1/policies

    Create a new governance policy.

    GET
    /v1/usage

    Retrieve usage metrics and cost data.

    GET
    /v1/logs

    Query request logs with filtering and search.

    POST
    /v1/guardrails

    Configure input and output guardrails.

    SDKs & Libraries

    Python

    Official Python SDK for Trussed AI.

    pip install trussed

    Node.js

    JavaScript/TypeScript SDK for Node.js applications.

    npm install @trussed/sdk

    Go

    Go client library for server-side integrations.

    go get github.com/trussed-ai/go-sdk

    REST API

    Use the REST API directly from any language.

    curl https://api.trussed.ai/v1/...