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

# Get dashboard template publish state

> What a publisher diffs against before `POST /v1/dashboard-templates/publish`: the hash of every published (`source: repo`) template of one collection of this organization, the keys in picker order, and the last publish. With the platform key, the shared set.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/dashboard-templates/state
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/dashboard-templates/state:
    get:
      tags:
        - Dashboard templates
      summary: Get dashboard template publish state
      description: >-
        What a publisher diffs against before `POST
        /v1/dashboard-templates/publish`: the hash of every published (`source:
        repo`) template of one collection of this organization, the keys in
        picker order, and the last publish. With the platform key, the shared
        set.
      parameters:
        - name: collection
          in: query
          required: false
          schema:
            type: string
            default: default
            example: pms
      responses:
        '200':
          description: The collection's state
          content:
            application/json:
              schema:
                type: object
                properties:
                  collection:
                    type: string
                  templates:
                    type: object
                    additionalProperties:
                      type: string
                    description: key → hash
                  keys:
                    type: array
                    items:
                      type: string
                  last:
                    type: object
                    nullable: true
                    properties:
                      key:
                        type: string
                      commit:
                        type: string
                        nullable: true
                      at:
                        type: string
                        format: date-time
              example:
                collection: pms
                templates:
                  portfolio: 4be1…
                  performance: 9f2c…
                keys:
                  - portfolio
                  - performance
                last:
                  key: performance
                  commit: 1a2b3c4d5e6f
                  at: '2026-11-08T12:00:00Z'
        '400':
          description: Invalid collection, or no organization
      security:
        - bearerAuth: []
        - sessionToken: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.
    sessionToken:
      type: http
      scheme: bearer
      description: >-
        Session token (`snat_…`) minted by POST /v1/token. Carries the
        organization and the end user; safe in a browser.

````

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