REST API
Warm-model API for embeddings and SQLite-backed code queries.
This reference is generated from the running FastAPI app's route
definitions. The live /openapi.json and /docs on your own
th serve instance remain the authoritative, request-aware
reference.
The raw schema is available at openapi.json.
POST /api/embed
Summary: Embed
Authentication: None
Request body
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
yes | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
POST /api/embed/batch
Summary: Embed Batch
Authentication: None
Request body
| Field | Type | Required | Description |
|---|---|---|---|
texts |
array of string |
yes | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
GET /api/graph/traverse
Summary: Graph Traverse Get
Authentication: None
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
vertex_id |
query | string |
yes | - |
direction |
query | string |
no | - |
depth |
query | integer |
no | - |
edge_labels |
query | string |
no | - |
max_vertices |
query | integer |
no | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
GET /api/graph/vertices
Summary: Graph Vertices Get
Authentication: None
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
name |
query | string |
no | - |
label |
query | string |
no | - |
path_contains |
query | string |
no | - |
limit |
query | integer |
no | - |
include_external |
query | boolean |
no | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
GET /api/health
Summary: Health
Authentication: None
Response 200
No documented fields.
GET /api/query/similar
Summary: Query Similar
Authentication: None
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
text |
query | string |
yes | - |
k |
query | integer |
no | - |
label |
query | string |
no | - |
include_external |
query | boolean |
no | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
POST /api/query/sql
Summary: Query Sql
Authentication: None
Request body
| Field | Type | Required | Description |
|---|---|---|---|
sql |
string |
yes | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
GET /api/query/templates
Summary: Query Templates
Authentication: None
Response 200
No documented fields.
GET /api/query/templates/{name}
Summary: Query Template
Authentication: None
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
name |
path | string |
yes | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |
POST /api/query/templates/{name}/run
Summary: Run Query Template
Authentication: None
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
name |
path | string |
yes | - |
Response 200
No documented fields.
Response 422
| Field | Type | Required | Description |
|---|---|---|---|
detail |
array of ValidationError |
no | - |