Genbase
ApiProfile

Get all available profiles for a module

GET
/profile/profiles

Authorization

AuthorizationRequiredBearer <token>

JWT Token for authenticated users (obtained via /auth/jwt/login).

In: header

Query Parameters

module_idRequiredstring

Module ID

curl -X GET "http://localhost:8000/profile/profiles?module_id=string" \
  -H "Authorization: Bearer <token>"

Successful Response

[
  {
    "profile_type": "string",
    "agent_type": "string",
    "module_id": "string",
    "metadata": {
      "instructions": [
        {
          "name": "string",
          "path": "string",
          "description": "string",
          "full_path": "string",
          "module_id": "string",
          "content": "string"
        }
      ],
      "actions": [
        {
          "action": {
            "path": "string",
            "name": "string",
            "description": "string",
            "full_file_path": "string",
            "function_name": "string"
          },
          "module_id": "string",
          "profile": "string",
          "metadata": {
            "name": "string",
            "description": "string",
            "parameters": {},
            "is_async": true
          },
          "error": "string",
          "is_provided": false
        }
      ],
      "requirements": [
        "string"
      ]
    },
    "kit_config": {},
    "is_completed": true,
    "allow_multiple": true,
    "instructions": [
      {
        "name": "string",
        "path": "string",
        "description": "string",
        "full_path": "string",
        "module_id": "string",
        "content": "string"
      }
    ]
  }
]