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

# Pin a report

> Pins are the workspace's: a report pinned to the home Dashboard's report menu (`dashboard`) or to the Reports tab of account pages (`accounts`) shows there for everyone, in the order set, as when an admin pins it on the reports page. Pins a report to a context, after the context's last pin; reorder with PUT /v1/reports/pins/{context}/order. A report already pinned there is a 409. Needs `reports:pin`: in the app, only who manages reports (admins) pins.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/reports/{report_id}/pins
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/reports/{report_id}/pins:
    post:
      tags:
        - reports
      summary: Pin a report
      description: >-
        Pins are the workspace's: a report pinned to the home Dashboard's report
        menu (`dashboard`) or to the Reports tab of account pages (`accounts`)
        shows there for everyone, in the order set, as when an admin pins it on
        the reports page. Pins a report to a context, after the context's last
        pin; reorder with PUT /v1/reports/pins/{context}/order. A report already
        pinned there is a 409. Needs `reports:pin`: in the app, only who manages
        reports (admins) pins.
      operationId: reports_pin
      parameters:
        - description: The report's id, from GET /v1/reports
          in: path
          name: report_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                context:
                  description: >-
                    Where the pin shows: `dashboard` is the report menu on the
                    home Dashboard, `accounts` the Reports tab of every account
                    page
                  enum:
                    - dashboard
                    - accounts
                  title: Context
                  type: string
              required:
                - context
              type: object
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportPin'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ReportPin:
      properties:
        context:
          enum:
            - dashboard
            - accounts
          title: Context
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        name:
          description: The report's name
          title: Name
          type: string
        pinned_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Pinned At
        position:
          description: Its place in the context, from 0
          title: Position
          type: integer
        report_id:
          description: The pinned report's id
          title: Report Id
          type: string
      required:
        - report_id
        - context
        - name
        - description
        - position
        - pinned_at
      title: ReportPin
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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