> ## 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.

# Recompute a formula field on every record

> Starts the job that computes a formula field on every record of its object, as the app's Run button does. Answers 202 at once; the values update when the job ends, usually within minutes. A job also computes every formula field every 4 hours. A field that is not a formula is a 422.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/fields/{field_key}/recompute
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/fields/{field_key}/recompute:
    post:
      tags:
        - fields
      summary: Recompute a formula field on every record
      description: >-
        Starts the job that computes a formula field on every record of its
        object, as the app's Run button does. Answers 202 at once; the values
        update when the job ends, usually within minutes. A job also computes
        every formula field every 4 hours. A field that is not a formula is a
        422.
      operationId: fields_recompute
      parameters:
        - in: path
          name: field_key
          required: true
          schema:
            type: string
        - description: >-
            The object the field belongs to; one of: account, activity, contact,
            opportunity, project, task, user
          in: query
          name: object
          required: true
          schema:
            type: string
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecomputeResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    RecomputeResponse:
      properties:
        field_key:
          title: Field Key
          type: string
        status:
          description: 'started: values update when the job ends, usually within minutes'
          title: Status
          type: string
      required:
        - field_key
        - status
      title: RecomputeResponse
      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.