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

# Get Agent Me

> Get current agent's details (requires API key).

Returns agent status, balance, P&L, and claim information.
Uses the auth cache (L1 60s TTL) — no extra DB call needed since
validate_and_track_sdk_api_key_async already fetches all agent fields.

Query params:
    include: comma-separated optional sections to include (e.g. "pnl").
             PnL fetch is skipped by default to keep the endpoint fast.



## OpenAPI

````yaml /openapi.json get /api/sdk/agents/me
openapi: 3.1.0
info:
  title: Simmer API
  description: Agent-native trading infrastructure for prediction markets.
  version: 1.0.0
servers:
  - url: https://api.simmer.markets
security: []
paths:
  /api/sdk/agents/me:
    get:
      summary: Get Agent Me
      description: |-
        Get current agent's details (requires API key).

        Returns agent status, balance, P&L, and claim information.
        Uses the auth cache (L1 60s TTL) — no extra DB call needed since
        validate_and_track_sdk_api_key_async already fetches all agent fields.

        Query params:
            include: comma-separated optional sections to include (e.g. "pnl").
                     PnL fetch is skipped by default to keep the endpoint fast.
      operationId: api_get_agent_me_api_sdk_agents_me_get
      parameters:
        - name: include
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Include
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentMeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgentMeResponse:
      properties:
        agent_id:
          type: string
          title: Agent Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        status:
          type: string
          title: Status
        balance:
          type: number
          title: Balance
        sim_pnl:
          type: number
          title: Sim Pnl
        total_pnl:
          type: number
          title: Total Pnl
        total_pnl_percent:
          type: number
          title: Total Pnl Percent
        trades_count:
          type: integer
          title: Trades Count
        win_count:
          type: integer
          title: Win Count
        loss_count:
          type: integer
          title: Loss Count
        win_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Win Rate
        claimed:
          type: boolean
          title: Claimed
        claimed_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Claimed By
        real_trading_enabled:
          type: boolean
          title: Real Trading Enabled
        created_at:
          type: string
          title: Created At
        last_trade_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Trade At
        rate_limits:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Rate Limits
        upgrade_contact:
          anyOf:
            - type: string
            - type: 'null'
          title: Upgrade Contact
        sim_win_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sim Win Count
        sim_loss_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sim Loss Count
        sim_win_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Sim Win Rate
        polymarket_pnl:
          anyOf:
            - type: number
            - type: 'null'
          title: Polymarket Pnl
        polymarket_win_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Polymarket Win Count
        polymarket_loss_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Polymarket Loss Count
        polymarket_win_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Polymarket Win Rate
        kalshi_pnl:
          anyOf:
            - type: number
            - type: 'null'
          title: Kalshi Pnl
        kalshi_win_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Kalshi Win Count
        kalshi_loss_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Kalshi Loss Count
        kalshi_win_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Kalshi Win Rate
        auto_redeem_enabled:
          type: boolean
          title: Auto Redeem Enabled
          default: true
        creator_rewards:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Creator Rewards
        wallet_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Wallet Address
        wallet_ownership:
          anyOf:
            - type: string
            - type: 'null'
          title: Wallet Ownership
        wallet_uses_deposit_wallet:
          type: boolean
          title: Wallet Uses Deposit Wallet
          default: false
        deposit_wallet_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Deposit Wallet Address
        per_agent_wallet_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Per Agent Wallet Address
        per_agent_deposit_wallet_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Per Agent Deposit Wallet Address
        per_agent_dw_active:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Per Agent Dw Active
      type: object
      required:
        - agent_id
        - name
        - status
        - balance
        - sim_pnl
        - total_pnl
        - total_pnl_percent
        - trades_count
        - win_count
        - loss_count
        - claimed
        - real_trading_enabled
        - created_at
      title: AgentMeResponse
      description: Response from /agents/me endpoint.
    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:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````