LoopLoop
API Reference

API Reference

Complete REST API reference for the Loop autonomous improvement engine. Manage issues, signals, templates, dispatch, and more.

API Reference

The Loop API is a REST API that exposes every capability of the engine — ingesting signals, managing issues, dispatching work to agents, and monitoring system health.

Base URL

EnvironmentURL
Productionhttps://api.looped.me
Local developmenthttp://localhost:4242

Authentication

All /api/* endpoints require a Bearer token in the Authorization header:

curl -H "Authorization: Bearer <LOOP_API_KEY>" \
  https://api.looped.me/api/issues

Webhook endpoints (/api/signals/github, /api/signals/sentry, /api/signals/posthog) use provider-specific signature verification instead of Bearer tokens.

Full authentication guide

See Authentication for setup instructions, webhook signature verification, and key rotation.

Response Format

List endpoints return paginated results:

{
  "data": [{ "id": "...", "...": "..." }],
  "total": 42
}

Single-item endpoints return the resource directly:

{
  "data": { "id": "...", "...": "..." }
}

Pagination

List endpoints accept page and limit query parameters:

ParameterDefaultDescription
page1Page number (1-indexed)
limit20Items per page

Error Format

Errors return a standard shape with an appropriate HTTP status code:

{
  "error": "Human-readable error message"
}

Common status codes: 400 validation error, 401 missing or invalid token, 404 resource not found, 500 internal error.

Endpoints