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

# Xiaohongshu PGY Creator Service Summary

> Get a Xiaohongshu PGY creator's service overview, reading and engagement performance and estimated costs.

Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the result. OAuth access tokens require `tools:execute` and access to this tool.



## OpenAPI

````yaml /openapi.json post /v1/xiaohongshu_pgy_creator_service_summary
openapi: 3.1.0
info:
  title: Mouter API
  version: '1.0'
  description: Discover tools, submit tasks, and read results and charges.
servers:
  - url: https://api.mouter.ai
    description: Production
security: []
paths:
  /v1/xiaohongshu_pgy_creator_service_summary:
    post:
      tags:
        - xiaohongshu
      summary: Xiaohongshu PGY Creator Service Summary
      description: >-
        Get a Xiaohongshu PGY creator's service overview, reading and engagement
        performance and estimated costs.


        Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the
        result. OAuth access tokens require `tools:execute` and access to this
        tool.
      operationId: submit_xiaohongshu_pgy_creator_service_summary
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Reuse the key with the same credential and input when retrying the
            same submission.
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        required: true
        content:
          application/json:
            example:
              user_id: 5f1234567890abcdef123456
            schema:
              $ref: >-
                #/components/schemas/xiaohongshu_pgy_creator_service_summary_input
      responses:
        '200':
          description: >-
            Existing task returned for an idempotent retry. An available result
            matches the output schema shown here.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                        pattern: ^[A-Za-z0-9_-]{1,40}$
                      status:
                        type: string
                        enum:
                          - submitted
                          - queued
                          - in_progress
                          - succeeded
                          - failed
                          - timed_out
                          - canceled
                      progress:
                        anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                      error:
                        anyOf:
                          - type: object
                            properties:
                              code:
                                type: string
                              message:
                                type: string
                            required:
                              - code
                              - message
                          - type: 'null'
                      created_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      updated_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      result:
                        anyOf:
                          - $ref: >-
                              #/components/schemas/xiaohongshu_pgy_creator_service_summary_result
                          - type: 'null'
                    required:
                      - task_id
                      - status
                      - progress
                      - error
                      - created_at
                      - updated_at
                      - result
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
          headers:
            Idempotency-Replayed:
              schema:
                type: string
                const: 'true'
        '202':
          description: Task accepted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    $ref: '#/components/schemas/AcceptedTask'
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
              example:
                code: 0
                message: ''
                data:
                  task_id: task_example
                  status: submitted
                  progress: null
                  error: null
                  created_at: 1795488000
                  updated_at: 1795488000
                  result: null
                request_id: req_example
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '409':
          $ref: '#/components/responses/Error409'
        '413':
          $ref: '#/components/responses/Error413'
        '415':
          $ref: '#/components/responses/Error415'
        '429':
          $ref: '#/components/responses/Error429'
        '503':
          $ref: '#/components/responses/Error503'
      security:
        - Bearer: []
components:
  schemas:
    xiaohongshu_pgy_creator_service_summary_input:
      additionalProperties: false
      properties:
        user_id:
          maxLength: 64
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: User Id
          type: string
      required:
        - user_id
      title: PgyCreatorInput
      type: object
    xiaohongshu_pgy_creator_service_summary_result:
      additionalProperties: false
      properties:
        platform:
          const: xiaohongshu
          default: xiaohongshu
          title: Platform
          type: string
        user_id:
          maxLength: 64
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: User Id
          type: string
        business:
          const: daily
          default: daily
          title: Business
          type: string
        statistics:
          $ref: >-
            #/components/schemas/xiaohongshu_pgy_creator_service_summary_result__PgyServiceStatistics
        retrieved_at:
          maximum: 9007199254740991
          minimum: 0
          title: Retrieved At
          type: integer
      required:
        - user_id
        - statistics
        - retrieved_at
      title: PgyServiceSummaryResult
      type: object
    AcceptedTask:
      type: object
      properties:
        task_id:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,40}$
        status:
          type: string
          enum:
            - submitted
            - queued
            - in_progress
            - succeeded
            - failed
            - timed_out
            - canceled
        progress:
          anyOf:
            - type: integer
              minimum: 0
              maximum: 100
            - type: 'null'
        error:
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
              required:
                - code
                - message
            - type: 'null'
        created_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        updated_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        result:
          type: 'null'
      required:
        - task_id
        - status
        - progress
        - error
        - created_at
        - updated_at
        - result
    xiaohongshu_pgy_creator_service_summary_result__PgyServiceStatistics:
      additionalProperties: false
      properties:
        source_date:
          pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
          title: Source Date
          type: string
        post_count:
          maximum: 9007199254740991
          minimum: 0
          title: Post Count
          type: integer
        read_median:
          minimum: 0
          title: Read Median
          type: number
        engagement_median:
          minimum: 0
          title: Engagement Median
          type: number
        active_days_last_7:
          maximum: 7
          minimum: 0
          title: Active Days Last 7
          type: integer
        response_rate_percent:
          maximum: 100
          minimum: 0
          title: Response Rate Percent
          type: number
        advantage:
          maxLength: 4096
          title: Advantage
          type: string
        advantage_description:
          maxLength: 4096
          title: Advantage Description
          type: string
        industries:
          items:
            type: string
          maxItems: 100
          title: Industries
          type: array
        estimated_picture_cpm:
          minimum: 0
          title: Estimated Picture Cpm
          type: number
        estimated_video_cpm:
          minimum: 0
          title: Estimated Video Cpm
          type: number
        estimated_picture_engagement_cost:
          minimum: 0
          title: Estimated Picture Engagement Cost
          type: number
        estimated_video_engagement_cost:
          minimum: 0
          title: Estimated Video Engagement Cost
          type: number
        estimated_picture_cpuv:
          minimum: 0
          title: Estimated Picture Cpuv
          type: number
        estimated_video_cpuv:
          minimum: 0
          title: Estimated Video Cpuv
          type: number
      required:
        - source_date
        - post_count
        - read_median
        - engagement_median
        - active_days_last_7
        - response_rate_percent
        - advantage
        - advantage_description
        - industries
        - estimated_picture_cpm
        - estimated_video_cpm
        - estimated_picture_engagement_cost
        - estimated_video_engagement_cost
        - estimated_picture_cpuv
        - estimated_video_cpuv
      title: PgyServiceStatistics
      type: object
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: 'null'
        request_id:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - code
        - message
        - data
        - request_id
  responses:
    Error400:
      description: Invalid request parameters, headers, or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: A valid credential is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error402:
      description: Insufficient balance or credential allowance.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: The credential lacks permission.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error409:
      description: The idempotency key was reused with a different input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error413:
      description: The request body is too large.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error415:
      description: The request body must use application/json.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: The active task limit was reached.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error503:
      description: The operation is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: A Mouter API key or OAuth access token.

````

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