Retopology (Enterprise)
Get Session

Get Retopology Session Detail

Obtain information about a specific retopology session via session ID.

Request

GET https://api.csm.ai/v3/sessions/<Session ID>

Code Snippets

Python

import requests
 
url = "https://api.csm.ai/v3/sessions/SESSION_1747336753_6390509"
 
headers = {
    'x-api-key': '<X-API_KEY>',
    'Content-Type': 'application/json'
}
 
response = requests.get(url, headers=headers)
print(response.text)

Node.js

var request = require('request');
var options = {
    method: 'GET',
    url: 'https://api.csm.ai/v3/sessions/SESSION_1747336753_6390509',
    headers: {
        'x-api-key': '<X-API_KEY>',
        'Content-Type': 'application/json'
    }
};
 
request(options, function (error, response) {
    if (error) throw new Error(error);
    console.log(response.body);
});

Curl

curl -X 'GET' \
  'https://api.csm.ai/v3/sessions/SESSION_1747336753_6390509' \
  -H 'accept: application/json' \
  -H 'x-api-key: <X-API_KEY>'

Response

{
    "_id": "SESSION_1747336753_6390509",
    "status": "complete",
    "created_at": "2025-05-15T19:19:13.720Z",
    "updated_at": "2025-05-15T19:25:50.069Z",
    "type": "retopology",
    "input": {
        "mesh": {
            "_id": "ASSET_1747335632_4906245",
            "name": "input mesh name",
            "status": "complete",
            "data": {
                "glb_url": "https://your-mesh-url.com/mesh.glb",
            }
        },
        "model": "swift",
        "quads": true
    },
    "output": {
        "meshes": [
            {
                "_id": "ASSET_1747336753_4977382",
                "name": "Red Cube model retopo 1",
                "status": "complete",
                "data": {
                    "obj_url": "https://implicitshapefm.blob.core.windows.net/inference-outputs/eliot.laidlaw@csm.ai/SESSION_1747336753_6390509/retopo_mesh_0.obj",
                    "image_url": "https://implicitshapefm.blob.core.windows.net/inference-outputs/eliot.laidlaw@csm.ai/SESSION_1747336753_6390509/retopo_render_0.png"
                }
            }
            // ... additional mesh variations
        ]
    }
}