Use Cases
Cross-Reference Indexing
Automatically link section tags, detail callouts, and sheet references across a drawing set
QA/QC Automation
Validate drawing consistency, detect missing references, flag revision conflicts
Quantity Takeoffs
Extract and count components, connections, and annotations
Analytical Model Generation
Build structured data for BIM/analysis workflows
Pricing
| Capability | Endpoint | Price |
|---|---|---|
| Raw Detection | POST /v1/drawings | $0.02/page |
| Graph Ingestion | POST /v1/projects/{id}/sheets | $0.15/page |
| Search | POST /v1/projects/{id}/search | $0.005/query |
| Query (NL answers) | POST /v1/projects/{id}/query | $0.03/query |
When to Use What
When to Use What
| Need | Use | Cost Example |
|---|---|---|
| Fast annotation detection, no storage | Raw Detection | 100 pages = $2 |
| Searchable knowledge graph across sheets | Graph Ingestion | 100 pages = $15 |
| Find specific entities or components | Search | 200 queries = $1 |
| Ask questions in plain English | Query | 50 questions = $1.50 |
Pricing Example
Pricing Example
A 96-page structural set with Graph Ingestion + 100 searches + 20 queries = $15.10
Quickstart
Get your API key
Sign up at app.stru.ai to get your API key.
Authentication
All requests require a Bearer token:Tier 1: Raw Detection
Fast geometric detection. No LLM, no graph storage. Returns annotations in ~1-2 seconds. Detects: Leaders, Section Tags, Detail Tags, Revision Triangles, Revision Clouds, Title Block bounds.POST /v1/drawings
Submit a PDF page for annotation detection. Request (multipart/form-data):| Field | Type | Required | Description |
|---|---|---|---|
file | file | Yes | PDF file (max 50MB) |
page | integer | Yes | Page number (1-indexed) |
Response (200 OK)
Response (200 OK)
GET /v1/drawings/
Retrieve a previously processed drawing.DELETE /v1/drawings/
Delete a drawing result.Tier 2: Graph + Search
Full pipeline: detection → LLM enrichment → Neo4j graph → semantic search. What you get:- Entities with semantic descriptions
- Relationships between entities
- Cross-sheet reference linking
- Natural language search and query
Projects
POST /v1/projects
Create a project to group related sheets.Response
Response
GET /v1/projects
List all projects.GET /v1/projects/
Get project details and stats.DELETE /v1/projects/
Delete project and all sheets/entities.Sheets
POST /v1/projects//sheets
Ingest a PDF page into the knowledge graph. Request (multipart/form-data):| Field | Type | Required | Description |
|---|---|---|---|
file | file | Yes | PDF file |
page | integer | Yes | Page number (1-indexed) |
webhook_url | string | No | Callback when complete |
Response (202 Accepted)
Response (202 Accepted)
GET /v1/projects//jobs/
Check ingestion progress.Response
Response
GET /v1/projects//sheets
List all sheets in project.GET /v1/projects//sheets/
Get sheet with all entities.DELETE /v1/projects//sheets/
Remove sheet from graph.Search
POST /v1/projects//search
Hybrid semantic search (vector + fulltext + graph traversal).Price: $0.005 per query
Response
Response
Query
POST /v1/projects//query
Ask questions in natural language.Price: $0.03 per query
Response
Response
Entities & Relationships
GET /v1/projects//entities
List entities. Filter bysheet_id, type.
GET /v1/projects//entities/
Get entity with all relationships.GET /v1/projects//relationships
List relationships. Filter bysource_id, target_id, type.
Reference
- Entity Types
- Relationship Types
- Rate Limits
| Type | Examples |
|---|---|
Sheet | S1.1, A2.3 |
View | Plan, Section, Detail, Elevation |
Zone | Title Block, General Notes, Legend |
Component | Beam, Column, Duct, Pipe |
Connection | Weld, Bolt |
Datum | Grid Line, Level |
Annotation | Leader Note, Dimension |
Callout | Section Tag, Detail Tag |
Symbol | North Arrow, Revision Triangle |
Errors
Webhooks
When you provide awebhook_url during sheet ingestion, we’ll POST to it when processing completes:
X-Signature: sha256=<hmac>