v1

latestOpenAPI 3.0.32026-07-223120123.1 KB
Monitoring

Get aggregated user data for an inference pipeline with pagination and metadata.

Returns a list of users who have interacted with the inference pipeline, including their activity statistics such as session counts, record counts, token usage, and costs.

post/inference-pipelines/{inferencePipelineId}/users

Path parameters

inferencePipelineIdstring uuid required

The inference pipeline id (a UUID).

Query parameters

pageinteger

The page to return in a paginated query.

perPageinteger

Maximum number of items to return per page.

sortColumnstring

Name of the column to sort on

ascboolean

Whether or not to sort on the sortColumn in ascending order.

Request body

searchQueryOrstring[] nullable
searchQueryAndstring[] nullable
notSearchQueryOrstring[] nullable
notSearchQueryAndstring[] nullable
rowIdListinteger[] nullable
excludeRowIdListinteger[] nullable

Example request

{
  "columnFilters": [
    {
      "measurement": "openlayer_token_set",
      "operator": "contains_none",
      "value": [
        "cat"
      ]
    }
  ]
}

Response

Response OK.

Example response

{
  "items": [
    {
      "id": "user123",
      "dateOfFirstRecord": "2021-12-31T08:00:00Z",
      "dateOfLastRecord": "2022-01-02T08:00:00Z",
      "sessions": 3,
      "records": 15,
      "tokens": 5250,
      "cost": 0.125
    }
  ]
}