> ## 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 rental

> Retrieve detailed information about a specific rental



## OpenAPI

````yaml https://console.gputrader.io/assets/gputrader-api.json get /rentals/{rentalId}
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:
  /rentals/{rentalId}:
    get:
      tags:
        - Rentals
      summary: Get rental
      description: Retrieve detailed information about a specific rental
      parameters:
        - in: path
          name: rentalId
          required: true
          schema:
            type: string
          description: Rental ID
        - in: query
          name: excludeStacks
          required: false
          schema:
            type: boolean
            default: false
          description: Whether to exclude stack information from the response
      responses:
        '200':
          description: Successfully retrieved rental information
          content:
            application/json:
              schema:
                type: object
                properties:
                  rentalId:
                    type: string
                    description: Unique identifier for the rental
                  listing:
                    type: object
                    description: Environment listing details
                  userId:
                    type: string
                    description: ID of the user who created the rental
                  startDate:
                    type: string
                    format: date-time
                    description: Start date and time of the rental
                  endDate:
                    type: string
                    format: date-time
                    description: End date and time of the rental
                  name:
                    type: string
                    description: Name of the rental instance
                    default: My Instance
                  status:
                    type: string
                    enum:
                      - ACTIVE
                      - COMPLETE
                    description: Current status of the rental
                  createdAt:
                    type: string
                    format: date-time
                    description: Timestamp when the rental was created
                  updatedAt:
                    type: string
                    format: date-time
                    description: Timestamp when the rental was last updated
                  isSeed:
                    type: boolean
                    description: Indicates if this is a seed rental
        '404':
          description: Rental not found
        '500':
          description: Internal server error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````