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

# Create Default Copilot Entity

> Loading default values into a new CopilotEntity.

NsApiSlow threshold: 1000 ms.
<para />## Experimental: ## The AI agent is experimental, subject to change, and not intended for partners.



## OpenAPI

````yaml /openapi/agent/openapi-v3-AIAgent.json post /api/v1/Agents/AI/CreateDefaultCopilotEntity
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - AIAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/AI/CreateDefaultCopilotEntity:
    post:
      tags:
        - AI_Agent
      summary: Create Default Copilot Entity
      description: "Loading default values into a new CopilotEntity.\n\nNsApiSlow threshold: 1000 ms.\r\n<para />## Experimental: ## The AI agent is experimental, subject to change, and not intended for partners."
      operationId: v1AIAgent_CreateDefaultCopilotEntity
      parameters:
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CopilotEntity'
            text/json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CopilotEntity'
            application/xml:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CopilotEntity'
            text/xml:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CopilotEntity'
            application/json-patch+json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CopilotEntity'
            application/merge-patch+json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CopilotEntity'
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.CRM.Services.CopilotEntity:
      description: "Entity for Copilot configuration\r\n<para />\r\nCarrier object for CopilotEntity.\r\nServices for the CopilotEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IAIAgent\">AI Agent</see>."
      type: object
      properties:
        CopilotId:
          format: int32
          description: Primary key
          type: integer
        Name:
          description: The name of copilot
          type: string
        CopilotDataSources:
          description: Data sources
          type: array
          items:
            $ref: >-
              #/components/schemas/SuperOffice.CRM.Services.CopilotDataSourceEntity
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Services.CopilotDataSourceEntity:
      description: "Copilot data source - contains a list of settings for this source\r\n<para />\r\nCarrier object for CopilotDataSourceEntity.\r\nServices for the CopilotDataSourceEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IAIAgent\">AI Agent</see>."
      type: object
      properties:
        CopilotDataSourceId:
          format: int32
          description: Primary key
          type: integer
        CopilotDataSourceType:
          description: Type of copilot data source
          enum:
            - Requests
            - FAQs
            - ReplyTemplates
            - Documents
            - Products
            - WebContent
          type: string
        CopilotId:
          format: int32
          description: The associated copilot
          type: integer
        Description:
          description: Description of data source
          type: string
        Name:
          description: Name of data source
          type: string
        Settings:
          description: Collection of data source settings - each setting has key + value
          type: array
          items:
            $ref: >-
              #/components/schemas/SuperOffice.CRM.Services.CopilotDataSourceSetting
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Security.TableRight:
      description: "Wraps a table right together with an explanatory reason.\r\nCode can indicate why access is restricted."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string
    SuperOffice.CRM.Security.FieldProperty:
      description: >-
        Class holding properties like field length, field type about a field in
        the carrier.
      type: object
      properties:
        FieldRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldRight'
        FieldType:
          type: string
        FieldLength:
          format: int32
          description: ''
          type: integer
    SuperOffice.CRM.Services.CopilotDataSourceSetting:
      description: "Setting for a Copilot data source (key + value)\r\n<para />\r\nCarrier object for CopilotDataSourceSetting.\r\nServices for the CopilotDataSourceSetting Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IAIAgent\">AI Agent</see>."
      type: object
      properties:
        CopilotDataSourceSettingId:
          format: int32
          description: Primary key
          type: integer
        CopilotDataSourceId:
          format: int32
          description: The associated copilot data source
          type: integer
        Key:
          description: The key of data source setting
          type: string
        Value:
          description: The value of data source setting
          type: string
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Security.FieldRight:
      description: "Wraps the field right together with an explanatory reason.\r\nAlso adds logical operators to the field rights so that they can be easily combined."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string

````

## Related topics

- [Default Copilot Entity](/en/api/reference/restful/rest/copilot/default-copilot-entity.md)
- [SuperOffice.WebApi.Agents.AIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)
- [SuperOffice.WebApi.Agents.IAIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IAIAgent.md)
- [Create Default Copilot Data Source Entity](/en/api/reference/restful/agent/ai_agent/create-default-copilot-data-source-entity.md)
- [Default Copilot Data Source Entity](/en/api/reference/restful/rest/copilotdatasource/default-copilot-data-source-entity.md)
- [Create Default Currency Entity](/en/api/reference/restful/rest/list_currency/create-default-currency-entity.md)
