Skip to main content
GET
/
v1
/
namespaces
/
{namespace_id}
/
models
/
{model_id}
Get model details
curl --request GET \
  --url https://api.mixpeek.com/v1/namespaces/{namespace_id}/models/{model_id}
{
  "model": {
    "model_id": "<string>",
    "namespace_id": "<string>",
    "name": "<string>",
    "version": "<string>",
    "model_archive_url": "<string>",
    "model_format": "safetensors",
    "model_hash": "<string>",
    "deployed": false,
    "deployment_info": {
      "endpoint": "<string>",
      "base_image": "<string>",
      "ray_cluster_url": "<string>",
      "ray_deployment_name": "<string>",
      "deployed_at": "2023-11-07T05:31:56Z"
    },
    "framework": "<string>",
    "task_type": "<string>",
    "input_schema": {},
    "output_schema": {},
    "resource_requirements": {
      "num_cpus": 1,
      "num_gpus": 0,
      "memory": 4294967296
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "success": true
}

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

Path Parameters

namespace_id
string
required
model_id
string
required

Response

Successful Response

Response model for model details.

model
CustomModelDocument · object
required

Custom model document stored in MongoDB.

success
boolean
default:true