Sign In

GET /v1/guides

Fetch list of published wiki guides or query a specific guide.

Public Endpoints API Key (X-API-Key)

Endpoint

https://api.botforge.org/v1/guides

Query Parameters

Name Type Required Description
id String No Fetch full content of a specific guide by UUID.
slug String No Fetch full content of a specific guide by slug.
search String No Search guides by title or content.
package_name String No Filter guides by package ID or name.
include_content Boolean No Include raw markdown content in list results.
page Integer No Pagination page (default: 1).
limit Integer No Results per page (default: 20, -1 for uncapped).

Examples

cURL

curl -X GET "https://api.botforge.org/v1/guides" \
  -H "X-API-Key: YOUR_API_KEY"

JavaScript / TypeScript

const res = await fetch("https://api.botforge.org/v1/guides", {
  headers: {
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await res.json();

Response Example

{
  "success": true,
  "guides": [
    {
      "id": "9c77c486-4b13-4cde-b2a0-b3454b2da869",
      "slug": "forgescript-function-usercooldown",
      "guideType": "target",
      "packageName": "forgescript",
      "targetType": "function",
      "targetName": "userCooldown",
      "title": "Adding command cooldowns for users with $userCooldown",
      "category": "General",
      "author": "BotForge Official",
      "isOfficial": true,
      "createdAt": "2026-11-10T20:14:59.670Z",
      "approvedAt": "2026-11-21T16:44:37.183Z",
      "url": "https://docs.botforge.org/packages/forgescript/guides/forgescript-function-usercooldown"
    },
    {
      "id": "e327f6d3-4f10-4ea0-851a-eed2df419a62",
      "slug": "forgescript-function-getusercooldowntime",
      "guideType": "target",
      "packageName": "forgescript",
      "targetType": "function",
      "targetName": "getUserCooldownTime",
      "title": "Retrieving remaining user cooldown with $getUserCooldownTime",
      "category": "General",
      "author": "BotForge Official",
      "isOfficial": true,
      "createdAt": "2026-11-10T20:14:59.690Z",
      "approvedAt": "2026-11-21T16:44:37.174Z",
      "url": "https://docs.botforge.org/packages/forgescript/guides/forgescript-function-getusercooldowntime"
    }
  ],
  "pagination": {
    "total_records": 790,
    "total_pages": 395,
    "current_page": 1,
    "limit": 2
  }
}

Was this page helpful?