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

# Get favorite status of environment listing

> Retrieve the favorite status for a specific environment listing



## OpenAPI

````yaml https://console.gputrader.io/assets/gputrader-api.json get /environments/{envId}/listing/favorite
openapi: 3.1.1
info:
  title: GPU Trader API
  version: 0.4.16
  description: This is the Swagger/OpenAPI-compatible GPUTrader API documentation
servers:
  - url: https://api.gputrader.io/v1
security: []
tags: []
paths:
  /environments/{envId}/listing/favorite:
    get:
      tags:
        - Environments
      summary: Get favorite status of environment listing
      description: Retrieve the favorite status for a specific environment listing
      parameters:
        - in: path
          name: envId
          required: true
          schema:
            type: string
          description: Environment ID
      responses:
        '200':
          description: Successfully retrieved favorite status
          content:
            application/json:
              schema:
                type: boolean
                description: Current favorite status of the environment listing
                example: true
        '404':
          description: Environment not found
        '500':
          description: Internal server error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````