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

# Get Pages By Label



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#CONFLUENCE_GET_PAGES_BY_LABEL
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#CONFLUENCE_GET_PAGES_BY_LABEL:
    post:
      summary: Get Pages By Label
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: CONFLUENCE_GET_PAGES_BY_LABEL
                parameters:
                  type: object
                  properties:
                    labelId:
                      type: string
                      description: >-
                        Label ID : The ID of the label for which pages should be
                        returned (example: "3178497")
                    bodyFormat:
                      type: string
                      description: >-
                        Body Format : The content format types to be returned in
                        the body field of the response
                      enum:
                        - storage
                        - atlas_doc_format
                    additionalFields:
                      type: object
                      description: >-
                        Additional Fields : Specify any other fields that should
                        be updated in JSON below. For example, you may want to
                        provide a sort order here. See the docs
                        (https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-labels-id-pages-get)
                        for available fields. (example: "{
                            "sort":"id"
                        }")
                      properties: {}
                    limit:
                      type: string
                      description: >-
                        Limit : Maximum number of records to return in the
                        result. Defaults to no limit. (example: "No limit")
                    paginationParameters:
                      type: object
                      description: Pagination Parameters
                      properties:
                        pageCursor:
                          type: string
                          description: Page Cursor
                  required:
                    - labelId
                  x-integration: confluence
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````