Trivx AI Logo

🚀 Developer API

Powerful API for Developers

Build custom integrations and automate your DevOps workflows with our comprehensive API. RESTful endpoints with full CRUD operations and real-time webhooks.

Quick Start Example

example.js
import { TrivxClient } from '@trivx/sdk';

const client = new TrivxClient({
  apiKey: 'your-api-key'
});

// Create a deployment
const deployment = await client.deployments.create({
  name: 'my-app',
  image: 'my-app:latest',
  environment: 'production'
});

// Trigger a pipeline
await client.pipelines.trigger('pipeline-id');

Core Endpoints

GET/api/v1/deployments

List all deployments

Returns: Array of deployment objects
POST/api/v1/deployments

Create a new deployment

Returns: Deployment object
GET/api/v1/pipelines

List all CI/CD pipelines

Returns: Array of pipeline objects
POST/api/v1/pipelines/{id}/trigger

Trigger a pipeline execution

Returns: Execution object

Official SDKs

Node.js

Official JavaScript/TypeScript SDK

npm install @trivx/sdk

Python

Official Python SDK

pip install trivx-sdk

Go

Official Go SDK

go get github.com/trivx/go-sdk

API Features

RESTful Design

Clean, predictable REST API following industry standards

Rate Limiting

Built-in rate limiting to ensure fair usage and stability

Webhooks

Real-time notifications for deployment and pipeline events

Authentication

Secure API key-based authentication with role-based access

Ready to Build?

Get your API key and start integrating Trivx into your applications today.