Events.com Internal Company Controller API

The internal-company-controller API from Events.com — 15 operation(s) for internal-company-controller.

Operations 15

POST /idp/api/v1/company/internal/{token}/uploadSkill #
POST /idp/api/v1/company/internal/{token}/uploadFiles/{tenantId} #
POST /idp/api/v1/company/internal/{token}/updateSkill/{skillId} #
GET /idp/api/v1/company/internal/{token}/pipeline/config #
GET /idp/api/v1/company/internal/{token}/llm/key #
GET /idp/api/v1/company/internal/{token}/key #
GET /idp/api/v1/company/internal/{token}/gtm/config #
GET /idp/api/v1/company/internal/{token}/downloadSkills/{skillId} #
GET /idp/api/v1/company/internal/{token}/downloadFiles/{tenantId} #
GET /idp/api/v1/company/internal/{token}/downloadFile/{tenantId} #
GET /idp/api/v1/company/internal/{token}/credential/{credentialId} #
GET /idp/api/v1/company/internal/{token}/composio/apiKey #
GET /idp/api/v1/company/internal/{token}/companyUnstructuredData/{companyId} #
GET /idp/api/v1/company/internal/{token}/agentConfig #
DELETE /idp/api/v1/company/internal/{token}/permissions/{elementType}/{elementId} #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/eventscom-internal-company-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

eventscom-internal-company-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Eventscom Internal Company Controller API
  version: '1.0'
  description: 'Operations tagged internal-company-controller across 2 of this provider''s published API definitions: eventscom-datagol-platform-openapi.yml, eventscom-internal-company-controller-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://datagol-be.events.com
  description: Generated server url
tags:
- name: internal-company-controller
paths:
  /idp/api/v1/company/internal/{token}/uploadSkill:
    post:
      tags:
      - internal-company-controller
      operationId: uploadSkillMarkdown_1
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      - name: userId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      - name: name
        in: query
        required: true
        schema:
          type: string
      - name: description
        in: query
        required: false
        schema:
          type: string
      - name: enabled
        in: query
        required: false
        schema:
          type: boolean
      - name: s3Prefix
        in: query
        required: false
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              required:
              - file
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AgentSkillDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/uploadFiles/{tenantId}:
    post:
      tags:
      - internal-company-controller
      operationId: uploadFiles_1
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
      - name: file
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
            format: binary
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BulkFileUploadResponse'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/updateSkill/{skillId}:
    post:
      tags:
      - internal-company-controller
      operationId: updateSkillMarkdown_1
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: skillId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      - name: userId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      - name: name
        in: query
        required: false
        schema:
          type: string
      - name: description
        in: query
        required: false
        schema:
          type: string
      - name: enabled
        in: query
        required: false
        schema:
          type: boolean
      - name: s3Prefix
        in: query
        required: false
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              required:
              - file
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AgentSkillDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/pipeline/config:
    get:
      tags:
      - internal-company-controller
      operationId: getPipelineConfig
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CompanyPipelineConfigDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/llm/key:
    get:
      tags:
      - internal-company-controller
      operationId: getVirtualKey_1
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CompanyLiteLLMConfigDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/key:
    get:
      tags:
      - internal-company-controller
      operationId: getkeys
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CompanyKeysDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/gtm/config:
    get:
      tags:
      - internal-company-controller
      operationId: getGtmConfig
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      - name: userId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/GTMConfigDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/downloadSkills/{skillId}:
    get:
      tags:
      - internal-company-controller
      operationId: downloadSkillById
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: skillId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: binary
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/downloadFiles/{tenantId}:
    get:
      tags:
      - internal-company-controller
      operationId: downloadFolder
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
      - name: folderName
        in: query
        required: true
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: binary
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/downloadFile/{tenantId}:
    get:
      tags:
      - internal-company-controller
      operationId: downloadFile_1
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: tenantId
        in: path
        required: true
        schema:
          type: string
      - name: key
        in: query
        required: true
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
                format: binary
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/credential/{credentialId}:
    get:
      tags:
      - internal-company-controller
      operationId: getFreshCredential
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: credentialId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserConnectorCredentialDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/composio/apiKey:
    get:
      tags:
      - internal-company-controller
      operationId: getComposioApiKey
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/companyUnstructuredData/{companyId}:
    get:
      tags:
      - internal-company-controller
      operationId: getCompanyUnstructuredDataService
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CompanyUnstructuredDataResponse'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/agentConfig:
    get:
      tags:
      - internal-company-controller
      operationId: getAgentConfig
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: companyId
        in: query
        required: true
        schema:
          type: integer
          format: int64
      - name: name
        in: query
        required: true
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AgentConfigDTO'
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
  /idp/api/v1/company/internal/{token}/permissions/{elementType}/{elementId}:
    delete:
      tags:
      - internal-company-controller
      operationId: deleteAllElementPermissions
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      - name: elementType
        in: path
        required: true
        schema:
          type: string
      - name: elementId
        in: path
        required: true
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                oneOf:
                - type: object
                - $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '501':
          description: Not Implemented
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SaasxlResponseDTOObject'
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
    servers:
    - url: https://datagol-be.events.com
      description: Generated server url
