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

# List a sequence's team calls

> Every call a sequence's team-called voice steps placed, newest first: who was called, how the call ended, and which agent took it.

`status` is `dialing` while the call is live and `done` once it ended. `result` is `answered` when an agent took the call, `missed` when the person picked up while every agent was busy, or the carrier's `no_answer`, `busy` or `failed`. The agent who took the call can change `answered` to `voicemail` or `wrong_number`; `corrected` is then `true`.

Filter by `step_index` or `result`, and page with `before` set to the previous page's `next_before`. Calls placed by the AI are not listed here; read them on the [contact events](https://docs.open.cx/api-reference/sequences/get-contact-events.md).


## OpenAPI

````yaml get /sequences/{sequenceId}/call-attempts
openapi: 3.1.0
info:
  title: OpenCX API
  description: >

    OpenCX is an AI-powered, all-in-one platform for customer support and
    outbound communications.


    Use this API to manage your OpenCX organization's AI agents, actions,
    conversations, contacts, and more.


    To get started, generate a new API key from the dashboard.


    ## Authentication

    All API endpoints require authentication using a Bearer token. You can
    generate an API key from your OpenCX dashboard.


    ## Rate Limiting

    API requests are rate limited to ensure fair usage. The current limits are:

    - 100 requests per minute for standard endpoints

    - 1000 requests per minute for streaming endpoints


    ## Error Handling

    The API uses standard HTTP status codes and returns detailed error messages
    in the response body.
  version: 1.0-beta
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: http://localhost:8080
    description: Development
  - url: https://api.open.cx
    description: Production
security:
  - bearerAuth: []
paths:
  /sequences/{sequenceId}/call-attempts:
    get:
      summary: List a sequence's team calls
      description: >-
        Every call a Human voice step placed for a team, newest first: who was
        called, whether the call is still live, how it ended, which agent took
        it, and whether that agent corrected the result. Filter by step or
        result; page with `before`. AI voice steps are not listed here — their
        outcomes are on the contact events.
      operationId: listSequenceCallAttempts
      parameters:
        - schema:
            type: integer
            minimum: 0
            maximum: 9007199254740991
          in: query
          name: step_index
          required: false
        - schema:
            type: string
            enum:
              - answered
              - no_answer
              - busy
              - failed
              - missed
              - voicemail
              - wrong_number
          in: query
          name: result
          required: false
        - schema:
            default: 50
            type: integer
            minimum: 1
            maximum: 200
          in: query
          name: limit
          required: false
        - schema:
            type: string
            minLength: 1
            maxLength: 200
          in: query
          name: before
          required: false
          description: >-
            Page cursor: the `next_before` of the previous page, passed back as
            is.
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: path
          name: sequenceId
          required: true
          description: The unique identifier of the sequence
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SequenceCallAttemptsDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    SequenceCallAttemptsDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/SequenceCallAttemptsDto'
      type: object
      properties:
        attempts:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              contact_id:
                type: string
                format: uuid
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                description: The person in the sequence (their contact id).
              step_index:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              team_id:
                type: string
              status:
                type: string
                enum:
                  - dialing
                  - done
                description: '"dialing" while the call is live, then "done".'
              result:
                anyOf:
                  - type: string
                    enum:
                      - answered
                      - no_answer
                      - busy
                      - failed
                      - missed
                      - voicemail
                      - wrong_number
                  - type: 'null'
                description: >-
                  How the call ended: answered (an agent took it), no_answer,
                  busy, failed, missed (picked up, but no agent was free),
                  voicemail, wrong_number. null while live.
              answered_by:
                anyOf:
                  - type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  - type: 'null'
                description: The agent (user id) who took the call.
              corrected:
                type: boolean
                description: The agent who took the call changed its result.
              session_id:
                description: The call's inbox session.
                type:
                  - string
                  - 'null'
              dialed_at:
                type: string
                format: date-time
              completed_at:
                anyOf:
                  - type: string
                    format: date-time
                  - type: 'null'
            required:
              - id
              - contact_id
              - step_index
              - team_id
              - status
              - result
              - answered_by
              - corrected
              - session_id
              - dialed_at
              - completed_at
            additionalProperties: false
        next_before:
          description: >-
            Opaque cursor: pass as `before` for the next (older) page; null on
            the last page.
          type:
            - string
            - 'null'
      required:
        - attempts
        - next_before
      additionalProperties: false
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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