众扬汇 AI 开放平台 API 文档

通过ID搜索 GPTs V2

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: "本页接口说明详见下方接口定义;参数取值与返回以本平台实测为准。"
  version: 1.0.0
paths:
  /v2/gpts/{id}:
    get:
      summary: 通过ID搜索 GPTs V2
      deprecated: false
      description: "按 ID 查询 GPTs 详情"
      tags:
        - 聊天(Chat)/GPTs
      parameters:
        - name: id
          in: path
          description: "本次对象的唯一标识,由平台生成"
          required: true
          example: g-2fkFE8rbu
          schema:
            type: string
        - name: Content-Type
          in: header
          description: "该字段的取值与含义以本平台实际返回为准。"
          required: false
          example: ' application/json'
          schema:
            type: string
        - name: Accept
          in: header
          description: "该字段的取值与含义以本平台实际返回为准。"
          required: false
          example: ' application/json'
          schema:
            type: string
        - name: Authorization
          in: header
          description: "该字段的取值与含义以本平台实际返回为准。"
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
            default: Bearer {{YOUR_API_KEY}}
      responses:
        '200':
          description: "该字段的取值与含义以本平台实际返回为准。"
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
      security: []
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

使用提示:本页接口的 Base URL 为 https://api.allyang.cn,请求头需携带 Authorization: Bearer <令牌>(令牌在控制台「令牌管理」中创建)。示例中的任务 ID、时间戳与文件地址均为示意值,实际以平台返回为准。

GPTs 相关能力经第三方渠道对接,是否长期可用以本平台公告为准。