{"message":"DeepSeek Chat API with GraphQL Support","endpoints":{"chat":"POST /api/chat","graphql":"POST /api/graphql","health":"GET /api/health","stats":"GET /api/stats"},"documentation":"https://github.com/ashenghm/cloudflare-deepseek-chat-api","graphqlSchema":"\n  type Query {\n    health: HealthStatus!\n    chatHistory(limit: Int, offset: Int): [ChatLogEntry!]!\n  }\n\n  type Mutation {\n    sendMessage(input: ChatInput!): ChatResponse!\n  }\n\n  type HealthStatus {\n    status: String!\n    timestamp: String!\n    service: String!\n    version: String!\n  }\n\n  type ChatResponse {\n    id: String!\n    object: String!\n    created: Int!\n    model: String!\n    choices: [Choice!]!\n    usage: Usage!\n  }\n\n  type Choice {\n    index: Int!\n    message: Message!\n    finish_reason: String\n  }\n\n  type Message {\n    role: String!\n    content: String!\n  }\n\n  type Usage {\n    prompt_tokens: Int!\n    completion_tokens: Int!\n    total_tokens: Int!\n  }\n\n  type ChatLogEntry {\n    timestamp: String!\n    model: String!\n    messagesCount: Int!\n    tokensUsed: Usage!\n  }\n\n  input ChatInput {\n    messages: [MessageInput!]!\n    model: String\n    max_tokens: Int\n    temperature: Float\n    top_p: Float\n    frequency_penalty: Float\n    presence_penalty: Float\n    stop: [String!]\n    stream: Boolean\n  }\n\n  input MessageInput {\n    role: String!\n    content: String!\n  }\n"}