Get the shape in a space
GET
https://forumulate.com/api /orgs/{orgId}/spaces/{spaceId}/shape Requires token scope: read (the coarse method gate) for Atlas key (ak_), Personal Access Token (cft_) or OAuth (cfo_) auth — in addition to any catalog scope (GET /pats/scopes) the route’s capability needs. Session/cookie auth is governed by RBAC capabilities instead.
Parameters
orgIdstringpathrequiredspaceIdstringpathrequiredpresetstringqueryforumulate-versionstringheaderAPI version negotiation. Send
forumulate-version: 2026-12-01 on every request from a new integration; it is optional only so that integrations written before versioning keep working. Each version includes everything before it:Code samples
cURL
curl -X GET "https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset=" \
-H "forumulate-version: <value>"TypeScript
const res = await fetch('https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset=', {
method: 'GET',
headers: {
'forumulate-version': '<value>',
},
});
const data = await res.json();Python
import requests
res = requests.request(
"GET",
"https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset=",
headers={
"forumulate-version": "<value>",
},
)
data = res.json()Go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset=", nil)
req.Header.Set("forumulate-version", "<value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}PHP
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset=');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['forumulate-version: <value>']);
$response = curl_exec($ch);
curl_close($ch);
echo $response;Ruby
require 'net/http'
require 'uri'
uri = URI('https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset=')
req = Net::HTTP::Get.new(uri)
req['forumulate-version'] = '<value>'
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
http.request(req)
end
puts res.bodyJava
import java.net.URI;
import java.net.http.*;
import java.net.http.HttpRequest.BodyPublishers;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape?preset="))
.header("forumulate-version", "<value>")
.GET()
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());Responses
200 Success.
Example
{
"base": {
"blockTypes": [
{
"description": "string",
"fields": [
null
],
"group": "string",
"icon": "string",
"key": "string",
"label": "string",
"variants": [
null
]
}
],
"params": [
{
"accept": [
null
],
"admin": {
"collapsed": null,
"collapsible": null,
"row": null,
"tab": null
},
"allowed": [
null
],
"allowedBlocks": [
null
],
"allowedGroups": [
null
],
"column": true,
"condition": null,
"default": {},
"expr": null,
"facet": true,
"fields": [
null
],
"from": "string",
"hasMany": true,
"hint": "string",
"indexed": true,
"internal": true,
"key": "string",
"label": "string",
"language": "string",
"localized": true,
"max": 0,
"maxLength": 0,
"meta": true,
"min": 0,
"minLength": 0,
"options": [
null
],
"pattern": "string",
"placeholder": "string",
"relationSpaceId": "string",
"required": true,
"rowLabelField": "string",
"schema": {},
"schemaProperty": "string",
"sortable": true,
"to": [
null
],
"type": "array",
"unique": true,
"visibility": "internal"
}
],
"sections": [
{
"example": "string",
"hint": "string",
"key": "string",
"kind": "list",
"label": "string",
"render": "labelled",
"required": true,
"role": "example",
"schemaProperty": "string"
}
],
"settings": {
"blockLibrary": true,
"defaultSort": "string",
"defaultVisibility": "internal",
"group": "string",
"icon": "string",
"listColumns": [
"string"
],
"orderable": true,
"previewUrl": "string",
"routable": true,
"searchableFields": [
"string"
],
"singleton": true,
"slugField": "string",
"strict": true,
"titleField": "string",
"versions": {
"max": 0
}
},
"space": {
"index": "board",
"nav": "categories",
"order": "activity",
"summary": [
"string"
],
"whoCreates": "anyone"
},
"unknown": [
"string"
]
},
"defaultKind": "string",
"jsonSchema": {},
"override": {
"blockTypes": {
"add": [
{
"description": null,
"fields": null,
"group": null,
"icon": null,
"key": null,
"label": null,
"variants": null
}
],
"omit": [
"string"
],
"order": [
"string"
],
"set": {},
"unset": {}
},
"params": {
"add": [
{
"accept": null,
"admin": null,
"allowed": null,
"allowedBlocks": null,
"allowedGroups": null,
"column": null,
"condition": null,
"default": null,
"expr": null,
"facet": null,
"fields": null,
"from": null,
"hasMany": null,
"hint": null,
"indexed": null,
"internal": null,
"key": null,
"label": null,
"language": null,
"localized": null,
"max": null,
"maxLength": null,
"meta": null,
"min": null,
"minLength": null,
"options": null,
"pattern": null,
"placeholder": null,
"relationSpaceId": null,
"required": null,
"rowLabelField": null,
"schema": null,
"schemaProperty": null,
"sortable": null,
"to": null,
"type": null,
"unique": null,
"visibility": null
}
],
"omit": [
"string"
],
"order": [
"string"
],
"set": {},
"unset": {}
},
"sections": {
"add": [
{
"example": null,
"hint": null,
"key": null,
"kind": null,
"label": null,
"render": null,
"required": null,
"role": null,
"schemaProperty": null
}
],
"omit": [
"string"
],
"order": [
"string"
],
"set": {},
"unset": {}
},
"space": {
"index": "board",
"nav": "categories",
"order": "activity",
"summary": [
"string"
],
"whoCreates": "anyone"
}
},
"presets": [
{
"description": "string",
"label": "string",
"layout": [
null
],
"name": "string",
"own": true,
"sections": [
{
"key": null,
"kind": null,
"label": null,
"required": null,
"role": null
}
],
"settings": {
"blockLibrary": true,
"defaultSort": "string",
"defaultVisibility": "internal",
"group": "string",
"icon": "string",
"listColumns": [
null
],
"orderable": true,
"previewUrl": "string",
"routable": true,
"searchableFields": [
null
],
"singleton": true,
"slugField": "string",
"strict": true,
"titleField": "string",
"versions": {
"max": null
}
}
}
],
"shape": {
"blockTypes": [
{
"description": "string",
"fields": [
null
],
"group": "string",
"icon": "string",
"key": "string",
"label": "string",
"variants": [
null
]
}
],
"params": [
{
"accept": [
null
],
"admin": {
"collapsed": null,
"collapsible": null,
"row": null,
"tab": null
},
"allowed": [
null
],
"allowedBlocks": [
null
],
"allowedGroups": [
null
],
"column": true,
"condition": null,
"default": {},
"expr": null,
"facet": true,
"fields": [
null
],
"from": "string",
"hasMany": true,
"hint": "string",
"indexed": true,
"internal": true,
"key": "string",
"label": "string",
"language": "string",
"localized": true,
"max": 0,
"maxLength": 0,
"meta": true,
"min": 0,
"minLength": 0,
"options": [
null
],
"pattern": "string",
"placeholder": "string",
"relationSpaceId": "string",
"required": true,
"rowLabelField": "string",
"schema": {},
"schemaProperty": "string",
"sortable": true,
"to": [
null
],
"type": "array",
"unique": true,
"visibility": "internal"
}
],
"sections": [
{
"example": "string",
"hint": "string",
"key": "string",
"kind": "list",
"label": "string",
"render": "labelled",
"required": true,
"role": "example",
"schemaProperty": "string"
}
],
"settings": {
"blockLibrary": true,
"defaultSort": "string",
"defaultVisibility": "internal",
"group": "string",
"icon": "string",
"listColumns": [
"string"
],
"orderable": true,
"previewUrl": "string",
"routable": true,
"searchableFields": [
"string"
],
"singleton": true,
"slugField": "string",
"strict": true,
"titleField": "string",
"versions": {
"max": 0
}
},
"space": {
"index": "board",
"nav": "categories",
"order": "activity",
"summary": [
"string"
],
"whoCreates": "anyone"
},
"unknown": [
"string"
]
}
}Schema
baseobjectrequiredShow child parameters
blockTypesBlockType[]requiredShow child parameters
descriptionstringfieldsSpaceTypeField[]requiredgroupstringiconstringkeystringrequiredlabelstringrequiredvariantsBlockVariant[]paramsSpaceTypeField[]requiredShow child parameters
acceptstring[]adminobjectallowedstring[]allowedBlocksstring[]allowedGroupsstring[]columnbooleanconditionstring | number | boolean | string | number | boolean | object[] | object[] | objectdefaultobjectexprstring | number | boolean | string | number | boolean | object[] | object[] | objectfacetbooleanfieldsSpaceTypeField[]fromstringhasManybooleanhintstringindexedbooleaninternalbooleankeystringrequiredlabelstringrequiredlanguagestringlocalizedbooleanmaxnumbermaxLengthnumbermetabooleanminnumberminLengthnumberoptionsstring[]patternstringplaceholderstringrelationSpaceIdstringrequiredbooleanrowLabelFieldstringschemaobjectschemaPropertystringsortablebooleantoReferenceTarget[]typestringrequireduniquebooleanvisibilitystringsectionsSpaceTypeSection[]requiredShow child parameters
examplestringhintstringkeystringrequiredkindstringrequiredlabelstringrequiredrenderstringrequiredbooleanrolestringschemaPropertystringsettingsobjectShow child parameters
blockLibrarybooleandefaultSortstringdefaultVisibilitystringgroupstringiconstringlistColumnsstring[]orderablebooleanpreviewUrlstringroutablebooleansearchableFieldsstring[]singletonbooleanslugFieldstringstrictbooleantitleFieldstringversionsobjectspaceobjectrequiredShow child parameters
indexstringrequirednavstringrequiredorderstringrequiredsummarystring[]requiredwhoCreatesstringrequiredunknownstring[]requireddefaultKindstringrequiredjsonSchemaobjectrequiredoverrideobjectrequiredShow child parameters
blockTypesobjectShow child parameters
addBlockType[]omitstring[]orderstring[]setobjectunsetobjectparamsobjectShow child parameters
addSpaceTypeField[]omitstring[]orderstring[]setobjectunsetobjectsectionsobjectShow child parameters
addSpaceTypeSection[]omitstring[]orderstring[]setobjectunsetobjectspaceobjectShow child parameters
indexstringnavstringorderstringsummarystring[]whoCreatesstringpresetsobject[]requiredShow child parameters
descriptionstringrequiredlabelstringrequiredlayoutobject[]namestringrequiredownbooleanrequiredsectionsKindSlot[]requiredShow child parameters
keystringrequiredkindstringrequiredlabelstringrequiredrequiredbooleanrequiredrolestringsettingsobjectShow child parameters
blockLibrarybooleandefaultSortstringdefaultVisibilitystringgroupstringiconstringlistColumnsstring[]orderablebooleanpreviewUrlstringroutablebooleansearchableFieldsstring[]singletonbooleanslugFieldstringstrictbooleantitleFieldstringversionsobjectshapeobjectrequiredShow child parameters
blockTypesBlockType[]requiredShow child parameters
descriptionstringfieldsSpaceTypeField[]requiredgroupstringiconstringkeystringrequiredlabelstringrequiredvariantsBlockVariant[]paramsSpaceTypeField[]requiredShow child parameters
acceptstring[]adminobjectallowedstring[]allowedBlocksstring[]allowedGroupsstring[]columnbooleanconditionstring | number | boolean | string | number | boolean | object[] | object[] | objectdefaultobjectexprstring | number | boolean | string | number | boolean | object[] | object[] | objectfacetbooleanfieldsSpaceTypeField[]fromstringhasManybooleanhintstringindexedbooleaninternalbooleankeystringrequiredlabelstringrequiredlanguagestringlocalizedbooleanmaxnumbermaxLengthnumbermetabooleanminnumberminLengthnumberoptionsstring[]patternstringplaceholderstringrelationSpaceIdstringrequiredbooleanrowLabelFieldstringschemaobjectschemaPropertystringsortablebooleantoReferenceTarget[]typestringrequireduniquebooleanvisibilitystringsectionsSpaceTypeSection[]requiredShow child parameters
examplestringhintstringkeystringrequiredkindstringrequiredlabelstringrequiredrenderstringrequiredbooleanrolestringschemaPropertystringsettingsobjectShow child parameters
blockLibrarybooleandefaultSortstringdefaultVisibilitystringgroupstringiconstring400 The request could not be understood — a malformed header, path or query value (
request.malformed). A value that was understood but is not acceptable is a 422 validation.failed.{
"error": {
"code": "string",
"message": "string",
"details": {},
"docs": "string",
"reason": "string",
"slugs": [
"string"
],
"conflict": {
"etag": "string",
"ops": [
null
]
}
},
"requestId": "string"
}401 No credential, or one that is expired or revoked (
auth.required). Send a Bearer token or the session cookie.{
"error": {
"code": "string",
"message": "string",
"details": {},
"docs": "string",
"reason": "string",
"slugs": [
"string"
],
"conflict": {
"etag": "string",
"ops": [
null
]
}
},
"requestId": "string"
}403 Authenticated, and not allowed — always
rbac.forbidden, whether what is missing is the capability, the token scope, or a resource the token is pinned away from. The message names the capability and, for a scope refusal, the scopes that would grant it. A refusal because of the PLAN is a 402 with quota.exceeded, not this.{
"error": {
"code": "string",
"message": "string",
"details": {},
"docs": "string",
"reason": "string",
"slugs": [
"string"
],
"conflict": {
"etag": "string",
"ops": [
null
]
}
},
"requestId": "string"
}404 No such thing — one of the ids in the path does not resolve, or resolves to something this caller may not see (
*.not_found).{
"error": {
"code": "string",
"message": "string",
"details": {},
"docs": "string",
"reason": "string",
"slugs": [
"string"
],
"conflict": {
"etag": "string",
"ops": [
null
]
}
},
"requestId": "string"
}429 Rate limited — see the RateLimit-* headers.
{
"error": {
"code": "string",
"message": "string",
"details": {},
"docs": "string",
"reason": "string",
"slugs": [
"string"
],
"conflict": {
"etag": "string",
"ops": [
null
]
}
},
"requestId": "string"
}default Error — the stable { error: { code, message } } envelope.
{
"error": {
"code": "string",
"message": "string",
"details": {},
"docs": "string",
"reason": "string",
"slugs": [
"string"
],
"conflict": {
"etag": "string",
"ops": [
null
]
}
},
"requestId": "string"
}The Forumulate teamUpdated