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

# Let the AI update an AI field on an opportunity again

> Ends the hold a person's override took, so the AI updates the field on its next run, as "Let the AI update this" does in the app. The value stays until then. A field that is not held answers released false and changes nothing. The edit is recorded as the person the key acts for, as in the app, so a workspace key or a digital worker cannot make it (a 403); a Member edits only the records in their book.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/objects/opportunity/records/{opportunity_id}/ai-fields/{field_key}/lock
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/objects/opportunity/records/{opportunity_id}/ai-fields/{field_key}/lock:
    delete:
      tags:
        - opportunities
      summary: Let the AI update an AI field on an opportunity again
      description: >-
        Ends the hold a person's override took, so the AI updates the field on
        its next run, as "Let the AI update this" does in the app. The value
        stays until then. A field that is not held answers released false and
        changes nothing. The edit is recorded as the person the key acts for, as
        in the app, so a workspace key or a digital worker cannot make it (a
        403); a Member edits only the records in their book.
      operationId: opportunities_unlock_ai_field
      parameters:
        - description: >-
            The AI field's key, as `GET /v1/fields` lists it. An account's
            `type` the AI manages is one too
          in: path
          name: field_key
          required: true
          schema:
            examples:
              - renewal_forecast
            maxLength: 255
            minLength: 1
            type: string
        - description: The opportunity's Statisfy id
          in: path
          name: opportunity_id
          required: true
          schema:
            maxLength: 255
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiFieldUnlock'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    AiFieldUnlock:
      properties:
        field_key:
          title: Field Key
          type: string
        released:
          description: True when a hold was ended; false when the field was not held
          title: Released
          type: boolean
      required:
        - field_key
        - released
      title: AiFieldUnlock
      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.