:doc:`NovaActService <../../nova-act>` / Client / list_acts

*********
list_acts
*********



.. py:method:: NovaActService.Client.list_acts(**kwargs)

  

  Lists all acts within a specific session with their current status and execution details.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/nova-act-2025-08-22/ListActs>`_  


  **Request Syntax**
  ::

    response = client.list_acts(
        workflowDefinitionName='string',
        workflowRunId='string',
        sessionId='string',
        maxResults=123,
        nextToken='string',
        sortOrder='Ascending'|'Descending'
    )
    
  :type workflowDefinitionName: string
  :param workflowDefinitionName: **[REQUIRED]** 

    The name of the workflow definition containing the session.

    

  
  :type workflowRunId: string
  :param workflowRunId: 

    The unique identifier of the workflow run containing the session.

    

  
  :type sessionId: string
  :param sessionId: 

    The unique identifier of the session to list acts for.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of acts to return in a single response.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for retrieving the next page of results.

    

  
  :type sortOrder: string
  :param sortOrder: 

    The sort order for the returned acts (ascending or descending).

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'actSummaries': [
              {
                  'workflowRunId': 'string',
                  'sessionId': 'string',
                  'actId': 'string',
                  'status': 'RUNNING'|'PENDING_CLIENT_ACTION'|'PENDING_HUMAN_ACTION'|'SUCCEEDED'|'FAILED'|'TIMED_OUT',
                  'startedAt': datetime(2015, 1, 1),
                  'endedAt': datetime(2015, 1, 1),
                  'traceLocation': {
                      'locationType': 'S3',
                      'location': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **actSummaries** *(list) --* 

        A list of summary information for acts in the session.

        
        

        - *(dict) --* 

          Summary information about an act, including its status and execution timing.

          
          

          - **workflowRunId** *(string) --* 

            The unique identifier of the workflow run containing this act.

            
          

          - **sessionId** *(string) --* 

            The unique identifier of the session containing this act.

            
          

          - **actId** *(string) --* 

            The unique identifier of the act.

            
          

          - **status** *(string) --* 

            The current execution status of the act.

            
          

          - **startedAt** *(datetime) --* 

            The timestamp when the act started execution.

            
          

          - **endedAt** *(datetime) --* 

            The timestamp when the act completed execution, if applicable.

            
          

          - **traceLocation** *(dict) --* 

            The location where trace information for this act is stored.

            
            

            - **locationType** *(string) --* 

              The type of storage location for the trace data.

              
            

            - **location** *(string) --* 

              The specific location where the trace data is stored.

              
        
      
    
      

      - **nextToken** *(string) --* 

        The token for retrieving the next page of results, if available.

        
  
  **Exceptions**
  
  *   :py:class:`NovaActService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NovaActService.Client.exceptions.ConflictException`

  
  *   :py:class:`NovaActService.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NovaActService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NovaActService.Client.exceptions.InternalServerException`

  
  *   :py:class:`NovaActService.Client.exceptions.ValidationException`

  