> ## 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 Decisions

> List the company's decisions, most recently decided first.

Only decisions with the status `active` are in effect. With `search`, the best matches come first: the
words typed, and the decisions closest in meaning.



## OpenAPI

````yaml /openapi-v1.json get /api/v1/decisions
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/decisions:
    get:
      tags:
        - Decisions
      summary: List Decisions
      description: >-
        List the company's decisions, most recently decided first.


        Only decisions with the status `active` are in effect. With `search`,
        the best matches come first: the

        words typed, and the decisions closest in meaning.
      operationId: list_decisions
      parameters:
        - in: query
          name: search
          schema:
            anyOf:
              - maxLength: 300
                type: string
              - type: 'null'
            description: Words or a question; best matches first.
            title: Search
          required: false
          description: Words or a question; best matches first.
        - in: query
          name: theme
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Theme
          required: false
        - in: query
          name: person
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: me, a user id, an email or a name
            title: Person
          required: false
          description: me, a user id, an email or a name
        - in: query
          name: status
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              proposed, active, replaced or cancelled; several separated by
              commas.
            title: Status
          required: false
          description: >-
            proposed, active, replaced or cancelled; several separated by
            commas.
        - in: query
          name: decided_from
          schema:
            anyOf:
              - format: date
                type: string
              - type: 'null'
            description: Decided on or after
            title: Decided From
          required: false
          description: Decided on or after
        - in: query
          name: decided_to
          schema:
            anyOf:
              - format: date
                type: string
              - type: 'null'
            description: Decided on or before
            title: Decided To
          required: false
          description: Decided on or before
        - in: query
          name: to_review
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Only decisions in effect whose review date has come
            title: To Review
          required: false
          description: Only decisions in effect whose review date has come
        - 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/DecisionListOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    DecisionListOut:
      properties:
        object:
          default: list
          title: Object
          type: string
        data:
          items:
            $ref: '#/components/schemas/DecisionOut'
          title: Data
          type: array
        has_more:
          title: Has More
          type: boolean
        total:
          title: Total
          type: integer
      required:
        - data
        - has_more
        - total
      title: DecisionListOut
      type: object
    DecisionOut:
      properties:
        object:
          default: decision
          title: Object
          type: string
        id:
          title: Id
          type: string
        reference:
          title: Reference
          type: string
        title:
          title: Title
          type: string
        theme:
          title: Theme
          type: string
        decided_on:
          format: date
          title: Decided On
          type: string
        decision:
          title: Decision
          type: string
        why:
          title: Why
          type: string
        people:
          items:
            $ref: '#/components/schemas/DecisionPerson'
          title: People
          type: array
        source_url:
          title: Source Url
          type: string
        review_on:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          title: Review On
        status:
          title: Status
          type: string
        status_reason:
          title: Status Reason
          type: string
        replaces:
          items:
            $ref: '#/components/schemas/DecisionRef'
          title: Replaces
          type: array
        replaced_by:
          items:
            $ref: '#/components/schemas/DecisionRef'
          title: Replaced By
          type: array
        cancels:
          items:
            $ref: '#/components/schemas/DecisionRef'
          title: Cancels
          type: array
        cancelled_by:
          items:
            $ref: '#/components/schemas/DecisionRef'
          title: Cancelled By
          type: array
        related:
          items:
            $ref: '#/components/schemas/DecisionRef'
          title: Related
          type: array
        rules:
          items:
            $ref: '#/components/schemas/DecisionRuleRef'
          title: Rules
          type: array
        recorded_by:
          $ref: '#/components/schemas/DecisionActor'
        confirmed_by:
          anyOf:
            - $ref: '#/components/schemas/DecisionActor'
            - type: 'null'
        version:
          title: Version
          type: integer
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - id
        - reference
        - title
        - theme
        - decided_on
        - decision
        - why
        - people
        - source_url
        - status
        - status_reason
        - replaces
        - replaced_by
        - cancels
        - cancelled_by
        - related
        - rules
        - recorded_by
        - version
        - updated_at
      title: DecisionOut
      type: object
    DecisionPerson:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
      title: DecisionPerson
      type: object
    DecisionRef:
      properties:
        id:
          title: Id
          type: string
        reference:
          title: Reference
          type: string
        title:
          title: Title
          type: string
        status:
          title: Status
          type: string
      required:
        - id
        - reference
        - title
        - status
      title: DecisionRef
      type: object
    DecisionRuleRef:
      properties:
        id:
          title: Id
          type: string
        title:
          title: Title
          type: string
      required:
        - id
        - title
      title: DecisionRuleRef
      type: object
    DecisionActor:
      properties:
        name:
          title: Name
          type: string
        via:
          title: Via
          type: string
        at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: At
      required:
        - name
        - via
      title: DecisionActor
      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.