EmbodiFlowDocs
Open console
Get startedDataWorkflows and algorithmsTraining and deploymentDeveloper reference
  • Developer reference

Authentication

  • Authentication overview
  • API keys
  • Personal access tokens
  • Browser sessions

REST API

  • Using the REST API
  • All endpoints
  • Projects
    • Recordings
      • Upload
        • Episodes and versions
          • Annotation
            • Quality and tasks
              • POST
                Create a episode exclusion request
              • GET
                List quality findings for a dataset version
              • GET
                List quality gate for a dataset version
              • GET
                List quality baselines for a project
              • GET
                List series for a quality baseline
              • POST
                Create a quality reinspection request
              • GET
                List quality rule set for a project
              • PUT
                Update a quality rule set
              • GET
                List health for a quality
              • GET
                List failing or warning quality checks for a project
              • GET
                List summary for a quality
              • GET
                List quality rule catalog
              • POST
                Create a preview request
              • GET
                List repair tasks
              • POST
                Create a repair task
              • GET
                Get a repair task
              • PATCH
                Update a repair task
              • GET
                List review tasks
              • GET
                Get a review task
              • PATCH
                Update a review task
              • POST
                Create a decision request
              • GET
                List quality policy for a current
              • PUT
                Update a quality policy
            • Search
              • Workflows
                • Algorithms
                  • Models
                    • Artifacts and export
                      • Billing and usage
                        • Team and governance
                          • Account and notifications
                            • Webhook endpoints

                              Events

                              • Outbound events
                              • Signature verification

                              Tools

                              • CLI
                              • SDK
                              • MCP

                              Updates

                              • Changelog

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. Developer reference
                              2. REST API
                              3. Quality and tasks
                              4. Update a quality policy

                              Update a quality policy

                              PUT
                              /v1/tenants/current/quality-policy
                              curl -X PUT 'https://api.embodiflow.io/v1/tenants/current/quality-policy' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "name": "string",
                                  "status": "string",
                                  "specJson": {},
                                  "scopeLevel": "tenant"
                                }'

                              Authorization

                              Send a personal access token with every request.

                              • Authorization: Bearer PAT
                              Authentication guide

                              Header parameters

                              • If-Matchstring

                                Optional precondition. A matching tag proceeds and returns the new ETag. A stale tag returns 412 PRECONDITION_FAILED with no write. Absent proceeds (opt-in this release). If-Match: * succeeds when the resource exists. Malformed values return 400 IF_MATCH_INVALID.

                              Request body

                              Content-Typeapplication/json
                              • namestring
                              • statusstring
                              • specJsonobjectrequired

                                embodiflow-quality-policy/v1 document (validated in the service).

                              • scopeLevelstring

                                Optional; must agree with the tenant scope or 400 QUALITY_POLICY_SCOPE_CONFLICT.

                                Allowed values
                                tenant
                                project

                              Responses

                              Success

                              • dataobjectrequired
                                • idstringrequired
                                • tenantIdstringrequired
                                • projectIdstringrequired
                                • namestringrequired
                                • statusstringrequired
                                • specJsonobjectrequired
                                • publishedAtstring | nullrequired
                                • createdAtstringrequired
                                • updatedAtstringrequired
                                • scopeLevelstring
                                  Allowed values
                                  tenant
                                  project
                                • revisionnumber
                                • resolvedobject
                              Response example
                              {
                                "data": {
                                  "id": "string",
                                  "tenantId": "string",
                                  "projectId": "string",
                                  "name": "string",
                                  "status": "string",
                                  "specJson": {},
                                  "publishedAt": "string",
                                  "createdAt": "string",
                                  "updatedAt": "string",
                                  "scopeLevel": "tenant",
                                  "revision": 0,
                                  "resolved": {
                                    "maxCostTier": "string",
                                    "maxCostTierSource": "tenant",
                                    "bindings": [
                                      {
                                        "checkId": "string",
                                        "bindingIdentity": "string",
                                        "ruleVersion": 0,
                                        "enabled": false,
                                        "severity": "string",
                                        "blocking": false,
                                        "params": {},
                                        "sources": {
                                          "enabled": "tenant",
                                          "severity": "tenant",
                                          "blocking": "tenant",
                                          "params": {}
                                        }
                                      }
                                    ],
                                    "snapshotHash": "string"
                                  }
                                }
                              }
                              Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              Previous

                              GET /tenants/current/quality-policy

                              curl -X PUT 'https://api.embodiflow.io/v1/tenants/current/quality-policy' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "name": "string",
                                  "status": "string",
                                  "specJson": {},
                                  "scopeLevel": "tenant"
                                }'
                              Response example
                              Status code
                              200
                              ​
                              {
                                "data": {
                                  "id": "string",
                                  "tenantId": "string",
                                  "projectId": "string",
                                  "name": "string",
                                  "status": "string",
                                  "specJson": {},
                                  "publishedAt": "string",
                                  "createdAt": "string",
                                  "updatedAt": "string",
                                  "scopeLevel": "tenant",
                                  "revision": 0,
                                  "resolved": {
                                    "maxCostTier": "string",
                                    "maxCostTierSource": "tenant",
                                    "bindings": [
                                      {
                                        "checkId": "string",
                                        "bindingIdentity": "string",
                                        "ruleVersion": 0,
                                        "enabled": false,
                                        "severity": "string",
                                        "blocking": false,
                                        "params": {},
                                        "sources": {
                                          "enabled": "tenant",
                                          "severity": "tenant",
                                          "blocking": "tenant",
                                          "params": {}
                                        }
                                      }
                                    ],
                                    "snapshotHash": "string"
                                  }
                                }
                              }