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

# Retry failed evaluations

> Retry one or more failed evaluations. Requires permission to update them. Non-admin users are limited by EVALUATION_MAX_RETRIES. See [Evaluations](https://docs.galtea.ai/concepts/product/version/session/evaluation).

> [!WARNING]
>
> You are reading the docs of Galtea 5.10. [Read this page in the latest version](https://docs.galtea.ai/api-reference/evaluations/retry-failed-evaluations.md).


## OpenAPI

````yaml /v5.10/openapi.json post /evaluations/retry
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /evaluations/retry:
    post:
      tags:
        - evaluations
      summary: Retry failed evaluations
      description: >-
        Retry one or more failed evaluations. Requires permission to update
        them. Non-admin users are limited by EVALUATION_MAX_RETRIES. See
        [Evaluations](https://docs.galtea.ai/concepts/product/version/session/evaluation).
      operationId: retryEvaluations
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RetryEvaluationsBody'
      responses:
        '202':
          description: Retry request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetryEvaluationsResult'
        '400':
          description: Bad request - invalid evaluation IDs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - the user may not update these evaluations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    RetryEvaluationsBody:
      type: object
      properties:
        ids:
          type: array
          items:
            type: string
          minItems: 1
          example:
            - id_1
            - id_2
          description: Array of evaluation IDs to retry
      required:
        - ids
    RetryEvaluationsResult:
      type: object
      properties:
        retried:
          type: integer
          description: >-
            Number of evaluations successfully queued for retry. Includes a
            human-evaluation row, which is sent back to the annotation queue
            rather than to the evaluator
        skipped:
          type: integer
          description: >-
            Number of evaluations not retried because they are not retryable,
            are over the retry limit, still miss the data their metric needs, or
            the caller's organization lacks credits. `errors` names the cause
        errors:
          type: array
          items:
            type: string
          description: One message per evaluation that was not retried, naming why
      required:
        - retried
        - skipped
        - errors
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````

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