components:
  schemas:
    OutputConfigurationDTO:
      type: object
      properties:
        name:
          type: string
        createNewWorkbook:
          type: boolean
        tableId:
          type: string
        title:
          type: string
        workspaceId:
          type: string
        columnConfiguration:
          type: array
          items:
            $ref: '#/components/schemas/ColumnConfigurationDTO'
    AgentSkillDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        description:
          type: string
        s3Url:
          type: string
        enabled:
          type: boolean
    ModelMetadata:
      type: object
      properties:
        label:
          type: string
        value:
          type: string
        shortDescription:
          type: string
        description:
          type: string
        default:
          type: boolean
    GTMConfigDTO:
      type: object
      properties:
        prompts:
          type: array
          items:
            type: object
            additionalProperties:
              type: object
        outputConfiguration:
          type: array
          items:
            $ref: '#/components/schemas/OutputConfigurationDTO'
        isDefault:
          type: boolean
    UserConnectorCredentialDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        connectorType:
          type: string
        credentialType:
          type: string
          enum:
          - QUERY_PARAM
          - BASIC_AUTH
          - AUTHORIZATION
          - ACCESS_TOKEN
          - BEARER
          - API_KEY
          - OAUTH2
        userId:
          type: integer
          format: int64
        companyId:
          type: integer
          format: int64
        tokenType:
          type: string
          enum:
          - B2B
          - USER
        config:
          type: array
          items:
            $ref: '#/components/schemas/ConfigDTO'
    CompanyLiteLLMConfigDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        teamId:
          type: string
        companyId:
          type: integer
          format: int64
        virtualKey:
          type: string
        modelConfigs:
          type: array
          items:
            $ref: '#/components/schemas/LiteLLMModelConfigDTO'
    BulkFileUploadResponse:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/FileUploadResult'
        totalFiles:
          type: integer
          format: int32
        successfulUploads:
          type: integer
          format: int32
        failedUploads:
          type: integer
          format: int32
    CompanyPipelineConfigDTO:
      type: object
      properties:
        keys:
          $ref: '#/components/schemas/CompanyKeysDTO'
        litellmConfig:
          $ref: '#/components/schemas/CompanyLiteLLMConfigDTO'
        companyName:
          type: string
    CompanyUnstructuredDataResponse:
      type: object
      properties:
        id:
          type: integer
          format: int64
        companyId:
          type: integer
          format: int64
        tenantId:
          type: string
        apiKey:
          type: string
        modelInitialized:
          type: boolean
    UserDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        firstname:
          type: string
        lastname:
          type: string
        email:
          type: string
        companyName:
          type: string
        companyId:
          type: integer
          format: int64
        status:
          type: string
        roles:
          type: array
          items:
            type: string
        permissions:
          uniqueItems: true
          type: array
          items:
            type: string
        joinDate:
          type: string
          format: date-time
        mfaEnabled:
          type: boolean
        redirectToMfaFlow:
          type: boolean
        tokenExpiryTime:
          type: integer
          format: int64
        isServiceAccount:
          type: boolean
        lastLogin:
          type: string
          format: date-time
        signInMethod:
          type: string
          enum:
          - EMAIL
          - GOOGLE
          - MICROSOFT
        isOnboardingCompleted:
          type: boolean
        role:
          type: string
        department:
          type: string
        anonymousUserId:
          type: string
        thirdPartyUser:
          type: boolean
    FileUploadResult:
      type: object
      properties:
        fileName:
          type: string
        key:
          type: string
        success:
          type: boolean
        errorMessage:
          type: string
    ConfigDTO:
      type: object
      properties:
        type:
          type: string
        data:
          type: object
          additionalProperties:
            type: object
    SaasxlResponseDTOObject:
      type: object
      properties:
        success:
          type: boolean
        version:
          type: string
        date:
   

# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/eventscom/refs/heads/main/openapi/eventscom-internal-company-controller-api-openapi.yml