Skip to content

Account · Account and platform

Account requests

Your recent requests.
GET/v1/account/requestsaccountRequests
On this page

The account's own request log, newest first, for the last seven days: every REST call, MCP call, export call and WebSocket connection made with any of its keys. Only the calling account's requests are ever returned. query has credential-like parameters removed. This call appears in the log after it completes. meta.coverage.durable is false when the log is held in memory only and resets on a restart.

Example request

curl -sS "https://api.ordermap.si/v1/account/requests" \
  -H "Authorization: Bearer $ORDERMAP_API_KEY"

Set ORDERMAP_API_KEY to your key. Replace the dates with a recent trading date.

Parameters

6 parameters, none required.

ParameterType and limitsDescription
start_timequeryoptionalintegerunix-msmin 946684800000max 4102444800000Only requests at or after this time. Defaults to the start of the 7-day retention window.
end_timequeryoptionalintegerunix-msmin 946684800000max 4102444800000Only requests before this time. Defaults to now.
statusqueryoptionalstringat most 3 characterspattern ^([1-5][0-9]{2}|[1-5][xX]{2})$Only responses with this HTTP status (for example 429) or class of statuses (2xx, 3xx, 4xx or 5xx).
routequeryoptionalstringat most 200 characterspattern ^/[A-Za-z0-9/_{}*.-]{0,199}$Only requests to this route template, for example /v1/options/flow.
limitqueryoptionalintegerdefault 100min 1max 500Maximum rows to return.
cursor_idqueryoptionalstringat most 1024 charactersOpaque cursor returned as pagination.next_cursor_id; resumes the same query on the next page.

Response

StatusMeaningBody
200Successful response.Schema below
400Invalid, unknown or repeated parameters, or an invalid cursor.Error object
401Missing or invalid API key.Error object
403The plan, dataset release or account state does not allow this request.Error object
429Rate limit, burst limit or cooldown; wait Retry-After seconds.Retry-AfterError object
500Internal error.Error object
503Data temporarily unavailable; retry after Retry-After seconds.Retry-AfterError object
504The request timed out.Error object

Authenticated responses carry the X-RateLimit-* headers (see rate limits); 429 and 503 add Retry-After.

200 response body

  • dataarray<object>required19 fields inside
    • bytes_outintegerrequiredResponse bytes sent (after compression).
    • client_ipstringrequiredClient address as seen by the API.
    • duration_msnumberrequiredTime to produce the response, in milliseconds.
    • error_codestring | nullrequiredError code of a failed request, otherwise null.
    • key_prefixstringrequiredPublic prefix of the key that made the request.
    • methodstringrequiredHTTP method.
    • pathstringrequiredRequest path.
    • querystringrequiredQuery string as sent, with credential-like parameters removed.
    • request_idstringrequiredThe X-Request-ID of the request.
    • routestringrequiredRoute template, for example /v1/options/flow.
    • rowsintegerrequiredRows in the response.
    • statusintegerrequiredHTTP status (101 for a WebSocket upgrade).
    • timestampintegerunix-msrequiredWhen the request was received. Unix epoch milliseconds (UTC).
    • user_agentstringrequiredUser-Agent header.
    • ws_bytes_outinteger | nullrequiredBytes sent over a closed WebSocket connection; set on its closing summary row.
    • ws_close_codeinteger | nullrequiredClose code of a closed WebSocket connection; set on its closing summary row.
    • ws_duration_msinteger | nullrequiredDuration of a closed WebSocket connection in milliseconds; set on its closing summary row.
    • ws_event_typestring | nullrequiredWebSocket event type; null on other requests.
    • ws_messages_outinteger | nullrequiredMessages sent over a closed WebSocket connection; set on its closing summary row.
  • metaobjectrequiredMeta object
  • paginationobjectrequiredPagination object

Example response

{
  "data": [
    {
      "bytes_out": 18234,
      "client_ip": "203.0.113.7",
      "duration_ms": 41.2,
      "error_code": null,
      "key_prefix": "om_abcd1234",
      "method": "GET",
      "path": "/v1/options/flow",
      "query": "underlying_symbol=SPX&limit=100",
      "request_id": "0199f3c2-5b1e-7a40-9d3c-2f6b8e1a4c70",
      "route": "/v1/options/flow",
      "rows": 100,
      "status": 200,
      "timestamp": 1760659200123,
      "user_agent": "curl/8.7.1",
      "ws_bytes_out": null,
      "ws_close_code": null,
      "ws_duration_ms": null,
      "ws_event_type": null,
      "ws_messages_out": null
    }
  ],
  "meta": {
    "as_of": 1760659200123,
    "coverage": {
      "complete": true
    },
    "delay_ms": 0,
    "delayed": false,
    "request_id": "0199f0c2-5a1e-7c3b-9d4e-2b6f8a1c3d5e",
    "source": "derived"
  },
  "pagination": {
    "count": 1,
    "has_more": false,
    "limit": 100,
    "next_cursor_id": null,
    "next_url": null
  }
}

Values are illustrative. Missing values are null, never 0.