curl --request POST \
--url https://pria.praxislxp.com/api/admin/aimodels \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"account": "<string>",
"minimum": true,
"page": 1,
"pageSize": 100
}
'{
"success": true,
"data": [
{
"_id": "<string>",
"name": "<string>",
"institution": "<string>",
"model_use": "conversationModel",
"description": "",
"api_url": "https://api.openai.com/v1",
"api_key": "<string>",
"default_headers": {},
"client_library": "openai_cli",
"features": {
"stream": false,
"tools": false,
"code": false,
"vision": false,
"mcp": false
},
"input_media": {
"text": true,
"image": false,
"audio": false,
"video": false,
"pdf": false
},
"output_media": {
"text": true,
"audio": false,
"video": false,
"image": false
},
"max_input_tokens": 128000,
"max_output_tokens": 64000,
"reasoning_effort": null,
"extended_context": false,
"status": "active",
"picture_url": "<string>",
"created": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"hasMore": true,
"page": 123,
"pageSize": 123,
"message": "<string>"
}Get list of AI models
Retrieves AI models with optional filtering. Two response shapes:
- Paginated mode (default): Returns
{ success, data, total, hasMore, page, pageSize, message }. Theinstitutionfield on each item is populated to{ name, ainame, picture }. - Minimum mode (
minimum: true): Returns{ success, data, message }withdataprojected to{ _id, name, model_use, status }. No pagination fields. Used by dropdown selectors.
Filter precedence: institution > account (space-separated IDs, expanded to their institutions and filtered by the caller’s RAP) > caller’s own institution (for admins) > all non-deleted models (for supers).
curl --request POST \
--url https://pria.praxislxp.com/api/admin/aimodels \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"account": "<string>",
"minimum": true,
"page": 1,
"pageSize": 100
}
'{
"success": true,
"data": [
{
"_id": "<string>",
"name": "<string>",
"institution": "<string>",
"model_use": "conversationModel",
"description": "",
"api_url": "https://api.openai.com/v1",
"api_key": "<string>",
"default_headers": {},
"client_library": "openai_cli",
"features": {
"stream": false,
"tools": false,
"code": false,
"vision": false,
"mcp": false
},
"input_media": {
"text": true,
"image": false,
"audio": false,
"video": false,
"pdf": false
},
"output_media": {
"text": true,
"audio": false,
"video": false,
"image": false
},
"max_input_tokens": 128000,
"max_output_tokens": 64000,
"reasoning_effort": null,
"extended_context": false,
"status": "active",
"picture_url": "<string>",
"created": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"hasMore": true,
"page": 123,
"pageSize": 123,
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Body
Filter by institution ID. When omitted, admins fall back to their own institution and supers see all.
Filter by account IDs (space-separated). Resolves to every non-deleted institution under those accounts, then filters by the caller's RAP.
When true, returns a flat list of { _id, name, model_use, status } with no pagination. Used by dropdown selectors.
Page number (1-based, ignored when minimum=true).
x >= 1Page size (also accepted as limitsearch; ignored when minimum=true).
1 <= x <= 5000Response
AI models retrieved successfully. Shape depends on the minimum flag in the request.
- Option 1
- Option 2
Paginated response (returned when minimum is false or omitted).
Was this page helpful?