🚀 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/deploymentsList all deployments
Returns: Array of deployment objects
POST
/api/v1/deploymentsCreate a new deployment
Returns: Deployment object
GET
/api/v1/pipelinesList all CI/CD pipelines
Returns: Array of pipeline objects
POST
/api/v1/pipelines/{id}/triggerTrigger a pipeline execution
Returns: Execution object
Official SDKs
Node.js
Official JavaScript/TypeScript SDK
npm install @trivx/sdkPython
Official Python SDK
pip install trivx-sdkGo
Official Go SDK
go get github.com/trivx/go-sdkAPI 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.