Appearance
Account
POST /v1/account
Create a user and API key. No auth required. Rate-limited.
bash
curl -s -X POST https://api.skilleo.org/v1/account \
-H "Content-Type: application/json" \
-d '{"email":"dev@example.com"}'Response 200
json
{
"id": "usr_...",
"status": "created",
"data": {
"email": "dev@example.com",
"api_key": "sk_live_...",
"api_key_hint": "sk_live_...",
"billing_status": "trial",
"note": "Store api_key now. It is not shown again."
},
"error": null
}PUT /v1/account/credentials
Register a provider connection (same as POST /v1/providers/connections). Does not accept provider API keys — only connection_type and secret_ref.
Requires bearer auth. Returns a provider connection (prv_…).
Supported providers: runpod, minimax, elevenlabs, openai, anthropic, gemini, aws.
Routing policy: Providers. Skilleo stores connection metadata only; customers manage keys (Secrets).
bash
curl -s -X PUT https://api.skilleo.org/v1/account/credentials \
-H "Authorization: Bearer $SKILLEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"runpod","connection_type":"environment","secret_ref":"RUNPOD_API_KEY"}'If secret_ref is omitted, a default env var name is used per provider.
Response 200
json
{
"data": {
"provider": "runpod",
"connection": "prv_...",
"connection_type": "environment",
"secret_ref": "RUNPOD_API_KEY",
"status": "connected"
}
}Errors
| Code | When |
|---|---|
VALIDATION_ERROR | Provider is not supported |
UNAUTHORIZED | Invalid Skilleo API key |
GET /v1/account/connections
List provider connections for the authenticated user (prv_…, connection_type, secret_ref — no secrets).
bash
curl -s https://api.skilleo.org/v1/account/connections \
-H "Authorization: Bearer $SKILLEO_API_KEY"Prefer POST /v1/providers/connections. See Provider connections.