v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01703301564.3 KB
Model Inventory

Get model inventories by project ID

Returns all model inventories associated with a project (via the model_inventories_projects_frameworks join table where framework_id IS NULL). Non-numeric project IDs (e.g. plugin-sourced) return an empty array.

get/modelInventory/by-projectId/{projectId}

Path parameters

projectIdinteger required

Project ID (integer). Non-numeric values return an empty array.

Response

List of model inventories for the project (may be empty)

messagestring

Example response

{
  "message": "OK",
  "data": [
    {
      "id": 42,
      "provider_model": "OpenAI / GPT-4",
      "provider": "OpenAI",
      "model": "GPT-4",
      "version": "turbo-2024-04-09",
      "approver": 7,
      "capabilities": [
        "Text Generation",
        "Code Generation",
        "Reasoning"
      ],
      "status_date": "2026-04-15T10:30:00.000Z",
      "reference_link": "https://platform.openai.com/docs/models/gpt-4",
      "biases": "May reflect biases present in training data",
      "limitations": "Knowledge cutoff, potential hallucinations",
      "hosting_provider": "Azure OpenAI",
      "created_at": "2026-04-10T08:00:00.000Z",
      "updated_at": "2026-04-15T10:30:00.000Z",
      "projects": [
        1,
        3
      ],
      "frameworks": [
        5
      ]
    }
  ]
}