enrichment

Update Enrichment

Update an enrichment. Requires ownership of the project containing the enrichment.

The entitlement check fetches the user profile lazily — only a retarget onto a toggle-gated tool pays the profile DB round-trip.

Args: enrichment_id: The ID of the enrichment to update (pre-validated) request: The request object containing updated fields enrichment_service: Service for handling enrichment operations

Returns: Dictionary containing enrichment data

put/api/v1/enrichment/{enrichment_id}

Request body

stable_run_keystring nullable

Response

Successful Response

Changes

Changed in 5 of the 30 revisions of this API.4720

  • 604ea84d0ff7168See the full diff
    • ▲

      removed the enum value discovery_allowance of the request property //

      request-property-enum-value-removed

    • ●

      added the new budget_exhausted enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new budget_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new confirmation_required enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new paid_access_blocked enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new paid_balance enum value to the /// response property for the response status

      response-property-enum-value-added

    • ●

      added the new run_unaffordable enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added the new paid_balance enum value to the request property //

      request-property-enum-value-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      removed the discovery_allowance enum value from the /// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the discovery_allowance_confirmation_required enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      removed the discovery_allowance_exhausted enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      removed the discovery_allowance_run_unaffordable enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      removed the discovery_allowance_unavailable enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ●

      added the new discovery_allowance_run_unaffordable enum value to the // response property for the response status

      response-property-enum-value-added

  • b8fec14143f213See the full diff
    • ▲

      response property anyOf[subschema #2: EnrichmentUpdateApprovalRequiredResponse]/detail/preview/creditCost list-of-types was widened by adding types null to media type application/json of response 409

      response-property-list-of-types-widened

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      request property // list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

  • 136e4af4d51426See the full diff
    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added to the response body anyOf list for the response status

      response-body-any-of-added

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the non-success response with the status

      response-non-success-status-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog