v1

latestOpenAPI 3.1.02026-07-2671117149.2 KB
Apis
Project Setup

Get Project Setup Result

Retrieves the final result of a completed project setup.

This endpoint provides access to the final results of a completed project setup. It verifies that the authenticated user has access to the requested run_id and validates that the run is of the correct type (DUB_PROJECT) before returning results.

Note: This endpoint should only be called by users to retrieve their run results via API. Access validation is performed to ensure users can only access their own runs.

Args: run_id: Positive integer ID of the project setup run. api_key_obj: API key authentication data from dependency. traceparent: OpenTelemetry trace header for distributed tracing.

Returns: GetCreateProjectSetupResponse: Project setup results including run details.

Raises: HTTPException: - 404: If the run_id is not found - 400: If the run type is not valid for this endpoint (must be DUB_PROJECT)

get/project-setup-result/{run_id}

Path parameters

run_idinteger required

The unique identifier for the run, which was generated during the creation process and returned upon task completion.

The unique identifier for the run, which was generated during the project setup process and returned upon task completion.

Response

Successful Response

run_idinteger

The unique identifier for the run, which was generated during the Project setup process and returned upon task completion.

Example response

{
  "project_details": {
    "target_languages": [
      "es-es",
      "fr-fr"
    ]
  }
}