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

# Retry a failed row

> Retries one row of the results table. `node` retries from a failed step, `workflow` retries the row's run, and `restart` runs the row again from the start with its original trigger data. Refused with 409 `ROWS_ALREADY_RUNNING` while the row is running. Needs edit access and enough credits.




## OpenAPI

````yaml /openapi/automations.yaml post /workflows/{workflowId}/retry
openapi: 3.1.0
info:
  title: Connie Automations API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for automations. They authenticate with
    your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Workflows
    description: List, create, read, update and delete workflows.
  - name: Runs
    description: >-
      Start, retry and stop workflow runs, switch a workflow Live, and read run
      counts.
  - name: Triggers
    description: A workflow's triggers and its schedule settings.
  - name: Templates
    description: The template gallery and copying a template into a workspace.
  - name: Agents
    description: Agents on the Agents page.
paths:
  /workflows/{workflowId}/retry:
    post:
      tags:
        - Runs
      summary: Retry a failed row
      description: >
        Retries one row of the results table. `node` retries from a failed step,
        `workflow` retries the row's run, and `restart` runs the row again from
        the start with its original trigger data. Refused with 409
        `ROWS_ALREADY_RUNNING` while the row is running. Needs edit access and
        enough credits.
      operationId: retryWorkflowRow
      parameters:
        - $ref: '#/components/parameters/workflowId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - retryType
                - rowId
              properties:
                retryType:
                  type: string
                  enum:
                    - node
                    - workflow
                    - restart
                rowId:
                  type: string
                  format: uuid
                  description: The row in the workflow's results table.
                nodeId:
                  type: string
                  description: The step to retry. Required unless `retryType` is `restart`.
      responses:
        '200':
          description: The retry started.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  retryType:
                    type: string
                  nodeId:
                    type: string
                  rowId:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: >-
            The workflow, the row, or the row's original trigger data wasn't
            found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The row is already running. Stop it first.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Couldn't check whether the row is already running. Try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    workflowId:
      name: workflowId
      in: path
      required: true
      description: >-
        The workflow's id, as in
        `https://connie.ai/<workspace-id>/workflows/<workflow-id>`.
      schema:
        type: string
        format: uuid
  responses:
    BadRequest:
      description: The request is invalid (code `VALIDATION_ERROR`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: >-
        Not signed in (`UNAUTHORIZED`), or the session cookie has expired
        (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InsufficientCredits:
      description: Not enough credits to run (`INSUFFICIENT_CREDITS`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        You aren't a member of the workspace, or don't have the access this
        needs.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when there is one.
        details:
          description: Extra detail, for example the invalid fields.
      required:
        - error
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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