Writer
  1. 计费
Writer
  • 内容
    • 根据预设的样式指南检查您的内容
      POST
    • 将样式指南建议直接应用于您的内容
      POST
    • 检测内容是否是人工智能生成的
      POST
  • 术语
    • 查找术语
      GET
    • 更新条款
      PUT
    • 添加条款
      POST
    • 删除条款
      DELETE
  • 片段
    • 查找片段
      GET
    • 更新片段
      PUT
    • 删除片段
      DELETE
  • 作家应用程序/模板
    • 获取自定义应用程序/模板的输入
      GET
    • 使用预定义的应用程序/模板生成内容
      POST
  • 计费
    • 获取您的组织订阅详细信息
      GET
  • 用户
    • 列出用户
      GET
  • 风格指南
    • 列出您的样式指南页面
      GET
    • 页面详情
      GET
  • LLM
    • 列出可用的 LLM 模型
      GET
    • 为 LLM 模型创建完成
      POST
    • 使用 SSE 流为 LLM 模型创建补全
      POST
    • 使用经过训练的提示标记获取自定义模型文件
      GET
    • 列出文件
      GET
    • 上传文件
      GET
    • 获取文件
      GET
    • 删除文件
      DELETE
    • 列出模型定制
      GET
    • 创建模型定制
      POST
    • 获取模型定制
      GET
    • 删除模型定制
      DELETE
    • 创建LLM定制模型的完成
      POST
  1. 计费

获取您的组织订阅详细信息

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/billing/subscription
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/billing/subscription' \
--header 'Authorization;'
响应示例响应示例
200 - 成功示例
{
  "subscriptionId": "string",
  "meta": {
    "teamCount": 0,
    "termsCount": 0,
    "snippetsCount": 0,
    "ssoAccess": true,
    "reporting": {
      "additionalProp": "string"
    },
    "portal": {
      "additionalProp": "string"
    },
    "styleguide": {
      "additionalProp": "string"
    },
    "tier": "enterprise-1"
  },
  "createdAt": "2024-02-01T06:08:07.362Z",
  "seats": 0,
  "productName": "free",
  "status": "trialing",
  "usage": {
    "team": {
      "value": 0,
      "limit": 0
    },
    "user": {
      "value": 0,
      "limit": 0
    },
    "words": {
      "value": 0,
      "limit": 0
    },
    "coWriteWords": {
      "value": 0,
      "limit": 0
    }
  }
}

请求参数

Header 参数
Authorization
string 
必需

返回响应

🟢200成功
application/json
Body
subscriptionId
string 
必需
meta
object 
必需
teamCount
integer 
必需
termsCount
integer 
必需
snippetsCount
integer 
必需
ssoAccess
boolean 
必需
reporting
object 
必需
portal
object 
必需
styleguide
object 
必需
tier
string 
必需
createdAt
string 
必需
seats
integer 
必需
productName
string 
必需
status
string 
必需
usage
object 
必需
team
object 
必需
user
object 
必需
words
object 
必需
coWriteWords
object 
必需
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🔴500服务器错误
修改于 2024-02-01 07:12:52
上一页
使用预定义的应用程序/模板生成内容
下一页
列出用户
Built with