API reference for building, managing, and using machine learning models on the Plexe Platform.
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
limit | integer | No | Maximum number of models to return (default: 20, max: 100) |
offset | integer | No | Number of models to skip (default: 0) |
status | string | No | Filter by status: DRAFT , BUILDING , READY , ERROR |
sort_by | string | No | Field to sort by: created_at , name (default: created_at ) |
sort_dir | string | No | Sort direction: asc or desc (default: desc ) |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to get |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Content-Type | application/json | Required |
Field | Type | Required | Description |
---|---|---|---|
intent | string | Yes | Natural language description of the model purpose |
name | string | No | Display name for the model (default: generated) |
description | string | No | Detailed description of the model |
dataset_id | string | Yes | ID of the dataset to use for training |
input_schema | object | No | Schema of input fields (inferred if not provided) |
output_schema | object | No | Schema of output fields (inferred if not provided) |
tags | array | No | List of tags for organizing models |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Content-Type | application/json | Required |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to deploy |
Field | Type | Required | Description |
---|---|---|---|
environment | string | No | Deployment environment (default: production ) |
replicas | integer | No | Number of replicas to deploy (default: 1) |
auto_scale | boolean | No | Whether to enable auto-scaling (default: true ) |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Content-Type | application/json | Required |
Parameter | Type | Required | Description |
---|---|---|---|
deployment_id | string | Yes | ID of the deployed model to use |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Content-Type | application/json | Required |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to update |
Field | Type | Required | Description |
---|---|---|---|
name | string | No | New display name for the model |
description | string | No | New description of the model |
tags | array | No | Updated list of tags |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to delete |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to list versions for |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Content-Type | application/json | Required |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to create version for |
Field | Type | Required | Description |
---|---|---|---|
dataset_id | string | Yes | ID of the dataset to use for training |
intent | string | No | Updated intent (defaults to original if omitted) |
input_schema | object | No | Updated input schema (defaults to original) |
output_schema | object | No | Updated output schema (defaults to original) |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to list deployments for |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model |
deployment_id | string | Yes | ID of the deployment to remove |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Content-Type | application/json | Required |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model to use for prediction |
Field | Type | Required | Description |
---|---|---|---|
dataset_id | string | Yes | ID of the dataset containing inputs |
output_format | string | No | Format for results: json or csv (default: json ) |
include_explanations | boolean | No | Whether to include prediction explanations |
Header | Value | Description |
---|---|---|
Authorization | Bearer TOKEN | Required. Your API access token |
Parameter | Type | Required | Description |
---|---|---|---|
model_id | string | Yes | ID of the model used for prediction |
batch_job_id | string | Yes | ID of the batch prediction job |
HTTP Status | Error Code | Description |
---|---|---|
400 | invalid_request | Malformed request or missing parameters |
401 | unauthorized | Missing or invalid API key |
403 | forbidden | Insufficient permissions for operation |
404 | not_found | Model, deployment, or resource not found |
409 | conflict | Resource conflict (e.g., duplicate name) |
422 | validation_error | Invalid input data or schema |
429 | rate_limit_exceeded | API rate limit exceeded |
500 | internal_error | Server-side error |
503 | service_unavailable | Service temporarily unavailable |