Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oktolabs.ai/llms.txt

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

Entities and states

This page maps the product concepts to the actual source entities in okto-pulse-core/src/okto_pulse/core/models/db.py and their API schemas in models/schemas.py. Use it when you need to know what Pulse stores, which lifecycle values are valid, and where each object is reachable.

Core delivery entities

EntitySource modelPrimary routesMCP surfacePurpose
AgentAgent/api/v1/agentsBoard management toolsActor that owns an API key, permissions, and board access.
Agent board grantAgentBoard/api/v1/agents/{agent_id}/boards/{board_id}Agent access toolsBoard-scoped access row with optional permission overrides.
Permission presetPermissionPreset/api/v1/presetsPermission and agent toolsNamed permission set that can be attached to agents.
BoardBoard/api/v1/boardsokto_pulse_get_board, board CRUD toolsWorkspace container for the SDLC graph.
IdeationIdeation/api/v1/boards/{board_id}/ideations, /api/v1/ideations/{ideation_id}Ideation toolsInitial problem statement and ambiguity-killer workflow.
RefinementRefinement/api/v1/ideations/{ideation_id}/refinements, /api/v1/refinements/{refinement_id}Refinement toolsEvidence-gathering phase between ideation and spec.
SpecSpec/api/v1/boards/{board_id}/specs, /api/v1/specs/{spec_id}Spec toolsDelivery contract with requirements, criteria, scenarios, decisions, rules, contracts, and TRs.
SprintSprint/api/v1/boards/{board_id}/sprints, /api/v1/sprints/{sprint_id}Sprint toolsScope slice that groups cards and closes through sprint evaluation.
CardCard/api/v1/boards/{board_id}/cards, /api/v1/cards/{card_id}Card and task toolsExecution unit: normal work, test task, or bug task.
Card dependencyCardDependency/api/v1/cards/{card_id}/dependenciesDependency toolsdepends_on relationship between two cards.

Evidence and collaboration entities

EntitySource modelPrimary routesPurpose
Q&A itemQAItem, IdeationQAItem, RefinementQAItem, SpecQAItem, SprintQAItem/api/v1/qa/*, /{entity}/{id}/qaStructured questions and answers on cards and SDLC artifacts.
CommentComment/api/v1/comments/*Text comments and single/multi-choice comment boards on cards.
AttachmentAttachment/api/v1/attachments/{board_id}/{card_id}Uploaded files attached to cards.
GuidelineGuideline, BoardGuideline/api/v1/guidelines, /api/v1/boards/{board_id}/guidelinesGlobal or board-specific rules agents must read before work.
Activity logActivityLog/api/v1/cards/{card_id}/activityAudit trail for card-visible changes.
Seen markerAgentSeenItem/api/v1/cards/{card_id}/seenPer-agent unread/seen state for mentions and changes.
ValidationJSON records on Card, Spec, and Sprint plus validation response schemasCard/spec/sprint validation routesIndependent review and lifecycle gate evidence.

Spec sub-objects

These are stored inside a spec payload, exposed through spec routes and MCP spec tools, and copied into card context when work starts.
ObjectSource schema/modelPurpose
Business ruleBusinessRuleRule linked to one or more functional requirements and implementation cards.
API contractApiContractEndpoint or integration contract with method, path, payload shape, and linked cards.
Technical requirementTR object in SpecNon-functional or implementation-level requirement linked to tasks.
Acceptance criterionAC list in SpecUser-visible condition that must be covered by scenarios and tasks.
Test scenarioTestScenario payloadTestable scenario; must be linked to test cards before validation.
DecisionDecision payload in SpecExplicit architecture/product choice; can be active, superseded, or revoked.
Screen mockupScreenMockup, MockupAnnotationHTML mockup and annotations attached to ideations, refinements, specs, or cards.
Architecture designArchitectureDesign, ArchitectureDesignVersion, ArchitectureDiagramStructured architecture payloads, diagrams, versions, and diffs.

Knowledge entities

EntitySource modelPrimary routes/toolsPurpose
Ideation knowledgeIdeationKnowledgeBase/api/v1/ideations/{id}/knowledge, MCP knowledge toolsEvidence attached before refinement/spec derivation.
Refinement knowledgeRefinementKnowledgeBase/api/v1/refinements/{id}/knowledge, MCP knowledge toolsEvidence gathered during refinement.
Spec knowledgeSpecKnowledgeBase/api/v1/specs/{id}/knowledge, MCP knowledge toolsSource material attached to the delivery contract.
Card knowledgeJSON records on Card.knowledge_bases/api/v1/cards/{id}/knowledge, MCP knowledge toolsContext copied or written directly onto a task.
Consolidation queueConsolidationQueue/api/v1/kg/boards/{board_id}/pendingSQLite work queue that drains artifacts into the graph.
Consolidation dead letterConsolidationDeadLetter/api/v1/kg/queue/dead-letter, KG DLQ MCP toolsFailed KG consolidation work that exhausted retries.
Consolidation auditConsolidationAudit/api/v1/kg/boards/{board_id}/auditSystem-of-record for committed KG sessions.
KG tick runKGTickRun/api/v1/kg/tick/run-now, KG healthRelevance decay tick execution record.
Domain eventDomainEventRow, DomainEventHandlerExecutionEvent dispatcher internalsDurable event and handler execution tracking.

Discovery and analytics entities

EntitySource model/schemaRoute familyPurpose
Discovery intentDiscoveryIntent/api/v1/discovery/intentsSaved operator intent that maps to a tool-backed discovery action.
Saved searchDiscoverySavedSearch/api/v1/discovery/boards/{board_id}/saved-searchesReusable board search.
Search historyDiscoverySearchHistory/api/v1/discovery/boards/{board_id}/search-historyHistory of executed discovery searches.
Analytics entity rowAnalytics response schemas/api/v1/boards/{board_id}/analytics/entitiesSpec, ideation, card, sprint, agent, and board metrics for dashboards and exports.

Status enums

EnumValues
IdeationStatusdraft, review, approved, evaluating, done, cancelled
IdeationComplexitysmall, medium, large
RefinementStatusdraft, review, approved, done, cancelled
SpecStatusdraft, review, approved, validated, in_progress, done, cancelled
SprintStatusdraft, active, review, closed, cancelled
CardStatusnot_started, started, in_progress, validation, on_hold, done, cancelled
CardPrioritycritical, very_high, high, medium, low, none
CardTypenormal, bug, test
BugSeveritycritical, major, minor
CommentTypetext, choice, multi_choice

Lifecycle relationships

ParentChildren
BoardIdeations, agents, guidelines, KG graph, queue, and audit rows
IdeationRefinements and specs
RefinementSpecs, knowledge, mockups, architecture, Q&A, snapshots, and history
SpecSprints, cards, business rules, API contracts, test scenarios, decisions, knowledge, mockups, architecture, Q&A, validations, and history
SprintAssigned cards, evaluations, Q&A, and history
CardDependencies, knowledge, mockups, architecture, Q&A, comments, attachments, conclusions, validations, and activity
Important invariants:
  • Cards should link to a spec; bug and test cards have additional scenario-link rules.
  • A sprint closes only after sprint evaluation and test evidence checks pass.
  • A normal card reaches done through the task validation gate.
  • Spec approved to validated requires coverage validation; validated to in_progress requires spec evaluation.
  • Deleting ideations or refinements can remove a full subtree; use archive/restore for reversible hiding.
See SDLC flow, Validation gates, and REST route catalog for the operational surfaces.
Last modified on May 8, 2026