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

# Batch get runs

> Fetch multiple workflow runs by ID in one request.



## OpenAPI

````yaml POST /v1/runs/batch
openapi: 3.1.0
info:
  title: Magica REST API
  version: 1.0.0
  description: >-
    REST API for managing Magica resources. Authenticate public endpoints with
    your Magica API key: Authorization: Bearer gx_xxx.
servers:
  - url: https://api.magica.com/api
security:
  - bearerAuth: []
paths:
  /v1/runs/batch:
    post:
      tags:
        - Public REST
      summary: POST /api/v1/runs/batch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              description: GetManyRunsInputSchema
      responses:
        '200':
          description: OK
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````