API & IntegrationReference
Module schemas
Retrieve module schemas and learning contract configuration.
List module schemas
Authorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
offset?number
limit?number
published?boolean
entity_type?string
Response Body
application/json
curl -X GET "https://loading/module-schemas"{
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
"name": "string",
"slug": "string",
"entity_type": "string",
"entity_schema": {
"property1": null,
"property2": null
},
"workflow_steps": [
null
],
"list_view": {
"property1": null,
"property2": null
},
"form_config": {
"property1": null,
"property2": null
},
"mcp_manifest": {
"property1": null,
"property2": null
},
"published": true,
"is_native": true,
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"total": -9007199254740991,
"limit": -9007199254740991,
"offset": -9007199254740991
}Empty
Create a module schema
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/module-schemas" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
"name": "string",
"slug": "string",
"entity_type": "string",
"entity_schema": {
"property1": null,
"property2": null
},
"workflow_steps": [
null
],
"list_view": {
"property1": null,
"property2": null
},
"form_config": {
"property1": null,
"property2": null
},
"mcp_manifest": {
"property1": null,
"property2": null
},
"published": true,
"is_native": true,
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}Empty
Empty
Empty
Get a module schema by id
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Module schema UUID
Format
uuidResponse Body
application/json
curl -X GET "https://loading/module-schemas/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
"name": "string",
"slug": "string",
"entity_type": "string",
"entity_schema": {
"property1": null,
"property2": null
},
"workflow_steps": [
null
],
"list_view": {
"property1": null,
"property2": null
},
"form_config": {
"property1": null,
"property2": null
},
"mcp_manifest": {
"property1": null,
"property2": null
},
"published": true,
"is_native": true,
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}Empty
Empty
Update a module schema
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Module schema UUID
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://loading/module-schemas/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
"name": "string",
"slug": "string",
"entity_type": "string",
"entity_schema": {
"property1": null,
"property2": null
},
"workflow_steps": [
null
],
"list_view": {
"property1": null,
"property2": null
},
"form_config": {
"property1": null,
"property2": null
},
"mcp_manifest": {
"property1": null,
"property2": null
},
"published": true,
"is_native": true,
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}Empty
Empty
Empty
Empty
Soft-delete a module schema
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Module schema UUID
Format
uuidResponse Body
curl -X DELETE "https://loading/module-schemas/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
Empty
Empty
Empty