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

# Resume an existing run

> Resumes an existing run, setting its status back to RUNNING. Returns the same response format as create. Use this when you want to log additional data (e.g., evaluation metrics) to a previously completed run. Provide exactly one of: runId (numeric), displayId (e.g., 'MMP-1'), or externalId (user-provided).



## OpenAPI

````yaml /pluto/api-reference/openapi.json post /api/runs/resume
openapi: 3.0.0
info:
  title: mlop API
  version: 1.0.0
  description: API for mlop - ML experiment tracking platform
servers:
  - url: https://pluto-api.trainy.ai
    description: API Server
security:
  - bearerAuth: []
paths:
  /api/runs/resume:
    post:
      tags:
        - Runs
      summary: Resume an existing run
      description: >-
        Resumes an existing run, setting its status back to RUNNING. Returns the
        same response format as create. Use this when you want to log additional
        data (e.g., evaluation metrics) to a previously completed run. Provide
        exactly one of: runId (numeric), displayId (e.g., 'MMP-1'), or
        externalId (user-provided).
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                runId:
                  type: number
                  description: Numeric ID of the run to resume
                  example: 123
                displayId:
                  type: string
                  description: Human-readable display ID (e.g., 'MMP-1')
                  example: MMP-1
                externalId:
                  type: string
                  description: User-provided external ID
                  example: my-training-run-v1
                projectName:
                  type: string
                  description: >-
                    Project name (required when using externalId, since
                    externalId is scoped to a project)
                  example: my-project
      responses:
        '200':
          description: Run resumed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResumeRunResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Run not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    ResumeRunResponse:
      type: object
      properties:
        runId:
          type: number
          description: Numeric ID of the resumed run
        number:
          type: number
          nullable: true
          description: Sequential run number within the project
        displayId:
          type: string
          nullable: true
          description: Human-readable display ID (e.g., 'MMP-1')
        projectName:
          type: string
          description: Name of the project
        organizationSlug:
          type: string
          description: Organization slug
        url:
          type: string
          description: URL to view the run
        resumed:
          type: boolean
          description: Always true for this endpoint
      required:
        - runId
        - number
        - displayId
        - projectName
        - organizationSlug
        - url
        - resumed
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key obtained from the mlop dashboard

````