Graph Swiss API
    • Introduction
    • Quickstart
    • Authentication
    • Base URL
    • Errors
    • Request ID
    • Conventions
    • API
      • Health
        • Liveness probe
      • Companies
        • Search companies
        • AI-powered company search
        • Get company by ID
        • Get company journal summaries
        • Get full SHAB journal texts
        • Get detailed company report
      • Persons
        • Search persons
        • Get person by ID
      • Stocks
        • List active Swiss stock symbols
        • Get real-time stock quote
        • Get current stock price
        • Get historical OHLCV data
        • Get latest end-of-day data
        • Get company profile and statistics
        • Get income statement, balance sheet, and cash flow
        • Get key executives for a stock
    • Schemas
      • StockSymbol
      • Error
      • StockQuote
      • Company
      • StockPrice
      • CompanyDetail
      • StockHistoryValue
      • Code
      • StockHistory
      • CompanyWithRelations
      • StockEod
      • CompanyListPage
      • StockProfile
      • Person
      • StockIncomeStatement
      • ShabJournal
      • StockBalanceSheet
      • PersonCompanyLink
      • StockCashFlow
      • PersonWithCompanies
      • StockFinancials
      • PersonListPage
      • StockKeyExecutive

    Request ID

    Every response carries a request ID — a UUID that uniquely identifies the request end-to-end. It is the single most useful piece of information you can attach to a support ticket.

    At a glance#

    HeaderX-Request-Id
    DirectionResponse only
    FormatUUID v4
    Generated byThe API, on every request

    Reading the ID#

    The API returns X-Request-Id on every response — success or error.
    The header name is case-insensitive in HTTP, so X-Request-Id, x-request-id, and X-REQUEST-ID are equivalent.

    What you should do with it#

    Log it on every response. Put X-Request-Id in your structured logs alongside the URL and status code.
    Quote it in support tickets. "Got a 502 around 13:42 UTC, request ID 0f4b2e2e-9c2a-4d2c-8b91-3a86d5f6f1c7" turns a multi-hour investigation into a one-minute lookup.

    Inside the response body#

    A few endpoints surface the request ID inside the JSON body too — for example, the INTERNAL_ERROR envelope includes a request_id field for convenience. The header is the canonical place to read it; the body is a debugging aid.
    Modified at 2026-05-01 01:19:35
    Previous
    Errors
    Next
    Conventions
    Built with