EmbodiFlowDocs
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
      • POST
        Create a archive request
      • POST
        Create a revision
      • GET
        List checks for a dataset version
      • POST
        Create a contract check request
      • GET
        List deletion eligibility for a dataset version
      • GET
        List health for a dataset version
      • POST
        Create a health recompute request
      • GET
        List provenance summary for a dataset version
      • POST
        Create a repair task generation request
      • GET
        List reproducibility bundle for a dataset version
      • POST
        Create a split plan
      • GET
        List training jobs for a dataset version
      • GET
        List diff for a dataset version
      • POST
        Create a dataset
      • GET
        Get a dataset
      • PATCH
        Update a dataset
      • PUT
        Update a draft
      • POST
        ADR 0073: import QWen auto-annotate draft → writeback + optional search index rebuild.
      • GET
        List frame spatial annotations for a dataset
      • POST
        Create a frame spatial annotation
      • DELETE
        Delete a frame spatial annotation
      • PATCH
        Update a frame spatial annotation
      • GET
        List lineage for a dataset
      • GET
        List studio for a dataset
      • GET
        List time range annotations for a dataset
      • POST
        Create a time range annotation
      • DELETE
        Delete a time range annotation
      • PATCH
        Update a time range annotation
      • GET
        List versions for a dataset
      • GET
        List governance tags for a version
      • POST
        Create a governance tag
      • DELETE
        Delete a governance tag
      • PATCH
        Update a governance tag
      • GET
        List governance tags for a item
      • POST
        Create a governance tag
      • DELETE
        Delete a governance tag
      • PATCH
        Update a governance tag
      • GET
        Get a version
      • POST
        Create a derived version
      • GET
        List files for a version
      • GET
        List items for a version
      • GET
        List lineage for a version
      • GET
        List metadata for a version
      • GET
        List processing gate for a version
      • POST
        Create a publication request
      • POST
        Create a quality check job
      • GET
        List quality report for a version
      • GET
        List quality summary for a version
      • GET
        List signed files for a version
      • GET
        List topics for a version
      • POST
        Create a visibility restoration
      • GET
        List edges for a lineage
      • GET
        List downstream for a node
      • GET
        List upstream for a node
      • GET
        List capture sessions in a project
      • POST
        Create a capture session
      • GET
        List data contracts for a project
      • POST
        Create a data contract
      • GET
        List datasets for a project
      • GET
        List health for a project
      • GET
        List recordings in a project
      • POST
        Create a recording from an upload session or a one-way Hugging Face Hub import
      • DELETE
        Move a recording to trash
      • GET
        Get a recording
      • PATCH
        Patch recording name and tags
      • GET
        Get anonymization evidence and spot-check status for a recording
      • POST
        Create a consent-document upload for a human recording
      • POST
        Complete a consent-document upload after the object is stored
      • POST
        Confirm a privacy spot check for the latest processing result
      • GET
        What the latest processing result of a recording holds: cameras, columns, features, rate and duration
      • PUT
        Assign or clear a recording capture session
    • Upload
      • Episodes and versions
        • Annotation
          • Quality and tasks
            • 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. Recordings
                              4. Update a frame spatial annotation

                              Update a frame spatial annotation

                              PATCH
                              /v1/datasets/{datasetId}/frame-spatial-annotations/{annotationId}
                              curl -X PATCH 'https://api.embodiflow.io/v1/datasets/{datasetId}/frame-spatial-annotations/{annotationId}' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "datasetVersionId": "00000000-0000-0000-0000-000000000000",
                                  "datasetVersionFileId": "00000000-0000-0000-0000-000000000000",
                                  "frameIndex": 0,
                                  "frameStampSec": 0,
                                  "frameStampNsec": 0,
                                  "timeReference": "string",
                                  "datasetClassId": "00000000-0000-0000-0000-000000000000",
                                  "className": "string",
                                  "trackId": "string",
                                  "trackKey": "string",
                                  "bboxX": 0,
                                  "bboxY": 0,
                                  "bboxWidth": 0,
                                  "bboxHeight": 0,
                                  "occluded": true,
                                  "truncated": true,
                                  "reviewStatus": "string",
                                  "status": "string",
                                  "attributesJson": {}
                                }'

                              Authorization

                              Send a personal access token with every request.

                              • Authorization: Bearer PAT
                              Authentication guide

                              Path parameters

                              • datasetIdstringrequired
                              • annotationIdstringrequired

                              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
                              • datasetVersionIdstring (uuid) | null
                              • datasetVersionFileIdstring (uuid)
                              • frameIndexnumber
                              • frameStampSecnumber | null
                              • frameStampNsecnumber | null
                              • timeReferencestring
                              • datasetClassIdstring (uuid) | null
                              • classNamestring | null
                              • trackIdstring | null
                              • trackKeystring | null
                              • bboxXnumber
                              • bboxYnumber
                              • bboxWidthnumber
                              • bboxHeightnumber
                              • occludedboolean | null
                              • truncatedboolean | null
                              • reviewStatusstring
                              • statusstring
                              • attributesJsonobject | null

                              Responses

                              Success

                              • dataobjectrequired
                                • idstringrequired
                                • tenantIdstringrequired
                                • projectIdstringrequired
                                • datasetIdstringrequired
                                • datasetVersionIdstring | nullrequired
                                • datasetVersionFileIdstringrequired
                                • frameIndexnumberrequired
                                • frameStampSecnumber | nullrequired
                                • frameStampNsecnumber | nullrequired
                                • timeReferencestringrequired
                                • datasetClassIdstring | nullrequired
                                • classNamestring | nullrequired
                                • trackIdstring | nullrequired
                                • trackKeystring | nullrequired
                                • bboxXnumberrequired
                                • bboxYnumberrequired
                                • bboxWidthnumberrequired
                                • bboxHeightnumberrequired
                                • occludedone of | nullrequired
                                • truncatedone of | nullrequired
                                • reviewStatusstringrequired
                                • statusstringrequired
                                • publishedSnapshotIdstring | nullrequired
                                • createdBystring | nullrequired
                                • updatedBystring | nullrequired
                                • createdAtstringrequired
                                • updatedAtstringrequired
                                • deletedAtstring | nullrequired
                                • attributesJsonobject | nullrequired
                              Response example
                              {
                                "data": {
                                  "id": "string",
                                  "tenantId": "string",
                                  "projectId": "string",
                                  "datasetId": "string",
                                  "datasetVersionId": "string",
                                  "datasetVersionFileId": "string",
                                  "frameIndex": 0,
                                  "frameStampSec": 0,
                                  "frameStampNsec": 0,
                                  "timeReference": "string",
                                  "datasetClassId": "string",
                                  "className": "string",
                                  "trackId": "string",
                                  "trackKey": "string",
                                  "bboxX": 0,
                                  "bboxY": 0,
                                  "bboxWidth": 0,
                                  "bboxHeight": 0,
                                  "occluded": false,
                                  "truncated": false,
                                  "reviewStatus": "string",
                                  "status": "string",
                                  "publishedSnapshotId": "string",
                                  "createdBy": "string",
                                  "updatedBy": "string",
                                  "createdAt": "string",
                                  "updatedAt": "string",
                                  "deletedAt": "string",
                                  "attributesJson": {}
                                }
                              }
                              Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              Previous

                              DELETE /datasets/{datasetId}/frame-spatial-annotations/{annotationId}

                              Next

                              GET /datasets/{datasetId}/lineage

                              curl -X PATCH 'https://api.embodiflow.io/v1/datasets/{datasetId}/frame-spatial-annotations/{annotationId}' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "datasetVersionId": "00000000-0000-0000-0000-000000000000",
                                  "datasetVersionFileId": "00000000-0000-0000-0000-000000000000",
                                  "frameIndex": 0,
                                  "frameStampSec": 0,
                                  "frameStampNsec": 0,
                                  "timeReference": "string",
                                  "datasetClassId": "00000000-0000-0000-0000-000000000000",
                                  "className": "string",
                                  "trackId": "string",
                                  "trackKey": "string",
                                  "bboxX": 0,
                                  "bboxY": 0,
                                  "bboxWidth": 0,
                                  "bboxHeight": 0,
                                  "occluded": true,
                                  "truncated": true,
                                  "reviewStatus": "string",
                                  "status": "string",
                                  "attributesJson": {}
                                }'
                              Response example
                              Status code
                              200
                              ​
                              {
                                "data": {
                                  "id": "string",
                                  "tenantId": "string",
                                  "projectId": "string",
                                  "datasetId": "string",
                                  "datasetVersionId": "string",
                                  "datasetVersionFileId": "string",
                                  "frameIndex": 0,
                                  "frameStampSec": 0,
                                  "frameStampNsec": 0,
                                  "timeReference": "string",
                                  "datasetClassId": "string",
                                  "className": "string",
                                  "trackId": "string",
                                  "trackKey": "string",
                                  "bboxX": 0,
                                  "bboxY": 0,
                                  "bboxWidth": 0,
                                  "bboxHeight": 0,
                                  "occluded": false,
                                  "truncated": false,
                                  "reviewStatus": "string",
                                  "status": "string",
                                  "publishedSnapshotId": "string",
                                  "createdBy": "string",
                                  "updatedBy": "string",
                                  "createdAt": "string",
                                  "updatedAt": "string",
                                  "deletedAt": "string",
                                  "attributesJson": {}
                                }
                              }