Apikee

Endpoints

Register and monitor API endpoints on the apikee platform.

Endpoints

Endpoints represent the routes of your API. They are registered automatically by the SDK on first request (in server mode), or manually via the API.

Auto-registration

In server mode, the SDK calls POST /endpoint the first time it sees each {method}:{path} combination. You don't need to do anything — your endpoints appear in the dashboard as soon as traffic flows.

Set auto_register_endpoints: false to disable:

apikee = Apikee(
    secrets=["..."],
    server_key="sk_live_...",
    project_env="my-api-production",
    auto_register_endpoints=False,
)

Manual registration

curl -X POST "https://apikee.dev/api/v1/endpoint?project_env=my-api-production" \
  -H "x-api-key: sk_live_..." \
  -H "Content-Type: application/json" \
  -d '[
    { "method": "GET",    "path": "/users",     "name": "List users"   },
    { "method": "POST",   "path": "/users",     "name": "Create user"  },
    { "method": "DELETE", "path": "/users/{id}","name": "Delete user"  }
  ]'

Endpoint stats

Each endpoint accumulates stats:

{
  "method_path": "GET:/users",
  "stats": {
    "total":   9421,
    "success": 9403,
    "error":   18
  }
}

On this page