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
      • Upload
        • Episodes and versions
          • Annotation
            • Quality and tasks
              • Search
                • Workflows
                  • Algorithms
                    • GET
                      List algorithms
                    • POST
                      Create a algorithm
                    • GET
                      Get a algorithm
                    • GET
                      List builds for a algorithm
                    • POST
                      Create a build
                    • GET
                      Get a build
                    • GET
                      List logs for a build
                    • POST
                      Create a retry
                    • GET
                      List used by for a algorithm
                    • GET
                      List versions for a algorithm
                    • POST
                      Create a version
                    • GET
                      Get a version
                    • PATCH
                      Update a version
                    • POST
                      Builds the image of a Python version: no build when it has no requirements (the platform base image is used), otherwise a queued cloud build (no reuse of an earlier version's image). Idempotent: a version with an image or an active build answers with it.
                    • POST
                      Create a registry token
                    • POST
                      Create a sample run
                    • GET
                      Get a sample run
                    • POST
                      Lowest version a save of this source or image may carry (the proposal of the interface change); writes nothing.
                    • GET
                      Categories with default ports, data types, semantic types, facts, the SDK index and a starter per category
                    • GET
                      Docker registry token protocol (non-envelope). HTTP Basic password is a PAT.
                  • 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. Algorithms
                              4. Create a retry

                              Create a retry

                              POST
                              /v1/algorithms/{algorithmId}/builds/{buildId}/retries
                              curl -X POST 'https://api.embodiflow.io/v1/algorithms/{algorithmId}/builds/{buildId}/retries' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT'

                              Authorization

                              Send a personal access token with every request.

                              • Authorization: Bearer PAT
                              Authentication guide

                              Path parameters

                              • algorithmIdstringrequired
                              • buildIdstringrequired

                              Header parameters

                              • Idempotency-Keystring

                                Optional idempotency key, at most 255 characters (UUIDv4 recommended). A repeated key returns the first response byte-for-byte, including a 5xx. The same key with a different body, or a second in-flight request, returns 409 IDEMPOTENCY_CONFLICT. Keys are unique per tenant and retained for 24 hours.

                              Responses

                              Retry accepted; poll GET for state

                              • dataobjectrequired
                                • sourceRefone ofrequired
                                • uploadobject
                                • logsobject
                                • logTailstring
                                • idstringrequired
                                • algorithmDefinitionIdstringrequired
                                • versionstring | nullrequired
                                • kindstringrequired
                                  Allowed values
                                  cloud_build
                                  archive_import
                                • statestringrequired
                                  Allowed values
                                  queued
                                  running
                                  succeeded
                                  failed
                                  cancelled
                                • imageDigeststring | nullrequired
                                • logObjectKeystring | nullrequired
                                • errorMessagestring | nullrequired
                                • durationSnumber | nullrequired
                                • algorithmRevisionIdstring | null
                                • cacheKeystring | null
                                • failureReasonstring | null
                                  Allowed values
                                  pip_resolution
                                  timeout
                                  submit_failed
                                  build_failed
                                • createdAtstringrequired
                                • updatedAtstringrequired
                              Response example
                              {
                                "data": {
                                  "sourceRef": {
                                    "type": "archive",
                                    "objectKey": "string"
                                  },
                                  "upload": {
                                    "url": "string",
                                    "objectKey": "string",
                                    "expiresAt": "string"
                                  },
                                  "logs": {
                                    "url": "string",
                                    "expiresAt": "string"
                                  },
                                  "logTail": "string",
                                  "id": "string",
                                  "algorithmDefinitionId": "string",
                                  "version": "string",
                                  "kind": "cloud_build",
                                  "state": "queued",
                                  "imageDigest": "string",
                                  "logObjectKey": "string",
                                  "errorMessage": "string",
                                  "durationS": 0,
                                  "algorithmRevisionId": "string",
                                  "cacheKey": "string",
                                  "failureReason": "pip_resolution",
                                  "createdAt": "string",
                                  "updatedAt": "string"
                                }
                              }
                              Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              Previous

                              GET /algorithms/{algorithmId}/builds/{buildId}/logs

                              Next

                              GET /algorithms/{algorithmId}/used-by

                              curl -X POST 'https://api.embodiflow.io/v1/algorithms/{algorithmId}/builds/{buildId}/retries' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT'
                              Response example
                              Status code
                              202
                              ​
                              {
                                "data": {
                                  "sourceRef": {
                                    "type": "archive",
                                    "objectKey": "string"
                                  },
                                  "upload": {
                                    "url": "string",
                                    "objectKey": "string",
                                    "expiresAt": "string"
                                  },
                                  "logs": {
                                    "url": "string",
                                    "expiresAt": "string"
                                  },
                                  "logTail": "string",
                                  "id": "string",
                                  "algorithmDefinitionId": "string",
                                  "version": "string",
                                  "kind": "cloud_build",
                                  "state": "queued",
                                  "imageDigest": "string",
                                  "logObjectKey": "string",
                                  "errorMessage": "string",
                                  "durationS": 0,
                                  "algorithmRevisionId": "string",
                                  "cacheKey": "string",
                                  "failureReason": "pip_resolution",
                                  "createdAt": "string",
                                  "updatedAt": "string"
                                }
                              }