Skip to main content
POST
/
v1
/
passports
Typescript (SDK)
import { RaijinLabsLucidAi } from "raijin-labs-lucid-ai";

const raijinLabsLucidAi = new RaijinLabsLucidAi();

async function run() {
  const result = await raijinLabsLucidAi.passports.create({
    type: "model",
    owner: "7xK9mQ2vNbPfYkRd3JhEzV1LnWqA8tUcGp4SyDfH5Bo",
    metadata: {
      "schema_version": "1.0",
      "model_passport_id": "ppt_model_7xK9mQ2v",
      "format": "safetensors",
      "runtime_recommended": "vllm",
      "context_length": 32768,
      "hf": {
        "repo_id": "mistralai/Mistral-7B-Instruct-v0.3",
      },
    },
    name: "mistral-7b-instruct",
    description: "Mistral 7B Instruct fine-tuned for chat",
    version: "1.0.0",
    tags: [
      "llm",
      "chat",
      "instruct",
    ],
  });

  console.log(result);
}

run();
{
  "success": true,
  "passport_id": "ppt_model_7xK9mQ2v",
  "passport": {
    "passport_id": "ppt_model_7xK9mQ2v",
    "type": "model",
    "owner": "7xK9mQ2vNbPfYkRd3JhEzV1LnWqA8tUcGp4SyDfH5Bo",
    "name": "mistral-7b-instruct",
    "status": "active",
    "created_at": 1710288000,
    "updated_at": 1710288000
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Body

application/json
type
enum<string>
required
Available options:
model,
compute,
tool,
dataset,
agent,
voice,
other
owner
string
required
metadata
object
required
name
string
description
string
version
string
tags
string[]

Response

Created

success
boolean
required
passport_id
string
required
passport
object
required