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

# List Work Log

> List the team's work, most recently started first.

`start_date` and `end_date` keep work started or ended in the period. `inactive_days` finds work
left in progress that nobody updated since, which is how abandoned work shows up.



## OpenAPI

````yaml /openapi-v1.json get /api/v1/work-log
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/work-log:
    get:
      tags:
        - Work log
      summary: List Work Log
      description: >-
        List the team's work, most recently started first.


        `start_date` and `end_date` keep work started or ended in the period.
        `inactive_days` finds work

        left in progress that nobody updated since, which is how abandoned work
        shows up.
      operationId: list_work_log
      parameters:
        - in: query
          name: author
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: me, a user id or an email
            title: Author
          required: false
          description: me, a user id or an email
        - in: query
          name: team
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Team name or id
            title: Team
          required: false
          description: Team name or id
        - in: query
          name: tag
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: One tag, or several separated by commas to require all
            title: Tag
          required: false
          description: One tag, or several separated by commas to require all
        - in: query
          name: status
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: in_progress, done or abandoned
            title: Status
          required: false
          description: in_progress, done or abandoned
        - in: query
          name: category
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Category
          required: false
        - in: query
          name: work_type
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Work Type
          required: false
        - in: query
          name: task_id
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Task UUID or identifier such as TASK-12
            title: Task Id
          required: false
          description: Task UUID or identifier such as TASK-12
        - in: query
          name: start_date
          schema:
            anyOf:
              - format: date
                type: string
              - format: date-time
                type: string
              - type: 'null'
            description: Started or ended on or after
            title: Start Date
          required: false
          description: Started or ended on or after
        - in: query
          name: end_date
          schema:
            anyOf:
              - format: date
                type: string
              - format: date-time
                type: string
              - type: 'null'
            description: Started or ended on or before
            title: End Date
          required: false
          description: Started or ended on or before
        - in: query
          name: inactive_days
          schema:
            anyOf:
              - maximum: 365
                minimum: 1
                type: integer
              - type: 'null'
            description: Only work still in progress that nobody updated for this many days
            title: Inactive Days
          required: false
          description: Only work still in progress that nobody updated for this many days
        - in: query
          name: page
          schema:
            default: 1
            title: Page
            type: integer
          required: false
        - in: query
          name: page_size
          schema:
            default: 50
            title: Page Size
            type: integer
          required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkLogListOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    WorkLogListOut:
      properties:
        object:
          default: list
          title: Object
          type: string
        data:
          items:
            $ref: '#/components/schemas/WorkLogEntryOut'
          title: Data
          type: array
        has_more:
          title: Has More
          type: boolean
        total:
          title: Total
          type: integer
      required:
        - data
        - has_more
        - total
      title: WorkLogListOut
      type: object
    WorkLogEntryOut:
      properties:
        object:
          default: work_log_entry
          title: Object
          type: string
        id:
          title: Id
          type: string
        author:
          $ref: '#/components/schemas/TaskUserRef'
        key:
          title: Key
          type: string
        title:
          title: Title
          type: string
        comment:
          title: Comment
          type: string
        category:
          title: Category
          type: string
        work_type:
          title: Work Type
          type: string
        status:
          title: Status
          type: string
        reference_url:
          title: Reference Url
          type: string
        source:
          title: Source
          type: string
        task:
          anyOf:
            - $ref: '#/components/schemas/WorkLogTaskRef'
            - type: 'null'
        team:
          anyOf:
            - $ref: '#/components/schemas/WorkLogTeamRef'
            - type: 'null'
        tags:
          items:
            type: string
          title: Tags
          type: array
        started_at:
          format: date-time
          title: Started At
          type: string
        ended_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Ended At
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - id
        - author
        - key
        - title
        - comment
        - category
        - work_type
        - status
        - reference_url
        - source
        - tags
        - started_at
        - updated_at
      title: WorkLogEntryOut
      type: object
    TaskUserRef:
      properties:
        id:
          title: Id
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
      required:
        - id
      title: TaskUserRef
      type: object
    WorkLogTaskRef:
      properties:
        id:
          title: Id
          type: string
        identifier:
          anyOf:
            - type: string
            - type: 'null'
          title: Identifier
      required:
        - id
      title: WorkLogTaskRef
      type: object
    WorkLogTeamRef:
      properties:
        id:
          title: Id
          type: string
        name:
          title: Name
          type: string
      required:
        - id
        - name
      title: WorkLogTeamRef
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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