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

# Retry the install-dependencies step

> Resets the install-deps provisioning step to Running and spawns a fresh install session. No-op (409) if a session is already running.



## OpenAPI

````yaml https://api.factory.ai/api/v0/openapi.json post /api/v0/computers/{computerId}/install-deps
openapi: 3.0.1
info:
  title: Factory Public API
  description: >-
    Public API for Factory platform. Requires authentication via the
    `Authorization: Bearer` header.
  version: 0.1.0
servers:
  - url: https://api.factory.ai/
    description: Production
security:
  - BearerAuth: []
paths:
  /api/v0/computers/{computerId}/install-deps:
    post:
      tags:
        - Computers
      summary: Retry the install-dependencies step
      description: >-
        Resets the install-deps provisioning step to Running and spawns a fresh
        install session. No-op (409) if a session is already running.
      operationId: retryInstallDeps
      parameters:
        - name: computerId
          in: path
          required: true
          schema:
            type: string
            description: Computer ID
      responses:
        '202':
          description: Response for status 202
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryInstallDeps202ResponseBody'
        '400':
          description: Response for status 400
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryInstallDeps400ResponseBody'
        '401':
          description: Response for status 401
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryInstallDeps401ResponseBody'
        '404':
          description: Response for status 404
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryInstallDeps404ResponseBody'
        '409':
          description: Response for status 409
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryInstallDeps409ResponseBody'
        '500':
          description: Response for status 500
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryInstallDeps500ResponseBody'
components:
  schemas:
    RetryInstallDeps202ResponseBody:
      type: object
      properties:
        id:
          type: string
        hostId:
          type: string
          format: uuid
        name:
          type: string
        hostname:
          type: string
        providerType:
          type: string
          enum:
            - byom
            - e2b
        status:
          type: string
          enum:
            - provisioning
            - active
            - error
        createdAt:
          type: number
        provisioningSteps:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              status:
                type: string
              error:
                type: string
              startedAt:
                type: number
              completedAt:
                type: number
              installSessionId:
                type: string
            required:
              - id
              - name
              - status
            additionalProperties: false
        relayClientUrl:
          type: string
          format: uri
        relayAgentUrl:
          type: string
          format: uri
        remoteUser:
          type: string
        ownerPrincipalKind:
          type: string
        ownerId:
          type: string
      required:
        - id
        - name
        - providerType
        - createdAt
      additionalProperties: false
    RetryInstallDeps400ResponseBody:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable error message
        status:
          type: number
          description: HTTP status code
        title:
          type: string
          description: HTTP status title
        metadata:
          type: object
          additionalProperties: {}
          description: Additional error metadata
      required:
        - detail
        - status
        - title
      additionalProperties: false
    RetryInstallDeps401ResponseBody:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable error message
        status:
          type: number
          description: HTTP status code
        title:
          type: string
          description: HTTP status title
        metadata:
          type: object
          additionalProperties: {}
          description: Additional error metadata
      required:
        - detail
        - status
        - title
      additionalProperties: false
    RetryInstallDeps404ResponseBody:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable error message
        status:
          type: number
          description: HTTP status code
        title:
          type: string
          description: HTTP status title
        metadata:
          type: object
          additionalProperties: {}
          description: Additional error metadata
      required:
        - detail
        - status
        - title
      additionalProperties: false
    RetryInstallDeps409ResponseBody:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable error message
        status:
          type: number
          description: HTTP status code
        title:
          type: string
          description: HTTP status title
        metadata:
          type: object
          additionalProperties: {}
          description: Additional error metadata
      required:
        - detail
        - status
        - title
      additionalProperties: false
    RetryInstallDeps500ResponseBody:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable error message
        status:
          type: number
          description: HTTP status code
        title:
          type: string
          description: HTTP status title
        metadata:
          type: object
          additionalProperties: {}
          description: Additional error metadata
      required:
        - detail
        - status
        - title
      additionalProperties: false
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Factory API key or JWT token for authentication

````