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

# Recalculate client pulse

> Recalculate the client's todo (project and task status) and client (client responsiveness) pulse parts now, and return the updated pulse. The messages part is not regenerated; use POST /clients/{client}/_summary for that.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /clients/{client}/_pulse
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /clients/{client}/_pulse:
    post:
      tags:
        - clients
      summary: Recalculate client pulse
      description: >-
        Recalculate the client's todo (project and task status) and client
        (client responsiveness) pulse parts now, and return the updated pulse.
        The messages part is not regenerated; use POST
        /clients/{client}/_summary for that.
      parameters:
        - description: Client ID
          name: client
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Updated client pulse
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pkg_routes_clients.RefreshPulseResponse'
        '400':
          description: Bad request - invalid client ID
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Client not found or no access
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_clients.RefreshPulseResponse:
      type: object
      properties:
        pulse:
          description: >-
            Pulse is the client's pulse with freshly calculated todo and client
            parts.
          allOf:
            - $ref: '#/components/schemas/types.Pulse'
        score:
          description: >-
            Score is the overall 0-10 pulse, as Pulse.Score computes it for
            display.
          type: integer
    types.Pulse:
      type: object
      properties:
        calculated_at:
          description: Last Todo/Client calculation
          type: string
        client:
          description: 0-3
          type: integer
        messages:
          description: 0-4
          type: integer
        messages_reason:
          type: string
        override:
          description: '-2 to +2'
          type: integer
        todo:
          description: 0-3
          type: integer
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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