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

# Create an Account AI field

> Create an Account field that Monaco fills by researching the web with its question. Only Account fields with data_source ai_external_web_search are created here; any other entity_type or data_source returns 422. The returned id can be a Preview's qualifier_signal_id. Creating a field runs no research by itself. Requires an organization admin and usage-based billing, as in the app.



## OpenAPI

````yaml https://api.monaco.com/openapi.json post /v1/ai-account-fields/
openapi: 3.1.0
info:
  title: Monaco Public API
  description: Public API for Monaco
  version: 1.0.0
servers:
  - url: https://api.monaco.com
security: []
paths:
  /v1/ai-account-fields/:
    post:
      tags:
        - AI Account Fields
      summary: Create an Account AI field
      description: >-
        Create an Account field that Monaco fills by researching the web with
        its question. Only Account fields with data_source
        ai_external_web_search are created here; any other entity_type or
        data_source returns 422. The returned id can be a Preview's
        qualifier_signal_id. Creating a field runs no research by itself.
        Requires an organization admin and usage-based billing, as in the app.
      operationId: create_ai_account_field
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AIAccountFieldCreateRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PublicItemResponse_AIAccountFieldResponse_
        4XX:
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
components:
  schemas:
    AIAccountFieldCreateRequest:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
          description: Display name of the field.
        question:
          type: string
          maxLength: 12000
          minLength: 1
          title: Question
          description: >-
            The research question Monaco answers for each Account, e.g. "Does
            this company publish a public pricing page? Answer true or false."
        field_type:
          type: string
          enum:
            - checkbox
            - text
            - number
            - date
            - select
          title: Field Type
          description: checkbox, text, number, date or select. It cannot change later.
        options:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Options
          description: The answer options. Required for select; leave out for other types.
        overwrite_existing_values:
          type: boolean
          title: Overwrite Existing Values
          description: False keeps an Account's existing answer instead of replacing it.
          default: true
        entity_type:
          type: string
          const: account
          title: Entity Type
          description: 'Always account: only Account AI fields are created here.'
          default: account
        data_source:
          type: string
          const: ai_external_web_search
          title: Data Source
          description: >-
            Always ai_external_web_search: Monaco answers the question from the
            web.
          default: ai_external_web_search
      additionalProperties: false
      type: object
      required:
        - name
        - question
        - field_type
      title: AIAccountFieldCreateRequest
    PublicItemResponse_AIAccountFieldResponse_:
      properties:
        data:
          $ref: '#/components/schemas/AIAccountFieldResponse'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
      type: object
      required:
        - data
      title: PublicItemResponse[AIAccountFieldResponse]
    PublicErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: PublicErrorResponse
    AIAccountFieldResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: The field ID; use it as qualifier_signal_id in a Preview.
        name:
          type: string
          title: Name
        question:
          type: string
          title: Question
          description: The research question Monaco answers for each Account.
        field_type:
          type: string
          title: Field Type
        entity_type:
          type: string
          const: account
          title: Entity Type
        data_source:
          type: string
          const: ai_external_web_search
          title: Data Source
        options:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Options
        overwrite_existing_values:
          type: boolean
          title: Overwrite Existing Values
      type: object
      required:
        - id
        - name
        - question
        - field_type
        - entity_type
        - data_source
        - overwrite_existing_values
      title: AIAccountFieldResponse
    ResponseMeta:
      properties:
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Server timestamp of the response
      type: object
      title: ResponseMeta
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Machine-readable error code
          examples:
            - not_found
        message:
          type: string
          title: Message
          description: Human-readable error message
          examples:
            - Resource not found
      type: object
      required:
        - code
        - message
      title: ErrorDetail

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.