Activity

Lists logged API and MCP requests, oldest first, one page at a time.

Requires ManageOrganizations. Rows are returned in the order they were written (ascending id), so a poller can pass the last nextCursor back as after to receive only newer rows. A row is written just after its response is sent, so a request appears a moment after it completes. Rows are kept 90 days. Example: GET /api/v1/activity?since=2026-09-22T00:00:00Z&search=update_job_status. Also available as CSV (Accept: text/csv or ?format=csv); paging cursor in X-Next-Cursor.

get/api/v1/activity

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/activity
  • Auth: HTTP bearer

Query parameters

sincestring date-time

Only requests that started at/after this instant (ISO-8601 UTC, e.g. 2026-09-22T00:00:00Z).

untilstring date-time

Only requests that started before this instant (ISO-8601 UTC, exclusive).

apiKeyIdinteger

Only requests made with this key id. Example: 3.

statusClassinteger

Only responses of this HTTP status class, 1-5: e.g. 2 for 2xx, 4 for 4xx (1xx is accepted but never logged). Omit for all.

searchstring

Case-insensitive match against the path, MCP method and MCP tool name. Example: jobs.

afterstring

Cursor from the previous page's nextCursor (a log row id). Omit for the first page.

limitinteger

Page size, 1..500 (default 50).

format'csv'

Alternative to the Accept header: csv returns text/csv.

Response

One page of log rows and the cursor for the next page (null on the last page).

nextCursorstring nullable

SyncId of the last item; pass it back as ?after= to fetch the next page. null when this is the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.