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
/connectorAuthenticatedList 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/:nameAuthenticatedGet the status of a specific connector.
200Response
{
"ok": true,
"data": {
"name": "github",
"type": "oauth",
"status": "healthy",
"connected": true,
"scopes": ["repo", "user"]
}
}POST
/connector/:name/callAuthenticatedExecute a method on a connector.
| Parameter | Type | Required | Description |
|---|---|---|---|
method | string | Yes | Method path (e.g. "charges.list", "repos.list") |
params | object | No | Method 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": [...]
}
}