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

# List an Automation's executions

> Returns the Automation's kickoff executions, newest first (`created_at` descending) unless `order_by` says otherwise.

Training runs, test runs, chat turns and crew runs nested inside a flow are not listed. Inputs, outputs
and errors are not part of this collection.




## OpenAPI

````yaml /openapi/platform-v1.yaml get /api/v1/automations/{automation_id}/executions
openapi: 3.0.1
info:
  title: CrewAI Platform API
  version: v1
  description: Supported public API for CrewAI Platform.
servers:
  - url: https://app.crewai.com
    description: Current CrewAI Platform host
security:
  - bearerAuth: []
tags:
  - name: Users
    description: Users in the organization.
  - name: Status
    description: Platform health and API availability.
  - name: Automations
    description: Automations, their source artifacts, and their executions.
  - name: Teams
    description: Teams in the organization.
  - name: Group Mappings
    description: Identity-provider group mappings to Teams.
  - name: Service Accounts
    description: Service accounts in the organization.
  - name: Webhook Endpoints
    description: Endpoints that receive signed event deliveries.
paths:
  /api/v1/automations/{automation_id}/executions:
    parameters:
      - name: automation_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          example: 4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a
    get:
      tags:
        - Automations
      summary: List an Automation's executions
      description: >
        Returns the Automation's kickoff executions, newest first (`created_at`
        descending) unless `order_by` says otherwise.


        Training runs, test runs, chat turns and crew runs nested inside a flow
        are not listed. Inputs, outputs

        and errors are not part of this collection.
      operationId: listAutomationExecutions
      parameters:
        - name: order_by
          in: query
          required: false
          description: >-
            Orders results by a comma-separated list of fields. Fields sort
            ascending by default; append ` asc` or ` desc` to set a direction.
            Supported fields: `id`, `created_at`. Default: `created_at desc,id
            asc`. Unless `id` is explicitly included, `id asc` is appended as a
            deterministic tie-breaker.
          schema:
            type: string
            example: id,created_at desc
        - name: page_size
          in: query
          required: false
          description: >-
            Maximum number of records to return. Defaults to 50; values above
            100 are reduced to 100. May change between pages.
          schema:
            type: integer
            minimum: 1
            default: 50
        - name: page_token
          in: query
          required: false
          description: >-
            Continues after the last record of a previous page. Pass
            `meta.next_page_token` from that response and repeat the same
            filtering and ordering arguments. Cannot be combined with a non-zero
            `skip`.
          schema:
            type: string
        - name: skip
          in: query
          required: false
          description: >-
            Number of records to skip from the start of the collection, to jump
            to a position without a `page_token`. The response still returns
            `meta.next_page_token` for continuing from there. Cannot be combined
            with a non-empty `page_token`.
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                success:
                  value:
                    data:
                      - id: 4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a
                        status: completed
                        source: schedule
                        executed_by:
                          type: User
                          id: f9630a31-1640-4f02-865b-3f92e4d99335
                        started_at: '2026-07-07T00:00:01Z'
                        finished_at: '2026-07-07T00:01:30Z'
                        created_at: '2026-07-07T00:00:00Z'
                        updated_at: '2026-07-07T00:00:00Z'
                    meta:
                      total_size: 1
                      next_page_token: null
                  summary: One page of executions
              schema:
                type: object
                required:
                  - data
                  - meta
                additionalProperties: false
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                        - id
                        - status
                        - source
                        - executed_by
                        - started_at
                        - finished_at
                        - created_at
                        - updated_at
                      additionalProperties: false
                      properties:
                        id:
                          type: string
                          format: uuid
                          example: 4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a
                        status:
                          type: string
                          enum:
                            - queued
                            - running
                            - cancelling
                            - waiting_for_input
                            - completed
                            - failed
                            - timed_out
                            - cancelled
                            - unknown
                          example: completed
                          description: >
                            Execution lifecycle status:

                            - `queued`: The execution was accepted and has not
                            started.

                            - `running`: The execution is running.

                            - `cancelling`: A cancellation was requested and the
                            execution is stopping.

                            - `waiting_for_input`: The execution is paused until
                            a person answers a human-input request.

                            - `completed`: The execution finished successfully.

                            - `failed`: The execution finished with an error.

                            - `timed_out`: The execution ran past its time
                            limit.

                            - `cancelled`: The execution was cancelled.

                            - `unknown`: The platform could not determine the
                            status.
                        source:
                          type: string
                          enum:
                            - api
                            - ui
                            - schedule
                            - trigger
                            - unknown
                          example: schedule
                          description: >
                            How the execution was started:

                            - `api`: A kickoff request to the platform API or to
                            the Automation's own URL.

                            - `ui`: A kickoff from the CrewAI web app.

                            - `schedule`: A scheduled kickoff.

                            - `trigger`: An event from a connected integration.

                            - `unknown`: The execution was started some other
                            way.
                        executed_by:
                          type: object
                          required:
                            - type
                            - id
                          additionalProperties: false
                          properties:
                            type:
                              type: string
                              example: User
                              enum:
                                - User
                              x-crewai-enum-format: freeform
                            id:
                              type: string
                              format: uuid
                              example: 4f6d0d9a-7b78-4c6a-b64f-2e2e3d2c8f9a
                          nullable: true
                          description: >-
                            The identity the execution ran as. Null when the
                            runtime did not report one.
                        started_at:
                          type: string
                          format: date-time
                          example: '2026-07-07T00:00:00Z'
                          nullable: true
                        finished_at:
                          type: string
                          format: date-time
                          example: '2026-07-07T00:00:00Z'
                          nullable: true
                        created_at:
                          type: string
                          format: date-time
                          example: '2026-07-07T00:00:00Z'
                        updated_at:
                          type: string
                          format: date-time
                          example: '2026-07-07T00:00:00Z'
                  meta:
                    type: object
                    required:
                      - total_size
                      - next_page_token
                    additionalProperties: false
                    properties:
                      total_size:
                        type: integer
                        minimum: 0
                        description: >-
                          Exact number of records in the filtered collection,
                          before `skip` and `page_size`.
                      next_page_token:
                        type: string
                        nullable: true
                        description: Token for the next page, or null on the last page.
        '400':
          description: Bad Request
          content:
            application/json:
              examples:
                invalid_page_size:
                  value:
                    errors:
                      - type: >-
                          https://docs-platform.crewai.com/api/problems/bad_request
                        code: bad_request
                        title: Bad request
                        status: 400
                        detail: page_size must be at least 1.
                  summary: Page size below 1
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                unauthorized:
                  value:
                    errors:
                      - type: >-
                          https://docs-platform.crewai.com/api/problems/unauthorized
                        code: unauthorized
                        title: Unauthorized
                        status: 401
                        detail: Missing or invalid bearer token.
                  summary: Missing or invalid bearer token
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not Found
          content:
            application/json:
              examples:
                not_found:
                  value:
                    errors:
                      - type: >-
                          https://docs-platform.crewai.com/api/problems/not_found
                        code: not_found
                        title: Not found
                        status: 404
                        detail: The requested resource could not be found.
                  summary: >-
                    Automation is outside the authenticated service account's
                    organization
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    ErrorEnvelope:
      type: object
      required:
        - errors
      additionalProperties: false
      properties:
        errors:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/Error'
    Error:
      type: object
      description: Public API error object.
      required:
        - type
        - code
        - title
        - status
        - detail
      additionalProperties: false
      properties:
        type:
          type: string
          format: uri
          enum:
            - https://docs-platform.crewai.com/api/problems/bad_request
            - https://docs-platform.crewai.com/api/problems/clipper_disabled
            - https://docs-platform.crewai.com/api/problems/clipper_disallowed
            - >-
              https://docs-platform.crewai.com/api/problems/clipper_feature_disabled
            - https://docs-platform.crewai.com/api/problems/clipper_not_found
            - https://docs-platform.crewai.com/api/problems/conflict
            - https://docs-platform.crewai.com/api/problems/forbidden
            - https://docs-platform.crewai.com/api/problems/internal_error
            - https://docs-platform.crewai.com/api/problems/not_found
            - https://docs-platform.crewai.com/api/problems/service_unavailable
            - >-
              https://docs-platform.crewai.com/api/problems/tool_execution_failed
            - https://docs-platform.crewai.com/api/problems/unauthorized
            - https://docs-platform.crewai.com/api/problems/validation_error
          example: https://docs-platform.crewai.com/api/problems/bad_request
        code:
          type: string
          enum:
            - bad_request
            - clipper_disabled
            - clipper_disallowed
            - clipper_feature_disabled
            - clipper_not_found
            - conflict
            - forbidden
            - internal_error
            - not_found
            - service_unavailable
            - tool_execution_failed
            - unauthorized
            - validation_error
          example: bad_request
        title:
          type: string
          x-crewai-enum-format: freeform
          enum:
            - Bad request
            - Clipper resource disabled
            - Clipper resource disallowed
            - Clipper feature disabled
            - Clipper resource not found
            - Conflict
            - Forbidden
            - Internal error
            - Not found
            - Service unavailable
            - Tool execution failed
            - Unauthorized
            - Validation error
          example: Bad request
        status:
          type: integer
          enum:
            - 400
            - 401
            - 403
            - 404
            - 409
            - 422
            - 500
            - 503
          example: 400
        detail:
          type: string
          example: The request is invalid.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque

````

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