Maps and vehicles
List maps
List maps visible in the current workspace, each with the packs simforge maps pull would download and their sizes. Without a credential: the public catalogue, the maps any signed-in account may download
GET
/
api
/
v1
/
maps
List maps
curl --request GET \
--url https://dev.simforge.ai/api/v1/maps \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.simforge.ai/api/v1/maps"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.simforge.ai/api/v1/maps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"version": "<string>",
"displayName": "<string>",
"public": true,
"capabilities": {
"render2d": true,
"render3d": true
},
"packs": [
{
"variant": "3d",
"version": "<string>",
"downloadBytes": 1,
"installedBytes": 1
}
]
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}Authorizations
A sfc_at_… access token from simforge login, or an sfk_… API key. An operation's security lists the scopes the credential must hold.
Query Parameters
Minimum string length:
1Required range:
1 <= x <= 100⌘I
List maps
curl --request GET \
--url https://dev.simforge.ai/api/v1/maps \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.simforge.ai/api/v1/maps"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.simforge.ai/api/v1/maps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"version": "<string>",
"displayName": "<string>",
"public": true,
"capabilities": {
"render2d": true,
"render3d": true
},
"packs": [
{
"variant": "3d",
"version": "<string>",
"downloadBytes": 1,
"installedBytes": 1
}
]
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}