> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pulze.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Jobs by user stats

> Completed jobs per user



## OpenAPI

````yaml /renderflow/api-reference/openapi.json get /statistics/jobs-by-user
openapi: 3.1.0
info:
  title: RenderFlow API
  version: 2.0.0
  description: Render farm management.
servers:
  - url: http://localhost:44442/api/v1
    description: The service on this machine. Answers without a credential
  - url: http://your-server:44442/api/v1
    description: A farm's server. Needs an API key
  - url: https://your-server:44445/api/v1
    description: A farm's server set up with TLS. Needs an API key
security:
  - bearerAuth: []
paths:
  /statistics/jobs-by-user:
    get:
      tags:
        - Statistics
      summary: Jobs by user stats
      description: Completed jobs per user
      operationId: getJobsByUserStats
      parameters:
        - schema:
            type:
              - string
              - 'null'
            format: date-time
          required: false
          name: from
          in: query
        - schema:
            type:
              - string
              - 'null'
            format: date-time
          required: false
          name: to
          in: query
      responses:
        '200':
          description: One row per group; empty when nothing matched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserJobCount'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Not permitted for this credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Unhandled server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    UserJobCount:
      type: object
      properties:
        user_id:
          type:
            - string
            - 'null'
          pattern: ^[a-fA-F0-9]{24}$
          example: 68b1f0c2a4d3e5f6a7b8c9d0
        user_name:
          type: string
          default: ''
        color:
          type: string
          default: ''
        count:
          type: number
      required:
        - user_id
        - count
        - user_name
        - color
    ApiError:
      type: object
      properties:
        error:
          type: string
        tag:
          type: string
          description: The catalog entry this failure is, when it is one
        title:
          type: string
          description: The catalog entry's title
        detail:
          type: string
          description: What happened this time, and what to do
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              message:
                type: string
            required:
              - path
              - message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key from Settings, API Keys. A caller on this machine needs none.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.