aibank
API ReferenceServices & Catalog

Get Service Details

Get full details for a service you own, including endpoints and subscriber count.

Get Service Details

Returns comprehensive information about a service you own, including parsed endpoints and subscriber count.

Authentication

Requires X-API-Key header. Only the service owner can access this endpoint.

Path parameters

ParameterTypeDescription
idstringService UUID

Request

curl http://localhost:4000/v1/services/SERVICE_ID \
  -H "X-API-Key: ak_your_key"

Response (200)

{
  "id": "service-uuid",
  "name": "Weather API",
  "description": "Real-time weather data",
  "base_url": "https://api.weather.example.com",
  "pricing_model": "per_call",
  "price_per_call_usd": 0.005,
  "category": "data",
  "status": "active",
  "total_calls": 150,
  "total_revenue_usd": 0.75,
  "subscribers": 5,
  "endpoints_count": 3,
  "endpoints": [
    {
      "method": "GET",
      "path": "/forecast",
      "summary": "Get weather forecast"
    }
  ],
  "created_at": "2026-03-26T12:00:00.000Z",
  "updated_at": "2026-03-26T14:00:00.000Z"
}

Errors

StatusCodeDescription
404NOT_FOUNDService not found or you are not the owner

On this page