Genbase
ApiProfile

Get detailed metadata for a specific profile

GET
/profile/metadata

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Query Parameters

module_idRequiredstring

Module ID

profileRequiredstring

Profile name

session_idstring

Optional session ID

Format: "uuid"
curl -X GET "http://localhost:8000/profile/metadata?module_id=string&profile=string&session_id=497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Successful Response - Profile 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"
  ]
}