Skip to content

Capabilities API

The Capability object

json
{
  "id": "string", // string
  "createdAt": "string", // string
  "projectId": "string", // string
  "type": "custom_function", // "custom_function" | "mindforge_feature"
  "name": "string", // string
  "description": "string | null" // string | null
}

Create a capability

POST https://api.mindforge.ai/capabillities

Example

sh
curl -X POST https://api.mindforge.ai/capabillities \
  -H "Content-Type: application/json" \
  -d '{
    "name": "exampleCapability",
    "description": "This is an example description for the capability."
  }'

Update a capability

PATCH https://api.mindforge.ai/capabilities/<capabilityId>

Example

sh
curl -X PATCH https://api.mindforge.ai/capabilities/capability_5X51Einm2JqPi53D \
  -H "Content-Type: application/json" \
  -d '{
    "name": "exampleCapability",
    "description": "This is an example description for the capability."
  }'

Retrieve a capability

GET https://api.mindforge.ai/capabilities/<capabilityId>

Example

sh
curl https://api.mindforge.ai/capabilities/capability_5X51Einm2JqPi53D

List all capabilitys

GET https://api.mindforge.ai/capabilities

Example

sh
curl https://api.mindforge.ai/capabilities

Delete a capability

DELETE https://api.mindforge.ai/capabilities/<capabilityId>

Example

sh
curl -X DELETE https://api.mindforge.ai/capabilities/capability_5X51Einm2JqPi53D