List text-to-CAD parts you've generated
Query string parameters
?limit=
uint32//&page_token=
string//&sort_by=
"created_at_ascending"+1▾- //Sort in increasing order of "created_at".
"created_at_ascending" - //Sort in decreasing order of "created_at".
"created_at_descending"
//&no_models=
boolean//&no_parts=
boolean//&conversation_id=
UUID//
Response
- 200 OK
- //
next_page:
string,//:
[[ ... ]//- //
- //
{
type:
"text_to_cad",code:
string,//completed_at:
stringISO-8601,//conversation_id:
stringUUID,//created_at:
stringISO-8601,//error:
string,//id:
stringUUID,//kcl_version:
string,//model_version:
string,//prompt:
string,//started_at:
stringISO-8601,//updated_at:
stringISO-8601,//user_id:
stringUUID,//feedback:
,"thumbs_up"+3▾- //Thumbs up.
"thumbs_up" - //Thumbs down.
"thumbs_down" - //Accepted.
"accepted" - //Rejected.
"rejected"
//model:
,"cad"+2▾- //CAD.
"cad" - //KCL.
"kcl" - //KCL iteration.
"kcl_iteration"
//output_format:
,"fbx"+6▾- //Autodesk Filmbox (FBX) format. <https://en.wikipedia.org/wiki/FBX>
"fbx" - //Binary glTF 2.0. This is a single binary with .glb extension. This is better if you want a compressed format as opposed to the human readable glTF that lacks compression.
"glb" - //glTF 2.0. Embedded glTF 2.0 (pretty printed). Single JSON file with .gltf extension binary data encoded as base64 data URIs. The JSON contents are pretty printed. It is human readable, single file, and you can view the diff easily in a git commit.
"gltf" - //The OBJ file format. <https://en.wikipedia.org/wiki/Wavefront_.obj_file> It may or may not have an an attached material (mtl // mtllib) within the file, but we interact with it as if it does not.
"obj" - //The PLY file format. <https://en.wikipedia.org/wiki/PLY_(file_format)>
"ply" - //The STEP file format. <https://en.wikipedia.org/wiki/ISO_10303-21>
"step" - //The STL file format. <https://en.wikipedia.org/wiki/STL_(file_format)>
"stl"
//:
{{ ... },//[key]:
stringBASE64
}
status:
"queued"+4▾- //The async API call is queued.
"queued" - //The async API call was uploaded to be converted.
"uploaded" - //The async API call is in progress.
"in_progress" - //The async API call has completed.
"completed" - //The async API call has failed.
"failed"
//
}
- //
{
type:
"text_to_cad_iteration",code:
string,//completed_at:
stringISO-8601,//conversation_id:
stringUUID,//created_at:
stringISO-8601,//error:
string,//id:
stringUUID,//model_version:
string,//original_source_code:
string,//prompt:
string,//started_at:
stringISO-8601,//updated_at:
stringISO-8601,//user_id:
stringUUID,//feedback:
,"thumbs_up"+3▾- //Thumbs up.
"thumbs_up" - //Thumbs down.
"thumbs_down" - //Accepted.
"accepted" - //Rejected.
"rejected"
//model:
,"cad"+2▾- //CAD.
"cad" - //KCL.
"kcl" - //KCL iteration.
"kcl_iteration"
//:
[[ ... ],//- //
file:
string,//prompt:
string,//:
{{ ... }//:
{{ ... },//column:
numberuint32,//line:
numberuint32//
}
:
{{ ... }//column:
numberuint32,//line:
numberuint32//
}
}
}
]
status:
"queued"+4▾- //The async API call is queued.
"queued" - //The async API call was uploaded to be converted.
"uploaded" - //The async API call is in progress.
"in_progress" - //The async API call has completed.
"completed" - //The async API call has failed.
"failed"
//
}
- //
{
type:
"text_to_cad_multi_file_iteration",completed_at:
stringISO-8601,//conversation_id:
stringUUID,//created_at:
stringISO-8601,//error:
string,//id:
stringUUID,//kcl_version:
string,//model_version:
string,//project_name:
string,//prompt:
string,//started_at:
stringISO-8601,//updated_at:
stringISO-8601,//user_id:
stringUUID,//feedback:
,"thumbs_up"+3▾- //Thumbs up.
"thumbs_up" - //Thumbs down.
"thumbs_down" - //Accepted.
"accepted" - //Rejected.
"rejected"
//model:
,"cad"+2▾- //CAD.
"cad" - //KCL.
"kcl" - //KCL iteration.
"kcl_iteration"
//:
{{ ... },//[key]:
string
}
:
[[ ... ],//- //
file:
string,//prompt:
string,//:
{{ ... }//:
{{ ... },//column:
numberuint32,//line:
numberuint32//
}
:
{{ ... }//column:
numberuint32,//line:
numberuint32//
}
}
}
]
status:
"queued"+4▾- //The async API call is queued.
"queued" - //The async API call was uploaded to be converted.
"uploaded" - //The async API call is in progress.
"in_progress" - //The async API call has completed.
"completed" - //The async API call has failed.
"failed"
//
}
]
}
Examples
get
/user/text-to-cad200 OK
Response