Hermeseus

Session history

List the recent API calls made under a session, for debugging and audit.

POST/Common/SessionHistory

Access requires the permission credit_balance

Returns the logged requests for your session in the order they happened. Pass a TargetSessionId to inspect another session your account owns.

Path parameters

None.

Query parameters

None.

Body parameters

NameTypeRequiredDescription
SessionIdstringYesYour session id.
TargetSessionIdstringNoAnother session to inspect. Defaults to the current one.

Request

curl -X POST https://api.hermeseus.com/api/Common/SessionHistory \
  -H "Content-Type: application/json" \
  -d '{ "SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f" }'
const res = await fetch("https://api.hermeseus.com/api/Common/SessionHistory", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ SessionId: "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f" })
});

const data = await res.json();
import requests

res = requests.post(
    "https://api.hermeseus.com/api/Common/SessionHistory",
    json={"SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f"},
)

data = res.json()

Response

FieldTypeDescription
Successbooleantrue on success.
SessionIdstringThe session the history is for.
RequestCountintegerNumber of logged requests.
Requestsarray of objectThe calls, oldest first. See below.
Errorobjectnull on success.
Requests[] object
FieldTypeDescription
IdintegerLog id.
EndpointstringThe path called.
MethodstringHTTP method.
RequestBodyobjectThe body sent.
ResponseBodyobjectThe body returned.
HttpStatusintegerHTTP status code.
SuccessbooleanWhether the call succeeded.
ErrorIdstringError code, when the call failed.
ResponseTimeMsintegerTotal response time in milliseconds.
CreatedAtstringISO 8601 timestamp.
{
  "Success": true,
  "SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
  "RequestCount": 1,
  "Requests": [
    {
      "Id": 90271,
      "Endpoint": "Air/AirLowFareSearch",
      "Method": "POST",
      "RequestBody": { "AdultCount": 1 },
      "ResponseBody": { "Success": true, "SearchId": 428713 },
      "HttpStatus": 200,
      "Success": true,
      "ErrorId": null,
      "ResponseTimeMs": 842,
      "CreatedAt": "2026-10-15T16:24:49+00:00"
    }
  ],
  "Error": null
}

Errors

CodeMeaningFix
Err0106002SessionId is missing.Send your session id.