curl -X POST https://api.intellibase.dev/api/v1/projects \
-H "Authorization: Bearer ib-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Engineering Knowledge Base",
"ontology_id": "ont-abc123"
}'
curl -X POST https://api.intellibase.dev/api/v1/projects \
-H "Authorization: Bearer ib-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Document Search",
"vector_only": true
}'
import requests
headers = {
"Authorization": "Bearer ib-your-api-key",
"Content-Type": "application/json"
}
# Create Vector-Only project
response = requests.post(
"https://api.intellibase.dev/api/v1/projects",
headers=headers,
json={
"name": "Document Search",
"vector_only": True
}
)
project = response.json()
print(f"Created project: {project['project_id']}")
print(f"Mode: {project['mode']}")
// Create KG+Vector project
const response = await fetch(
"https://api.intellibase.dev/api/v1/projects",
{
method: "POST",
headers: {
"Authorization": "Bearer ib-your-api-key",
"Content-Type": "application/json"
},
body: JSON.stringify({
name: "Engineering Knowledge Base",
ontology_id: "ont-abc123"
})
}
);
const project = await response.json();
console.log(`Created project: ${project.project_id}`);
console.log(`Mode: ${project.mode}`);
{
"project_id": "proj-abc123",
"name": "Engineering Knowledge Base",
"mode": "kg_vector",
"created_at": "2024-01-15T10:30:00Z",
"ontology": {
"name": "Software Engineering",
"hierarchy": [ ... ],
"edge_types": [ ... ]
}
}
{
"project_id": "proj-xyz789",
"name": "Document Search",
"mode": "vector_only",
"created_at": "2024-01-15T10:30:00Z",
"ontology": null
}
{
"detail": "Vector-only projects cannot specify an ontology"
}
{
"detail": "Ontology not found or not accessible"
}
Projects
Create Project
Create a new Intellibase project in KG+Vector or Vector-Only mode
POST
/
api
/
v1
/
projects
curl -X POST https://api.intellibase.dev/api/v1/projects \
-H "Authorization: Bearer ib-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Engineering Knowledge Base",
"ontology_id": "ont-abc123"
}'
curl -X POST https://api.intellibase.dev/api/v1/projects \
-H "Authorization: Bearer ib-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Document Search",
"vector_only": true
}'
import requests
headers = {
"Authorization": "Bearer ib-your-api-key",
"Content-Type": "application/json"
}
# Create Vector-Only project
response = requests.post(
"https://api.intellibase.dev/api/v1/projects",
headers=headers,
json={
"name": "Document Search",
"vector_only": True
}
)
project = response.json()
print(f"Created project: {project['project_id']}")
print(f"Mode: {project['mode']}")
// Create KG+Vector project
const response = await fetch(
"https://api.intellibase.dev/api/v1/projects",
{
method: "POST",
headers: {
"Authorization": "Bearer ib-your-api-key",
"Content-Type": "application/json"
},
body: JSON.stringify({
name: "Engineering Knowledge Base",
ontology_id: "ont-abc123"
})
}
);
const project = await response.json();
console.log(`Created project: ${project.project_id}`);
console.log(`Mode: ${project.mode}`);
{
"project_id": "proj-abc123",
"name": "Engineering Knowledge Base",
"mode": "kg_vector",
"created_at": "2024-01-15T10:30:00Z",
"ontology": {
"name": "Software Engineering",
"hierarchy": [ ... ],
"edge_types": [ ... ]
}
}
{
"project_id": "proj-xyz789",
"name": "Document Search",
"mode": "vector_only",
"created_at": "2024-01-15T10:30:00Z",
"ontology": null
}
{
"detail": "Vector-only projects cannot specify an ontology"
}
{
"detail": "Ontology not found or not accessible"
}
Endpoint
POST https://api.intellibase.dev/api/v1/projects
Authentication
Requires a valid API key.Request Body
string
required
Descriptive name for your project
boolean
default:false
true: Vector-Only mode (no knowledge graph, semantic search only)false: KG+Vector mode (requires ontology_id)
string
Required if
vector_only is false. The ID of an existing ontology.Response
string
Unique identifier for the created project
string
Project name
string
Operating mode:
vector_only or kg_vectorstring
When the project was created
object
The ontology schema (null for Vector-Only projects)
object
Project configuration
curl -X POST https://api.intellibase.dev/api/v1/projects \
-H "Authorization: Bearer ib-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Engineering Knowledge Base",
"ontology_id": "ont-abc123"
}'
curl -X POST https://api.intellibase.dev/api/v1/projects \
-H "Authorization: Bearer ib-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Document Search",
"vector_only": true
}'
import requests
headers = {
"Authorization": "Bearer ib-your-api-key",
"Content-Type": "application/json"
}
# Create Vector-Only project
response = requests.post(
"https://api.intellibase.dev/api/v1/projects",
headers=headers,
json={
"name": "Document Search",
"vector_only": True
}
)
project = response.json()
print(f"Created project: {project['project_id']}")
print(f"Mode: {project['mode']}")
// Create KG+Vector project
const response = await fetch(
"https://api.intellibase.dev/api/v1/projects",
{
method: "POST",
headers: {
"Authorization": "Bearer ib-your-api-key",
"Content-Type": "application/json"
},
body: JSON.stringify({
name: "Engineering Knowledge Base",
ontology_id: "ont-abc123"
})
}
);
const project = await response.json();
console.log(`Created project: ${project.project_id}`);
console.log(`Mode: ${project.mode}`);
{
"project_id": "proj-abc123",
"name": "Engineering Knowledge Base",
"mode": "kg_vector",
"created_at": "2024-01-15T10:30:00Z",
"ontology": {
"name": "Software Engineering",
"hierarchy": [ ... ],
"edge_types": [ ... ]
}
}
{
"project_id": "proj-xyz789",
"name": "Document Search",
"mode": "vector_only",
"created_at": "2024-01-15T10:30:00Z",
"ontology": null
}
{
"detail": "Vector-only projects cannot specify an ontology"
}
{
"detail": "Ontology not found or not accessible"
}
Save the
project_id! You’ll need it for all ingestion and query operations.Projects cannot change modes after creation. Create a new project if you need a different mode.
⌘I