C1

C1 Automations API

The Automations API from C1 — 9 operation(s) for automations.

OpenAPI Specification

c1-automations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  description: The ConductorOne API is a HTTP API for managing ConductorOne resources.
  title: ConductorOne Access Conflict Automations API
  version: 0.1.0-alpha
servers:
- description: The ConductorOne API server for the current tenant.
  url: https://{tenantDomain}.conductor.one
  variables:
    tenantDomain:
      default: example
      description: The domain of the tenant to use for this request.
security:
- bearerAuth: []
  oauth: []
tags:
- name: Automations
paths:
  /api/v1/automation_executions:
    get:
      description: Invokes the c1.api.automations.v1.AutomationExecutionService.ListAutomationExecutions method.
      operationId: c1.api.automations.v1.AutomationExecutionService.ListAutomationExecutions
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.ListAutomationExecutionsResponse'
          description: Successful response
      summary: List Automation Executions
      tags:
      - Automations
      x-speakeasy-group: AutomationExecution
      x-speakeasy-name-override: ListAutomationExecutions
  /api/v1/automation_executions/{id}:
    get:
      description: Invokes the c1.api.automations.v1.AutomationExecutionService.GetAutomationExecution method.
      operationId: c1.api.automations.v1.AutomationExecutionService.GetAutomationExecution
      parameters:
      - in: path
        name: id
        required: true
        schema:
          description: The id field.
          format: int64
          readOnly: false
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.GetAutomationExecutionResponse'
          description: Successful response
      summary: Get Automation Execution
      tags:
      - Automations
      x-speakeasy-group: AutomationExecution
      x-speakeasy-name-override: GetAutomationExecution
  /api/v1/automation_executions/{id}/actions/terminate:
    post:
      description: Invokes the c1.api.automations.v1.AutomationExecutionActionsService.TerminateAutomation method.
      operationId: c1.api.automations.v1.AutomationExecutionActionsService.TerminateAutomation
      parameters:
      - in: path
        name: id
        required: true
        schema:
          description: The id field.
          format: int64
          readOnly: false
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.TerminateAutomationRequestInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.TerminateAutomationResponse'
          description: Successful response
      summary: Terminate Automation
      tags:
      - Automations
      x-speakeasy-group: AutomationExecutionActions
      x-speakeasy-name-override: TerminateAutomation
  /api/v1/automation_executions/search:
    post:
      description: Invokes the c1.api.automations.v1.AutomationExecutionSearchService.SearchAutomationExecutions method.
      operationId: c1.api.automations.v1.AutomationExecutionSearchService.SearchAutomationExecutions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.SearchAutomationExecutionsRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.SearchAutomationExecutionsResponse'
          description: Successful response
      summary: Search Automation Executions
      tags:
      - Automations
      x-speakeasy-group: AutomationExecutionSearch
      x-speakeasy-name-override: SearchAutomationExecutions
  /api/v1/automation_versions/search:
    post:
      description: Invokes the c1.api.automations.v1.AutomationSearchService.SearchAutomationTemplateVersions method.
      operationId: c1.api.automations.v1.AutomationSearchService.SearchAutomationTemplateVersions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.SearchAutomationTemplateVersionsRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.SearchAutomationTemplateVersionsResponse'
          description: Successful response
      summary: Search Automation Template Versions
      tags:
      - Automations
      x-speakeasy-group: AutomationSearch
      x-speakeasy-name-override: SearchAutomationTemplateVersions
  /api/v1/automations:
    get:
      description: Invokes the c1.api.automations.v1.AutomationService.ListAutomations method.
      operationId: c1.api.automations.v1.AutomationService.ListAutomations
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.ListAutomationsResponse'
          description: Successful response
      summary: List Automations
      tags:
      - Automations
      x-speakeasy-group: Automation
      x-speakeasy-name-override: ListAutomations
    post:
      description: Invokes the c1.api.automations.v1.AutomationService.CreateAutomation method.
      operationId: c1.api.automations.v1.AutomationService.CreateAutomation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.CreateAutomationRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.CreateAutomationResponse'
          description: Successful response
      summary: Create Automation
      tags:
      - Automations
      x-speakeasy-entity-operation:
        terraform-resource: Automation#create
      x-speakeasy-group: Automation
      x-speakeasy-name-override: CreateAutomation
  /api/v1/automations/{id}:
    delete:
      description: Invokes the c1.api.automations.v1.AutomationService.DeleteAutomation method.
      operationId: c1.api.automations.v1.AutomationService.DeleteAutomation
      parameters:
      - in: path
        name: id
        required: true
        schema:
          description: The id field.
          readOnly: false
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.DeleteAutomationRequestInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.DeleteAutomationResponse'
          description: Successful response
      summary: Delete Automation
      tags:
      - Automations
      x-speakeasy-entity-operation:
        terraform-resource: Automation#delete
      x-speakeasy-group: Automation
      x-speakeasy-name-override: DeleteAutomation
    get:
      description: Invokes the c1.api.automations.v1.AutomationService.GetAutomation method.
      operationId: c1.api.automations.v1.AutomationService.GetAutomation
      parameters:
      - in: path
        name: id
        required: true
        schema:
          description: The id field.
          readOnly: false
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.GetAutomationResponse'
          description: Successful response
      summary: Get Automation
      tags:
      - Automations
      x-speakeasy-entity-operation:
        terraform-datasource: null
        terraform-resource: Automation#read
      x-speakeasy-group: Automation
      x-speakeasy-name-override: GetAutomation
    post:
      description: Invokes the c1.api.automations.v1.AutomationService.UpdateAutomation method.
      operationId: c1.api.automations.v1.AutomationService.UpdateAutomation
      parameters:
      - in: path
        name: id
        required: true
        schema:
          description: The id field.
          readOnly: true
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.UpdateAutomationRequestInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.UpdateAutomationResponse'
          description: Successful response
      summary: Update Automation
      tags:
      - Automations
      x-speakeasy-entity-operation:
        terraform-resource: Automation#update
      x-speakeasy-group: Automation
      x-speakeasy-name-override: UpdateAutomation
  /api/v1/automations/{id}/execute:
    post:
      description: Invokes the c1.api.automations.v1.AutomationService.ExecuteAutomation method.
      operationId: c1.api.automations.v1.AutomationService.ExecuteAutomation
      parameters:
      - in: path
        name: id
        required: true
        schema:
          description: The id field.
          readOnly: false
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.ExecuteAutomationRequestInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.ExecuteAutomationResponse'
          description: Successful response
      summary: Execute Automation
      tags:
      - Automations
      x-speakeasy-group: Automation
      x-speakeasy-name-override: ExecuteAutomation
  /api/v1/automations/search:
    post:
      description: Invokes the c1.api.automations.v1.AutomationSearchService.SearchAutomations method.
      operationId: c1.api.automations.v1.AutomationSearchService.SearchAutomations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.automations.v1.SearchAutomationsRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.automations.v1.SearchAutomationsResponse'
          description: Successful response
      summary: Search Automations
      tags:
      - Automations
      x-speakeasy-group: AutomationSearch
      x-speakeasy-name-override: SearchAutomations
