Skip to main content

Construct App Container Url

GET 

https://cloud.agenta.ai/api/containers/container_url

Constructs the URL for an app container based on the provided base_id or variant_id.

Args: base_id (Optional[str]): The ID of the base to use for the app container. variant_id (Optional[str]): The ID of the variant to use for the app container. request (Request): The request object.

Returns: URI: The URI for the app container.

Raises: HTTPException: If the base or variant cannot be found or the user does not have access.

Request

Query Parameters

    base_id Base Id
    variant_id Variant Id

Responses

Successful Response

Schema

    uri Uri (string)required
curl -L 'https://cloud.agenta.ai/api/containers/container_url' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!