Knowledge Base API
Today only
GET /v1/knowledge (list) and POST /v1/knowledge (create) are shipped. The single-entry routes (GET /v1/knowledge/{id}, /related, /search) are planned, not yet live. Read individual entries via the lab’s Convex knowledge query for now; this page documents the target REST shape.Entity Types
Create an Entry
string
required
Lab this entry belongs to.
string
required
Entity type:
concept, parameter, source, or comparison.string
required
Display name of the entity.
string
URL-safe identifier. Auto-generated from
name if omitted.string
Detailed description. Supports markdown.
Slugs of related knowledge entries.
object
List Entries
string
required
Lab ID.
string
Filter by type:
concept, parameter, source, comparison.number
default:"50"
Results per page.
string
Pagination cursor.
Get an Entry
Retrieve a single entry by slug or ID.Update an Entry
string
Updated display name.
string
Updated description.
Updated list of related entity slugs.
Delete an Entry
Search
Full-text search across all knowledge entries in a lab.string
required
Lab ID to search within.
string
required
Search query. Matches against name and description.
string
Restrict search to a specific entity type.
number
default:"20"
Maximum results.
Relationships
Knowledge entries link to each other through therelatedEntities field. This creates a navigable knowledge graph.
Get Related Entries
Retrieve all entries related to a given entry (one hop in the graph).Add a Relationship
Remove a Relationship
Auto-Population
Agents automatically create and update knowledge entries as they work. When an experiment completes, the research lead agent:- Extracts new concepts and parameters from the results
- Creates or updates knowledge entries
- Links them to related entities
- Logs the update in the Activity Feed