components:
  schemas:
    c1.api.automations.v1.UserCreatedTrigger:
      description: The UserCreatedTrigger message.
      nullable: true
      properties:
        condition:
          description: The condition field.
          readOnly: false
          type: string
      title: User Created Trigger
      type: object
      x-speakeasy-name-override: UserCreatedTrigger
    c1.api.automations.v1.CreateRevokeTasks:
      description: The CreateRevokeTasks message.
      nullable: true
      properties:
        appEntitlementRefs:
          description: The appEntitlementRefs field.
          items:
            $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef'
          nullable: true
          readOnly: false
          type: array
        appEntitlementRefsCel:
          description: The appEntitlementRefsCel field.
          readOnly: false
          type: string
        excludedAppEntitlementRefs:
          description: The excludedAppEntitlementRefs field.
          items:
            $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef'
          nullable: true
          readOnly: false
          type: array
        excludedAppEntitlementRefsCel:
          description: The excludedAppEntitlementRefsCel field.
          readOnly: false
          type: string
        revokeAll:
          description: The revokeAll field.
          readOnly: false
          type: boolean
        useSubjectUser:
          description: If true, the step will use the subject user of the automation as the subject.
          readOnly: false
          type: boolean
        userIdCel:
          description: The userIdCel field.
          readOnly: false
          type: string
        userRef:
          $ref: '#/components/schemas/c1.api.user.v1.UserRef'
      title: Create Revoke Tasks
      type: object
      x-speakeasy-name-override: CreateRevokeTasks
    c1.api.automations.v1.CreateAutomationResponse:
      description: The CreateAutomationResponse message.
      properties:
        automation:
          $ref: '#/components/schemas/c1.api.automations.v1.Automation'
        webhookHmacSecret:
          description: If we create a new trigger with an HMAC secret we return the HMAC on this field
          readOnly: false
          type: string
      title: Create Automation Response
      type: object
      x-speakeasy-name-override: CreateAutomationResponse
    c1.api.form.v1.SelectField:
      description: The SelectField message.
      nullable: true
      properties:
        options:
          description: The options field.
          items:
            $ref: '#/components/schemas/c1.api.form.v1.SelectOption'
          nullable: true
          readOnly: false
          type: array
      title: Select Field
      type: object
      x-speakeasy-name-override: SelectField
    c1.api.automations.v1.DeleteAutomationRequestInput:
      description: The DeleteAutomationRequest message.
      title: Delete Automation Request
      type: object
      x-speakeasy-name-override: DeleteAutomationRequest
    c1.api.form.v1.RequiredTogether:
      description: The RequiredTogether message.
      nullable: true
      title: Required Together
      type: object
      x-speakeasy-name-override: RequiredTogether
    c1.api.automations.v1.AutomationExecutionExpandMask:
      description: The AutomationExecutionExpandMask message.
      properties:
        paths:
          description: The paths field.
          items:
            type: string
          nullable: true
          readOnly: false
          type: array
      title: Automation Execution Expand Mask
      type: object
      x-speakeasy-name-override: AutomationExecutionExpandMask
    c1.api.automations.v1.CreateAccessReview:
      description: The CreateAccessReview message.
      nullable: true
      properties:
        accessReviewTemplateCel:
          description: The accessReviewTemplateCel field.
          readOnly: false
          type: string
        accessReviewTemplateId:
          description: The accessReviewTemplateId field.
          readOnly: false
          type: string
        campaignName:
          description: Optional campaign name. If not provided, the campaign name will be the access review template name.
          readOnly: false
          type: string
        useSubjectUser:
          description: If true, the step will use the subject user of the automation as the subject.
          readOnly: false
          type: boolean
        userIdsCel:
          description: The userIdsCel field.
          readOnly: false
          type: string
        userRefs:
          description: The userRefs field.
          items:
            $ref: '#/components/schemas/c1.api.user.v1.UserRef'
          nullable: true
          readOnly: false
          type: array
      title: Create Access Review
      type: object
      x-speakeasy-name-override: CreateAccessReview
    validate.FieldRules:
      description: "FieldRules encapsulates the rules for each type of field. Depending on the\n field, the correct set should be used to ensure proper validations.\n\nThis message contains a oneof named type. Only a single field of the following list may be set at a time:\n  - float\n  - double\n  - int32\n  - int64\n  - uint32\n  - uint64\n  - sint32\n  - sint64\n  - fixed32\n  - fixed64\n  - sfixed32\n  - sfixed64\n  - bool\n  - string\n  - bytes\n  - enum\n  - repeated\n  - map\n  - any\n  - duration\n  - timestamp\n"
      properties:
        any:
          $ref: '#/components/schemas/validate.AnyRules'
        bool:
          $ref: '#/components/schemas/validate.BoolRules'
        bytes:
          $ref: '#/components/schemas/validate.BytesRules'
        double:
          $ref: '#/components/schemas/validate.DoubleRules'
        duration:
          $ref: '#/components/schemas/validate.DurationRules'
        enum:
          $ref: '#/components/schemas/validate.EnumRules'
        fixed32:
          $ref: '#/components/schemas/validate.Fixed32Rules'
        fixed64:
          $ref: '#/components/schemas/validate.Fixed64Rules'
        float:
          $ref: '#/components/schemas/validate.FloatRules'
        int32:
          $ref: '#/components/schemas/validate.Int32Rules'
        int64:
          $ref: '#/components/schemas/validate.Int64Rules'
        map:
          $ref: '#/components/schemas/validate.MapRules'
        message:
          $ref: '#/components/schemas/validate.MessageRules'
        repeated:
          $ref: '#/components/schemas/validate.RepeatedRules'
        sfixed32:
          $ref: '#/components/schemas/validate.SFixed32Rules'
        sfixed64:
          $ref: '#/components/schemas/validate.SFixed64Rules'
        sint32:
          $ref: '#/components/schemas/validate.SInt32Rules'
        sint64:
          $ref: '#/components/schemas/validate.SInt64Rules'
        string:
          $ref: '#/components/schemas/validate.StringRules'
        timestamp:
          $ref: '#/components/schemas/validate.TimestampRules'
        uint32:
          $ref: '#/components/schemas/validate.UInt32Rules'
        uint64:
          $ref: '#/components/schemas/validate.UInt64Rules'
      title: Field Rules
      type: object
      x-speakeasy-name-override: FieldRules
    c1.api.automations.v1.CreateAutomationRequest:
      description: The CreateAutomationRequest message.
      properties:
        appId:
          description: the app id this workflow_template belongs to
          readOnly: false
          type: string
        automationSteps:
          description: The automationSteps field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationStep'
          nullable: true
          readOnly: false
          type: array
        context:
          $ref: '#/components/schemas/c1.api.automations.v1.AutomationContext'
        description:
          description: The description field.
          readOnly: false
          type: string
        displayName:
          description: The displayName field.
          readOnly: false
          type: string
        draftAutomationSteps:
          description: The draftAutomationSteps field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationStep'
          nullable: true
          readOnly: false
          type: array
        draftTriggers:
          description: The draftTriggers field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationTrigger'
          nullable: true
          readOnly: false
          type: array
        enabled:
          description: The enabled field.
          readOnly: false
          type: boolean
        isDraft:
          description: The isDraft field.
          readOnly: false
          type: boolean
        triggers:
          description: The triggers field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationTrigger'
          nullable: true
          readOnly: false
          type: array
      title: Create Automation Request
      type: object
      x-speakeasy-name-override: CreateAutomationRequest
    c1.api.automations.v1.ListAutomationsResponse:
      description: The ListAutomationsResponse message.
      properties:
        list:
          description: The list field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.Automation'
          nullable: true
          readOnly: false
          type: array
        nextPageToken:
          description: The nextPageToken field.
          readOnly: false
          type: string
      title: List Automations Response
      type: object
      x-speakeasy-name-override: ListAutomationsResponse
    c1.api.automations.v1.SendEmail:
      description: The SendEmail message.
      nullable: true
      properties:
        body:
          description: The body field.
          readOnly: false
          type: string
        subject:
          description: The subject field.
          readOnly: false
          type: string
        title:
          description: The title field.
          readOnly: false
          type: string
        useSubjectUser:
          description: If true, the step will use the subject user of the automation as the subject.
          readOnly: false
          type: boolean
        userIdsCel:
          description: The userIdsCel field.
          readOnly: false
          type: string
        userRefs:
          description: The userRefs field.
          items:
            $ref: '#/components/schemas/c1.api.user.v1.UserRef'
          nullable: true
          readOnly: false
          type: array
      title: Send Email
      type: object
      x-speakeasy-name-override: SendEmail
    c1.api.automations.v1.TerminateAutomationRequestInput:
      description: The TerminateAutomationRequest message.
      title: Terminate Automation Request
      type: object
      x-speakeasy-name-override: TerminateAutomationRequest
    c1.api.automations.v1.TerminateAutomationResponse:
      description: The TerminateAutomationResponse message.
      title: Terminate Automation Response
      type: object
      x-speakeasy-name-override: TerminateAutomationResponse
    c1.api.automations.v1.ManualAutomationTrigger:
      description: The ManualAutomationTrigger message.
      nullable: true
      title: Manual Automation Trigger
      type: object
      x-speakeasy-name-override: ManualAutomationTrigger
    c1.api.automations.v1.GrantTriggerFilter:
      description: The GrantTriggerFilter message.
      properties:
        accountFilter:
          $ref: '#/components/schemas/c1.api.automations.v1.GrantTriggerFilter.AccountFilter'
        entitlementFilter:
          $ref: '#/components/schemas/c1.api.automations.v1.GrantTriggerFilter.EntitlementFilter'
        grantFilter:
          $ref: '#/components/schemas/c1.api.automations.v1.GrantTriggerFilter.GrantFilter'
      title: Grant Trigger Filter
      type: object
      x-speakeasy-name-override: GrantTriggerFilter
    c1.api.automations.v1.ListAutomationExecutionsResponse:
      description: The ListAutomationExecutionsResponse message.
      properties:
        automationExecutions:
          description: The automationExecutions field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationExecution'
          nullable: true
          readOnly: false
          type: array
        nextPageToken:
          description: The nextPageToken field.
          readOnly: false
          type: string
      title: List Automation Executions Response
      type: object
      x-speakeasy-name-override: ListAutomationExecutionsResponse
    c1.api.form.v1.FileField:
      description: "The FileField message.\n\nThis message contains a oneof named view. Only a single field of the following list may be set at a time:\n  - fileInputField\n\n\nThis message contains a oneof named _max_file_size. Only a single field of the following list may be set at a time:\n  - maxFileSize\n"
      nullable: true
      properties:
        acceptedFileTypes:
          description: The acceptedFileTypes field.
          items:
            type: string
          nullable: true
          readOnly: false
          type: array
        fileInputField:
          $ref: '#/components/schemas/c1.api.form.v1.FileInputField'
        maxFileSize:
          description: 'The maxFileSize field.

            This field is part of the `_max_file_size` oneof.

            See the documentation for `c1.api.form.v1.FileField` for more details.'
          format: int64
          nullable: true
          readOnly: false
          type: string
      title: File Field
      type: object
      x-speakeasy-name-override: FileField
    c1.api.automations.v1.AppUserUpdatedTrigger:
      description: "The AppUserUpdatedTrigger message.\n\nThis message contains a oneof named app_identifier. Only a single field of the following list may be set at a time:\n  - appId\n  - appIdCel\n"
      nullable: true
      properties:
        appId:
          description: 'The appId field.

            This field is part of the `app_identifier` oneof.

            See the documentation for `c1.api.automations.v1.AppUserUpdatedTrigger` for more details.'
          nullable: true
          readOnly: false
          type: string
        appIdCel:
          description: 'The appIdCel field.

            This field is part of the `app_identifier` oneof.

            See the documentation for `c1.api.automations.v1.AppUserUpdatedTrigger` for more details.'
          nullable: true
          readOnly: false
          type: string
        condition:
          description: The condition field.
          readOnly: false
          type: string
      title: App User Updated Trigger
      type: object
      x-speakeasy-name-override: AppUserUpdatedTrigger
    c1.api.automations.v1.GetAutomationResponse:
      description: The GetAutomationResponse message.
      properties:
        automation:
          $ref: '#/components/schemas/c1.api.automations.v1.Automation'
      title: Get Automation Response
      type: object
      x-speakeasy-name-override: GetAutomationResponse
    c1.api.automations.v1.GrantFoundTrigger:
      description: The GrantFoundTrigger message.
      nullable: true
      properties:
        grantTriggerFilter:
          $ref: '#/components/schemas/c1.api.automations.v1.GrantTriggerFilter'
      title: Grant Found Trigger
      type: object
      x-speakeasy-name-override: GrantFoundTrigger
    c1.api.automations.v1.SearchAutomationExecutionsResponse:
      description: The SearchAutomationExecutionsResponse message.
      properties:
        expanded:
          description: The expanded field.
          items:
            additionalProperties: true
            description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
            properties:
              '@type':
                description: The type of the serialized message.
                type: string
            readOnly: false
            type: object
          nullable: true
          readOnly: false
          type: array
        list:
          description: The list field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationExecutionView'
          nullable: true
          readOnly: false
          type: array
        nextPageToken:
          description: The nextPageToken field.
          readOnly: false
          type: string
      title: Search Automation Executions Response
      type: object
      x-speakeasy-name-override: SearchAutomationExecutionsResponse
    c1.api.automations.v1.DisabledReasonCircuitBreaker:
      description: The DisabledReasonCircuitBreaker message.
      nullable: true
      title: Disabled Reason Circuit Breaker
      type: object
      x-speakeasy-name-override: DisabledReasonCircuitBreaker
    c1.api.form.v1.AtLeastOne:
      description: The AtLeastOne message.
      nullable: true
      title: At Least One
      type: object
      x-speakeasy-name-override: AtLeastOne
    c1.api.form.v1.MutuallyExclusive:
      description: The MutuallyExclusive message.
      nullable: true
      title: Mutually Exclusive
      type: object
      x-speakeasy-name-override: MutuallyExclusive
    c1.api.automations.v1.Automation:
      description: "The Automation message.\n\nThis message contains a oneof named disabled_reason. Only a single field of the following list may be set at a time:\n  - circuitBreaker\n"
      properties:
        appId:
          description: the app id this workflow_template belongs to
          readOnly: false
          type: string
        automationSteps:
          description: The automationSteps field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationStep'
          nullable: true
          readOnly: false
          type: array
        circuitBreaker:
          $ref: '#/components/schemas/c1.api.automations.v1.DisabledReasonCircuitBreaker'
        context:
          $ref: '#/components/schemas/c1.api.automations.v1.AutomationContext'
        createdAt:
          format: date-time
          readOnly: false
          type: string
        currentVersion:
          description: The currentVersion field.
          format: int64
          readOnly: false
          type: string
        description:
          description: The description field.
          readOnly: false
          type: string
        displayName:
          description: The displayName field.
          readOnly: false
          type: string
        draftAutomationSteps:
          description: The draftAutomationSteps field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationStep'
          nullable: true
          readOnly: false
          type: array
        draftTriggers:
          description: The draftTriggers field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationTrigger'
          nullable: true
          readOnly: false
          type: array
        enabled:
          description: The enabled field.
          readOnly: false
          type: boolean
        id:
          description: The id field.
          readOnly: true
          type: string
        isDraft:
          description: The isDraft field.
          readOnly: false
          type: boolean
        lastExecutedAt:
          format: date-time
          readOnly: false
          type: string
        primaryTriggerType:
          description: The primaryTriggerType field.
          enum:
          - TRIGGER_TYPE_UNSPECIFIED
          - TRIGGER_TYPE_USER_PROFILE_CHANGE
          - TRIGGER_TYPE_APP_USER_CREATE
          - TRIGGER_TYPE_APP_USER_UPDATE
          - TRIGGER_TYPE_UNUSED_ACCESS
          - TRIGGER_TYPE_USER_CREATED
          - TRIGGER_TYPE_GRANT_FOUND
          - TRIGGER_TYPE_GRANT_DELETED
          - TRIGGER_TYPE_WEBHOOK
          - TRIGGER_TYPE_SCHEDULE
          - TRIGGER_TYPE_FORM
          - TRIGGER_TYPE_SCHEDULE_APP_USER
          - TRIGGER_TYPE_ACCESS_CONFLICT
          readOnly: false
          type: string
          x-speakeasy-unknown-values: allow
        triggers:
          description: The triggers field.
          items:
            $ref: '#/components/schemas/c1.api.automations.v1.AutomationTrigger'
          nullable: true
          readOnly: false
          type: array
      title: Automation
      type: object
      x-speakeasy-entity: Automation
      x-speakeasy-name-override: Automation
    validate.EnumRules:
      description: EnumRules describe the constraints applied to enum values
      nullable: true
      properties:
        const:
          description: Const specifies that this field must be exactly the specified value
          format: int32
          readOnly: false
          type: integer
        definedOnly:
          description: "DefinedOnly specifies that this field must be only one of the defined\n values for this enum, failing on any undefined value."
          readOnly: false
          type: boolean
        in:
          description: "In specifies that this field must be equal to one of the specified\n values"
          items:
            format: int32
            type: integer
          nullable: true
          readOnly: false
          type: array
        notIn:
          description: "NotIn specifies that this field cannot be equal to one of the specified\n values"
          items:
            format: int32
            type: integer
          nullable: true
          readOnly: false
          type: array
      title: Enum Rules
      type: object
      x-speakeasy-name-override: EnumRules
    validate.TimestampRules:
      description: "Time

# --- truncated at 32 KB (130 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/c1/refs/heads/main/openapi/c1-automations-api-openapi.yml