Get a GPT session by ID

With navcode auth, returns 404 if the session does not belong to the authenticated user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Identifier

Query Params
string

Expand allows you to return additional fields that are not included in the default fields (comma-separated list).

Supported fields:

  • escalated: Whether the session was escalated to human support (0/1)
  • first_question: The first user question in the session (truncated to 120 characters)
  • messages: Include the full message history for this session
  • source: Origin channel (e.g. app, web, testing)
  • testing: Whether the session is flagged as a test session (0/1)
string

Fields allows you to return a subset of the default fields (comma-separated list).

Supported fields:

  • asset_id: Associated asset ID (if the session is scoped to a specific asset)
  • created_ts: Session creation timestamp
  • data: Session-specific data payload
  • external_id: Customer's own identifier for this session
  • guid: Session GUID
  • id: Session ID
  • language: Session language code (e.g. en)
  • product_id: Product this session belongs to
  • user_id: End user who started the session
  • user_level: Access level of the end user
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json