Skip to main content

MaaS API Spec

  • Session / Thread
    • Turn
  • Message
    • Message Part / Content Part
      • Chunk Part

Topics

topicfor
googleGemini API、Vertex AI、Google tools / thinking / cache
bedrockAmazon Bedrock Converse / InvokeModel、EventStream、tool use、usage
anthropicClaude Messages API、extended thinking、tool use、cache
openaiOpenAI Chat / Responses、role、tool choice、reasoning details
sseStreaming / SSE chunk、usage、abort 行为
usagetoken usage、计费维度、中断计费、异动检测
metrics观测性指标、labels、dashboard、告警
tool-calltool calling、tool choice、provider 差异
cacheprompt cache、最小 token、TTL、usage 字段
spec-faqMaaS API spec 常见兼容问题

参考