Docs/API Reference

API Reference

Complete reference documentation for the CloudeUp REST API.

Base URL

https://api.cloudeup.app

Authentication

All API requests require authentication using a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

POST/v1/inferenceRun inference on a deployed model
GET/v1/modelsList all available models
POST/v1/deploymentsCreate a new deployment
GET/v1/deployments/{id}Get deployment status and details
DELETE/v1/deployments/{id}Delete a deployment
POST/v1/embeddingsGenerate embeddings for text
POST/v1/vector/upsertUpsert vectors to your knowledge base
POST/v1/vector/queryQuery similar vectors

Example Request

curl -X POST https://api.cloudeup.app/v1/inference \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3.1-70b",
    "messages": [
      {"role": "user", "content": "Hello, how are you?"}
    ]
  }'