Skip to main content

Create a Goal

title
string
required
Short title for the goal
description
string
Detailed description of the objective
curl -X POST http://localhost:8000/goals \
  -H "Content-Type: application/json" \
  -d '{
    "title": "User Authentication",
    "description": "Add JWT-based auth with login/logout endpoints"
  }'
Response:
{
  "id": "uuid-here",
  "title": "User Authentication",
  "description": "Add JWT-based auth with login/logout endpoints",
  "status": "active",
  "created_at": "2025-01-01T00:00:00Z"
}

List Goals

curl http://localhost:8000/goals

Get a Goal

curl http://localhost:8000/goals/{id}

Generate Tickets from a Goal

curl -X POST http://localhost:8000/goals/{id}/generate-tickets
This triggers the AI ticket generation service, which analyzes the goal and creates actionable tickets.