Versions_StartMaterialization
const url = 'https://dev-api.qualiastudios.dev/v1/accounts/example/datasets/example/versions/example/materializations/example:start';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dev-api.qualiastudios.dev/v1/accounts/example/datasets/example/versions/example/materializations/example:start \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "name": "example" }'Starts rendering a tag in the id’s layout, or picks up the rendering
already there: it never renders twice. Answers at once; read the
materialization again until SUCCEEDED, then list its artifacts.
FAILED_PRECONDITION for head (tag it first) and when the rendering
failed for good (the message says why); UNAVAILABLE when the renderer
cannot be reached (retry).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The account id.
The dataset id.
The version id.
The materialization id.
Request Body required
Section titled “Request Body required ”Request for Versions.StartMaterialization.
object
Accounts/{account}/datasets/{dataset}/versions/{version}/materializations/{materialization}:
a tag, stable or a digest prefix, and the layout.
Example generated
{ "name": "example"}Responses
Section titled “ Responses ”OK
A tag rendered as a LeRobot or MCAP ROS2 dataset, to download (QUA-3084). The files stay in object storage: each artifact carries a short-lived signed URI to its immutable object, never the bytes. Rendering runs in the background: StartMaterialization begins it, and every later call, from anyone, finds the same rendering. A tag never moves, so the same tag rendered by the same renderer gives the same files, byte for byte.
The {materialization} id is the layout: lerobot-v3 (LeRobot v3.0),
lerobot-v2-1 (LeRobot v2.1) or mcap-ros2 (one ROS 2 MCAP file per
episode). head is not pinned, so it has none: tag it first.
Served by qds-api.
object
Accounts/{account}/datasets/{dataset}/versions/{version}/materializations/{materialization}.
The version segment is the tag, also when the request named stable or
a digest prefix.
How far the rendering is.
“b3:
Files in the rendered dataset, once SUCCEEDED.
Episodes in it, once SUCCEEDED.
Frames in it, once SUCCEEDED.
“b3:
Example
{ "state": "STATE_UNSPECIFIED"}default
Section titled “default ”Default error response
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
object
The type of the serialized message.
Example generated
{ "code": 1, "message": "example", "details": [ { "@type": "example" } ]}