Back to docs

API Reference

Programmatic interfaces, REST endpoints, and integration APIs for Zod.

REST API

Zod exposes a REST API for integrating with your development workflow. All endpoints are versioned and require authentication.

GET /v1/agents — List all agents
POST /v1/agents — Create a new agent
GET /v1/agents/:id — Get agent details
DELETE /v1/agents/:id — Delete an agent
POST /v1/chat/completions — Send a message
POST /v1/files/index — Index a file for context

Authentication

All API requests require an API key passed via the Authorization header.

Authorization: Bearer <your-api-key>

SDKs & Client Libraries

Official client libraries for popular languages:

TypeScript npm install @zod/sdk
Python pip install zod-sdk
Go go get github.com/zod/sdk-go

Webhooks

Subscribe to events such as agent completion, review findings, and deployment status. Configure webhook URLs in your account settings.

POST /webhooks/agent.completed
POST /webhooks/review.finished
POST /webhooks/deploy.status

Rate Limits

API requests are rate-limited per API key. Limits vary by plan. Rate limit headers are included in every response. Refer to the X-RateLimit-* headers for current usage.