Skip to content

Refactor Route #51

Description

@zzzhouuu

Could you consider refactoring the project’s routing? For example, move features like billing under the /mgmt admin endpoint and mount the OpenAI-related interfaces directly under /v1.

Mgmt Api
  /v1/mgmt/api-keys
  /v1/mgmt/auth/**
  /v1/mgmt/billing
  /v1/mgmt/models
  /v1/mgmt/providers
  /v1/mgmt/session

OpenAI API
  /v1/chat/completions     — Chat Completions
  /v1/images/generations   — Image generation
  /v1/images/edits         — Image editing
  /v1/embeddings           — Embeddings
  /v1/responses            — Responses
  /v1/audio/speech         — Audio speech
  /v1/audio/transcriptions — Audio transcriptions
  /v1/audio/translations   — Audio translations
  /v1/models               — List available models

Rerank API
  /v1/rerank                      - Rerank

Anthropic API
  /anthropic/v1/messages          — Messages
  /anthropic/v1/models            — List available models

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions