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

# Get agent engine information (public)

> Returns which execution engine the agent uses - used for routing between old and new engines



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/runtime/agents/{id}/engine-info
openapi: 3.0.0
info:
  title: Runflow Runtime API
  description: >-
    Programmatic surface for the Runflow platform — used by the SDK, the CLI,
    the execution engine, and any server-to-server caller. Authenticate with an
    `x-api-key` header (or `Authorization: Bearer ...`).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.runflow.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags: []
paths:
  /api/v1/runtime/agents/{id}/engine-info:
    get:
      tags:
        - Runtime API - Agents Management
      summary: Get agent engine information (public)
      description: >-
        Returns which execution engine the agent uses - used for routing between
        old and new engines
      operationId: RuntimeAgentsController_getEngineInfo
      parameters:
        - name: id
          required: true
          in: path
          description: Agent UUID
          schema:
            type: string
        - name: token
          required: true
          in: query
          description: Agent token for authentication
          schema:
            type: string
      responses:
        '200':
          description: Engine info retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  agentId:
                    type: string
                  tenantId:
                    type: string
                  newEngine:
                    type: boolean
                  executorUrl:
                    type: string
      security:
        - bearer: []
components: {}

````