Retrieves a single extracted specification section by its ID. The response includes the full section metadata, all structured facets (each containing up to 50,000 characters of source text), and any artifact URLs generated during processing.
Endpoint
GET https://plangrep.com/api/open/v1/projects/{projectId}/specifications/{specificationId}
Path Parameters
The unique identifier of the project that owns the specification section.
The unique identifier of the specification section to retrieve.
Query Parameters
When true, artifact URL fields are stripped from the response.
Comma-separated list of sheet IDs to narrow context.
Optional filter by parent file ID.
Optional case-insensitive substring match on the parent file name.
Optional filter by parent file classification. One of: plans, specifications, documents, addenda, mixed, other.
Optional filter — returns the section only if it matches this section number.
Optional filter — returns the section only if it starts at or after this 1-based page number. Minimum: 1.
Optional filter — returns the section only if it ends at or before this 1-based page number. Minimum: 1.
Response
Returns an object containing the matching specification entity.
specification
ProjectSpecificationEntity
The requested specification section entity. Show ProjectSpecificationEntity fields
Unique identifier for this specification section.
Specification section number (e.g. 03 30 00).
Full title of the specification section.
1-based page number where this section begins.
1-based page number where this section ends.
facets
ProjectSpecificationFacetEntity[]
Structured sub-components of the section. Show ProjectSpecificationFacetEntity fields
Unique identifier for this facet.
Machine-readable key identifying the facet type.
Category of the facet (e.g. part, article, paragraph).
Human-readable label for this facet.
Describes how completely this facet covers its source content.
Raw source text for this facet, up to 50,000 characters .
1-based page number where this facet begins.
1-based page number where this facet ends.
Array of artifact objects with URLs to derived outputs. Omitted when compact=true.
Example Request
curl -X GET "https://plangrep.com/api/open/v1/projects/proj_abc123/specifications/spec_001" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Example Response
{
"specification" : {
"specificationId" : "spec_001" ,
"fileId" : "file_002" ,
"fileName" : "Project_Specifications.pdf" ,
"sectionNumber" : "03 30 00" ,
"sectionTitle" : "Cast-In-Place Concrete" ,
"pageStart" : 45 ,
"pageEnd" : 62 ,
"facets" : [
{
"facetId" : "facet_001" ,
"facetKey" : "part_1_general" ,
"facetKind" : "part" ,
"facetLabel" : "PART 1 – GENERAL" ,
"coverageKind" : "full" ,
"facetText" : "1.01 SUMMARY \n A. Section includes cast-in-place concrete for all structural and architectural elements..." ,
"pageStart" : 45 ,
"pageEnd" : 48
},
{
"facetId" : "facet_002" ,
"facetKey" : "part_2_products" ,
"facetKind" : "part" ,
"facetLabel" : "PART 2 – PRODUCTS" ,
"coverageKind" : "full" ,
"facetText" : "2.01 CONCRETE MATERIALS \n A. Portland Cement: ASTM C150..." ,
"pageStart" : 49 ,
"pageEnd" : 55
}
],
"artifacts" : []
}
}