Does the Apply Action in the Foundry API have an option to do a dry run?

As this title says.

e.g.
I would like to know if the same applies to Apply Action Batch.
API Reference: actions/apply-action-batch

curl -X POST \
  -H "Content-type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  "https://$HOSTNAME/api/v2/ontologies/{ontology}/actions/{action}/applyBatch" \
  -d '{
    "options": {
      "dryRun": true
    },
    "requests": [
      {
        "parameters": {
          "id": 80060,
          "newName": "Anna Smith-Doe"
        }
      },
      {
        "parameters": {
          "id": 80061,
          "newName": "Joe Bloggs"
        }
      }
    ]
  }'

Hi,

Unfortunately no, as of Feb 2025 these endpoints directly don’t have a dry-run option. However, this is a good signal for our development teams, since we internally have validation capabilities.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.