# Get Message Trace

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v1/message/trace/{messageId}:
    get:
      summary: Get Message Trace
      deprecated: false
      description: Retrieve token info of a message
      tags:
        - DIY Plan Endpoints
      parameters:
        - name: messageId
          in: path
          description: the unique identifier of our AI image generation request
          required: true
          example: d15c1541-229a-442b-9873-d3494dede12a
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  messageId:
                    type: string
                  tokenId:
                    type: string
                  discordChannelId:
                    type: string
                  tokenStatus:
                    type: string
                  tokenInfo:
                    type: object
                    properties: {}
                    x-apifox-orders: []
                x-apifox-orders:
                  - messageId
                  - tokenId
                  - discordChannelId
                  - tokenStatus
                  - tokenInfo
                required:
                  - messageId
                  - tokenId
              example:
                messageId: xxxxxx-4517-xxxx-xxxx-xxxxxxxxx
                tokenId: 111
                discordChannelId: '125000000000000'
                tokenStatus: FAST
                tokenInfo:
                  jobMode: Fast
                  message: ''
                  runningJobs: None
                  relaxedUsage: 1000 images
                  subscription: Standard (Active monthly, renews next on <t:xxx>)
                  lifetimeUsage: 2000 images
                  queuedJobsFast: '0'
                  visibilityMode: Public
                  queuedJobsRelax: '0'
                  fastTimeRemaining: 15.00/15.0 hours (100.00%)
          headers: {}
          x-apifox-name: Success
      security:
        - bearer: []
      x-apifox-folder: DIY Plan Endpoints
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-236382162-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.imaginepro.ai
    description: Prod Env
security: []

```
