Connectors

Connectors are integrations with external services (GitHub, Stripe, Google Drive, etc.). They can use OAuth or API keys for authentication. The daemon caches health checks for 30 seconds.

GET/connectorAuthenticated

List all connectors with health status.

curl http://127.0.0.1:7741/connector \
  -H "Authorization: Bearer $TOKEN"
200Response
{
  "ok": true,
  "data": [
    {
      "name": "github",
      "type": "oauth",
      "status": "healthy",
      "connected": true
    },
    {
      "name": "stripe",
      "type": "api_key",
      "status": "healthy",
      "connected": true
    }
  ]
}
GET/connector/:nameAuthenticated

Get the status of a specific connector.

200Response
{
  "ok": true,
  "data": {
    "name": "github",
    "type": "oauth",
    "status": "healthy",
    "connected": true,
    "scopes": ["repo", "user"]
  }
}
POST/connector/:name/callAuthenticated

Execute a method on a connector.

ParameterTypeRequiredDescription
methodstringYesMethod path (e.g. "charges.list", "repos.list")
paramsobjectNoMethod parameters
curl -X POST http://127.0.0.1:7741/connector/stripe/call \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"method": "charges.list", "params": {"limit": 5}}'
200Response
{
  "ok": true,
  "data": {
    "result": [...]
  }
}