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

# GetEvalLeaderboardAPI mirrors erdo_get_eval_leaderboard.




## OpenAPI

````yaml /api/openapi.json get /v1/evals/leaderboard/{suiteSlug}
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, and experiments. Authenticate with
    a Bearer API key (erdo_api_...) or scoped token (erdo_token_...).
  version: '2026-08-15'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/evals/leaderboard/{suiteSlug}:
    get:
      summary: |
        GetEvalLeaderboardAPI mirrors erdo_get_eval_leaderboard.
      operationId: GET:mcp.GetEvalLeaderboardAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: suiteSlug
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: true
          in: query
          name: days
          required: false
          schema:
            format: int32
            maximum: 2147483647
            minimum: -2147483648
            type: integer
          style: form
        - allowEmptyValue: true
          explode: true
          in: query
          name: suite_slug
          required: false
          schema:
            type: string
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  days:
                    format: int32
                    type: integer
                  models:
                    items:
                      type: string
                    type: array
                  rows:
                    items:
                      properties:
                        case_id:
                          format: uuid
                          type: string
                        case_name:
                          type: string
                        cells:
                          items:
                            properties:
                              avg_cost_millicents:
                                format: double
                                type: number
                              avg_duration_ms:
                                format: double
                                type: number
                              avg_score:
                                format: double
                                type: number
                              avg_tokens:
                                format: double
                                type: number
                              model:
                                type: string
                              'n':
                                type: integer
                              pass_rate:
                                format: double
                                type: number
                            type: object
                          type: array
                      type: object
                    type: array
                  summary:
                    items:
                      properties:
                        avg_cost_millicents:
                          format: double
                          type: number
                        avg_duration_ms:
                          format: double
                          type: number
                        avg_score:
                          format: double
                          type: number
                        model:
                          type: string
                        'n':
                          type: integer
                        pass_rate:
                          format: double
                          type: number
                      type: object
                    type: array
                  suite_slug:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````