Skip to main content
GET
/
v1
/
sessions
/
{id}
curl --request GET \
  --url https://api.neyrs.cloud/v1/sessions/session_abc123def456 \
  --header 'Authorization: Bearer neyrs_live_abc123def456'
{
  "sessionId": "session_abc123def456",
  "walletAddress": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
  "status": "active",
  "messageCount": 12,
  "createdAt": "2024-03-08T14:30:00Z",
  "expiresAt": "2024-03-09T14:30:00Z",
  "lastActivity": "2024-03-08T15:45:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neyrs.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorization

Authorization
string
required
Bearer token. Format: Bearer neyrs_live_abc123def456

Path Parameters

id
string
required
Session ID. Format: session_<16 chars>

Response

sessionId
string
Unique session identifier
walletAddress
string
Connected wallet address
status
string
Session status. Options: active, expired, terminated
messageCount
number
Total messages in session
createdAt
string
ISO 8601 timestamp of session creation
expiresAt
string
ISO 8601 timestamp of session expiration
lastActivity
string
ISO 8601 timestamp of last message
curl --request GET \
  --url https://api.neyrs.cloud/v1/sessions/session_abc123def456 \
  --header 'Authorization: Bearer neyrs_live_abc123def456'
{
  "sessionId": "session_abc123def456",
  "walletAddress": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
  "status": "active",
  "messageCount": 12,
  "createdAt": "2024-03-08T14:30:00Z",
  "expiresAt": "2024-03-09T14:30:00Z",
  "lastActivity": "2024-03-08T15:45:00Z"
}