URLS

URL configuration for the Smarter API V1. The urlpatterns list in this module maps URL patterns to their corresponding views or sub-URL configurations. This enables Django to route incoming HTTP requests to the appropriate logic for handling API operations.

Structure

  • The root path (“”) includes the chatbot API, supporting endpoints such as https://example.3141-5926-5359.alpha.api.example.com.

  • The following subpaths are defined for the main API:

    • accounts/: User account management (CRUD operations).

    • chatbots/: Management of chatbot resources (CRUD operations).

    • prompts/: Endpoints supporting client-side interactions with chatbots.

    • plugins/: Management of plugins and connections to external services.

    • providers/: Management of provider integrations.

    • cli/: Brokered services supporting the CLI, implemented within this module.

    • tests/: Endpoints for unit testing, implemented within this module.

Namespaces are used for each included URL configuration to avoid naming conflicts and to provide clear separation between different API components.