API Reference

Build powerful integrations with Planwright's comprehensive REST API.

Quick Start
curl -X POST https://api.planwright.ai/v1/agents/create \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "MyAgent", "type": "code-review"}'
Authentication

All API requests require authentication via Bearer token. Get your API key from your dashboard settings.

Authorization: Bearer YOUR_API_KEY
Available Endpoints
POST
/api/v1/agents/create

Create a new AI agent with specified capabilities

GET
/api/v1/agents/{id}/status

Get the current status and metrics of an agent

POST
/api/v1/tasks/submit

Submit a new task for AI processing

GET
/api/v1/analytics/team

Retrieve team analytics and performance metrics

POST
/api/v1/code/review

Submit code for AI-powered review

GET
/api/v1/debt/score

Get technical debt score for your codebase

SDKs & Libraries

Official SDKs available for popular languages and frameworks.

Webhooks

Receive real-time notifications when events occur in your Planwright workspace.

Configure Webhooks