> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 创建自定义字段

> 创建自定义字段。



## OpenAPI

````yaml openapi/zh/apollo.json POST /apollo/fields
openapi: 3.0.3
info:
  title: Apollo API
  version: 1.0.0
  description: 通过 AIsa 统一网关公开的 Apollo API 端点。
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /apollo/fields:
    post:
      summary: 创建自定义字段
      description: 创建自定义字段。需要主 API 密钥。
      operationId: post_apollo_fields
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                  description: 字段标签。
                modality:
                  type: string
                  description: 实体模态（例如联系人）。
                type:
                  type: string
                  description: 字段类型（例如 textarea）。
                meta:
                  type: object
                  description: 其他字段配置。
      responses:
        '200':
          description: 成功响应
          content:
            application/json:
              schema:
                type: object
                properties:
                  typed_custom_fields:
                    type: array
                    items:
                      type: string
                    description: 已创建的字段（如返回）。
        '400':
          description: 错误请求
        '401':
          description: 未授权
        '429':
          description: 超出速率限制
        '500':
          description: 内部服务器错误
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````