POST/api/v1/projects/{projectId}/sdk/builds/{buildId}/retry

Retry failed SDK build languages

Retries failed language builds for a specified SDK build. Supply the languages to queue again; only languages that failed in the named build can be retried. Use the returned build details to track the queued languages.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters · 1 body field
projectIdstringrequired

The project's unique identifier, obtained from listProjects.

buildIdstringrequired

The build's unique identifier, obtained from triggerSdkBuild or listSdkBuilds.

Retry request for one or more failed languages.

languagesarray<string>required

Languages to queue again: typescript, python, go, java, ruby, php, rust, swift, kotlin, or dart. Include at least one language, and select only languages that failed in the build.

4 status codes
202Returns the build ID, the languages queued for retry, and a confirmation message.
buildIdstringrequired
languagesarray<string>required
messagestringrequired
400Returned when the request fails validation.
errorobjectrequired
401Returned when the API key is missing or invalid.
errorobjectrequired
404Returned when the project or resource does not exist in the organisation.
errorobjectrequired

Error handling

A 400 is returned when request validation fails; a 401 when the API key is missing or invalid; and a 404 when the project or resource does not exist in the organisation. The projectId path parameter must identify a project, and the buildId path parameter must identify a build in that project. languages is required, must contain at least one supported language, and can include only languages that failed in the build.