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

# Get Available Metadata Keys

> List the metadata keys available for filtering evaluations.

Returns the distinct metadata keys present on the account's evaluations, plus the built-in
`status` and `tag` keys, sorted alphabetically. Use the returned keys to build requests to the
evaluations filter endpoint.



## OpenAPI

````yaml https://api.dev-sgp.scale.com/openapi-versions/v5/openapi.json get /v5/evaluations/metadata-keys
openapi: 3.1.0
info:
  title: EGP API V5
  description: >-
    This is the parent API for all EGP APIs. If you are looking for the EGP API,
    please go to https://api.egp.scale.com/docs.
  contact:
    name: Scale Generative AI Platform
    url: https://scale.com/genai-platform
  version: 0.1.0
servers:
  - url: https://api.egp.scale.com
security: []
paths:
  /v5/evaluations/metadata-keys:
    get:
      tags:
        - Evaluations
      summary: Get Available Metadata Keys
      description: >-
        List the metadata keys available for filtering evaluations.


        Returns the distinct metadata keys present on the account's evaluations,
        plus the built-in

        `status` and `tag` keys, sorted alphabetically. Use the returned keys to
        build requests to the

        evaluations filter endpoint.
      operationId: GET-V5-/v5/evaluations/metadata-keys
      parameters:
        - name: x-selected-account-id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Account ID Header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetadataKeysResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    MetadataKeysResponse:
      properties:
        object:
          type: string
          const: metadata_keys_response
          title: Object
          default: metadata_keys_response
        keys:
          items:
            type: string
          type: array
          title: Keys
          description: List of available metadata keys for filtering
      type: object
      required:
        - keys
      description: Response model for available metadata keys
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          title: Error Type
          type: string
        input:
          title: Input
        ctx:
          type: object
          title: Context
          additionalProperties: true
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````