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

# The card's evidence pane — generic blocks behind the one-line description

> Everything backing the card, composed server-side and fetched lazily when the card gets focus. Every pane follows the same rhythm regardless of action_type: a `why` block (what fired the card) followed by `source` blocks (the evidence — facts, lists, sparklines). Lists are pre-trimmed to fit the pane and close with an "…and N more" row carrying the true remainder. Clients render the blocks GENERICALLY — `role` drives styling only, never behavior, and clients never branch on action_type. body/heading copy is inline markdown under the same two-marker rule as `description`.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v2/brands/{brand_id}/weekly_actions/{action_id}/details
openapi: 3.0.1
info:
  title: Cognizo Public API
  version: v1
  description: >-
    Public REST API for Cognizo. Authenticate with an API key via the
    `X-API-KEY` header.
servers:
  - url: https://core.cognizo.ai
security:
  - apiKey: []
paths:
  /api/v2/brands/{brand_id}/weekly_actions/{action_id}/details:
    parameters:
      - name: brand_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: action_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      tags:
        - BrandActions
      summary: >-
        The card's evidence pane — generic blocks behind the one-line
        description
      description: >-
        Everything backing the card, composed server-side and fetched lazily
        when the card gets focus. Every pane follows the same rhythm regardless
        of action_type: a `why` block (what fired the card) followed by `source`
        blocks (the evidence — facts, lists, sparklines). Lists are pre-trimmed
        to fit the pane and close with an "…and N more" row carrying the true
        remainder. Clients render the blocks GENERICALLY — `role` drives styling
        only, never behavior, and clients never branch on action_type.
        body/heading copy is inline markdown under the same two-marker rule as
        `description`.
      operationId: get_brand_weekly_action_details
      responses:
        '200':
          description: evidence blocks (never empty — the card description is the floor)
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      blocks:
                        type: array
                        items:
                          type: object
                          properties:
                            heading:
                              type: string
                            role:
                              type: string
                              enum:
                                - why
                                - source
                              nullable: true
                              description: >-
                                Which part of the pane's fixed why → source
                                frame this block is. Styling only — clients
                                never branch behavior on it.
                            body:
                              type: string
                              nullable: true
                              description: Inline markdown (**bold** / _italic_ only)
                            items:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  value:
                                    type: string
                                    nullable: true
                                  link:
                                    type: string
                                    nullable: true
                                    description: >-
                                      Absolute URL when the item points
                                      somewhere
                                required:
                                  - label
                            chart:
                              type: object
                              nullable: true
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - sparkline
                                series:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      name:
                                        type: string
                                      points:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            date:
                                              type: string
                                              format: date
                                            value:
                                              type: number
                                          required:
                                            - date
                                            - value
                                    required:
                                      - name
                                      - points
                              required:
                                - kind
                                - series
                          required:
                            - heading
                            - items
                    required:
                      - blocks
                required:
                  - data
        '403':
          description: >-
            organization access revoked (ORGANIZATION_ACCESS_REVOKED): the
            access token's organization is no longer one of the user's
            memberships (they left, were removed, or the organization was
            deleted). The session itself is still valid: drop the organization's
            client state and refresh the session, which moves it to another
            organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '404':
          description: action not found (or another brand's)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable machine-readable reason; see `error_code`.
            message:
              type: string
            details:
              type: array
              items:
                $ref: '#/components/schemas/error_detail'
          required:
            - code
            - message
      required:
        - error
    error_detail:
      type: object
      properties:
        field:
          type: string
          nullable: true
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
        - field
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````

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