Clearstory Projects API
The Projects API from Clearstory, for projects.
The Projects API from Clearstory, for projects.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/extracker:extracker-projects-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Clearstory Web Projects API
version: 1.9.0
host: web-api.clearstory.build
description: 'The Clearstory Web API allows you to access and build your own applications that utilize your Clearstory data. The Clearstory Web API provides a RESTful interface with JSON-formatted responses to access many Clearstory resources. Check back here for more information as we continue to expanding our API functionality.
Web API domain: `https://web-api.clearstory.build`'
x-logo:
url: https://www.clearstory.build/hubfs/CS_Logo_Landscape_Color_1200x400.svg
backgroundColor: '#FFFFFF'
altText: Clearstory
servers:
- url: https://web-api.clearstory.build/
tags:
- name: Projects
paths:
/projects:
get:
operationId: ListProjects
responses:
'200':
description: Ok
content:
application/json:
schema:
properties:
records:
$ref: '#/components/schemas/Project'
limit:
type: number
format: double
offset:
type: number
format: double
count:
type: number
format: double
required:
- records
- limit
- offset
- count
type: object
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
examples:
Example 1:
value:
message: unauthorized
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
description: Retrieves a list of sent or received T&M Tags for the entire company with optional filtering.
tags:
- Projects
security:
- ClearstoryAPIKey: []
parameters:
- description: How many records to skip
in: query
name: skip
required: false
schema:
format: int32
type: integer
- description: How many records to retrieve
in: query
name: take
required: false
schema:
format: int32
type: integer
maximum: 100
- description: Which field to sort by
in: query
name: sortBy
required: false
schema:
$ref: '#/components/schemas/ProjectSortFields'
- description: The sorting direction
in: query
name: sortDirection
required: false
schema:
$ref: '#/components/schemas/SortDirection'
- description: Search by project title
in: query
name: searchTitle
required: false
schema:
type: string
- description: Set true to retrieve archived projects only
in: query
name: archived
required: false
schema:
type: boolean
- description: Filter by company job number
in: query
name: jobNumber
required: false
schema:
type: string
- description: Filter to include Projects from their last updated timestamp (greater than or equal to) this ISO-8601 date, ie. `"2026-01-26T00:00:00Z"`. If no timezone is specified, UTC is used.
in: query
name: fromUpdatedAt
required: false
schema:
format: date-time
type: string
- description: Filter to include Projects until their last updated timestamp (less than or equal to) this ISO-8601 date, ie. `"2026-01-27T00:00:00Z"`. If no timezone is specified, UTC is used.
in: query
name: untilUpdatedAt
required: false
schema:
format: date-time
type: string
summary: List projects
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: List Projects
post:
operationId: CreateProject
responses:
'200':
description: Ok
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
'422':
description: Unprocessable Entity
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: there was a problem with the request
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
description: Creates a new project.
tags:
- Projects
security:
- ClearstoryAPIKey: []
parameters: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProjectParams'
summary: Create project
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: Create Project
/projects/{id}:
get:
operationId: GetProject
responses:
'200':
description: Ok
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedErrorResponse'
examples:
Example 1:
value:
message: unauthorized
'404':
description: Not Found
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
description: Retrieves an individual project given its id.
tags:
- Projects
security:
- ClearstoryAPIKey: []
parameters:
- description: The project id
in: path
name: id
required: true
schema:
format: int32
type: integer
- description: Set true to include 3rd party integration metadata
in: query
name: withIntegrationMetadata
required: false
schema:
type: boolean
summary: Get project
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: Get Project
patch:
operationId: UpdateProject
responses:
'200':
description: Ok
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
'422':
description: Unprocessable Entity
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: there was a problem with the request
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
description: 'Updates a project.
Note: You can''t change the Office a project belongs to. There are many considerations if this operation is required such as users
who may or may not belong to an Office. Also note that the Customer info records are associated with offices and so the customer
info''s office association may also need to change.
Associated Customer info records can be updated as well, but the Customer info record must be associated with the project''s office
otherwise it will not update the association (and no error will be returned).'
tags:
- Projects
security:
- ClearstoryAPIKey: []
parameters:
- in: path
name: id
required: true
schema:
format: double
type: number
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateProjectParams'
summary: Update project
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: Update Project
/projects/{id}/users:
post:
operationId: AddProjectUsers
responses:
'200':
description: Ok
content:
application/json:
schema:
properties:
users:
items:
properties:
message:
type:
- string
- 'null'
success:
type: boolean
userId:
type: number
format: double
required:
- message
- success
- userId
type: object
type: array
required:
- users
type: object
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
'422':
description: Unprocessable Entity
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: there was a problem with the request
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseJSON'
examples:
Example 1:
value:
message: something went wrong
description: 'Assigns one or more existing Company users to a Project.
Each user is validated and assigned independently, so the response reports the outcome per user.
Assigned users are added to the Project with the standard default permissions and receive the same
project invite email and in-app notification they would when added via the web application.
Users that are already on the Project (or have a pending invite), or that do not belong to your
company, are skipped and reported with a message explaining why.'
tags:
- Projects
security:
- ClearstoryAPIKey: []
parameters:
- description: The project id
in: path
name: id
required: true
schema:
format: int32
type: integer
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AddProjectUsersParams'
summary: Add project users
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: Add Project Users
components:
schemas:
ProjectSortFields:
type: string
enum:
- createdAt
- updatedAt
- title
- contractValue
description: Valid sorting fields for projects.
AddProjectUsersParams:
properties:
userIds:
items:
type: integer
format: int32
type: array
description: 'The ids of existing Company users to assign to the Project. Users must belong to the same
company as the API key. Users already on the Project (or with a pending invite) are skipped
and reported in the response.'
example:
- 5391
- 5390
minItems: 1
required:
- userIds
type: object
additionalProperties: false
StreetAddress:
properties:
projectAddress:
type: string
streetAddress:
type: string
city:
type: string
state:
type: string
zipCode:
type: string
postalCode:
type: string
country:
type: string
latitude:
type: number
format: double
longitude:
type: number
format: double
required:
- projectAddress
- streetAddress
- city
- state
- zipCode
- postalCode
- country
- latitude
- longitude
type: object
additionalProperties: false
SortDirection:
description: Sort direction options
enum:
- asc
- desc
type: string
UnauthorizedErrorResponse:
properties:
message:
type: string
type: object
additionalProperties: false
Contract:
properties:
id:
type: integer
format: int32
name:
type: string
description: 'The contract name. Note this may be an empty string in some cases.
This name can be managed by either party (customer or contractor).
It is a shared record in this sense.'
contractValue:
type: number
format: decimal
description: 'The contract value. Again, this value can be managed by both
the contractor and the customer.'
customerProjectId:
type: integer
format: int32
contractorProjectId:
type: integer
format: int32
required:
- id
- name
- contractValue
type: object
additionalProperties: false
CreateProjectParams:
properties:
creatorId:
type: integer
format: int32
description: The creator id is a User id of a Company user (if not set, the user ID who owns the API key will be used)
officeId:
type: integer
format: int32
description: The Office id for the Project
customerId:
type: integer
format: int32
description: Optional ID of a Clearstory Customer information record to associate to this project
customerInternalId:
type: string
description: Optional Customer internal ID to associate a Clearstory customer information record to this project
minLength: 1
maxLength: 150
title:
type: string
description: The Project title
minLength: 1
maxLength: 150
jobNumber:
type: string
description: The job number (your company's job number)
maxLength: 100
customerJobNumber:
type: string
description: The customer's job number (your customer's job number if known)
maxLength: 100
contractValue:
type: number
format: float
description: The contract value with your customer (up to two decimal places are supported)
address:
type: string
description: The project's street address
maxLength: 255
city:
type: string
description: The project's city
maxLength: 75
state:
type: string
description: The project's state (prefer using US state abbreviation, but not required)
maxLength: 50
zipCode:
type: string
description: The project's postal code
maxLength: 25
country:
type: string
description: The project's country (prefer using country code, but not required)
maxLength: 75
lat:
type: number
format: double
description: The project's latitude
lng:
type: number
format: double
description: The project's longitude
presetSupervisorNotes:
type: string
description: 'The project''s preset supervisor notes (if different from the office''s, this value will be used instead).
Note that this notes field, while often displayed in e-mails and PDFs, does not currently support HTML.
Please use text only. These are typically short notes in nature, but can support quite a bit of text.'
maxLength: 65000
contractName:
type: string
description: The project's contract name (the contract with the customer)
maxLength: 100
division:
$ref: '#/components/schemas/Division'
description: The project division
required:
- officeId
- title
type: object
additionalProperties: false
UpdateProjectParams:
properties:
customerId:
type: integer
format: int32
description: Optional ID of a Clearstory Customer information record to associate to this project
title:
type: string
description: The Project title
minLength: 1
maxLength: 150
jobNumber:
type:
- string
- 'null'
description: The job number (your company's job number)
maxLength: 100
customerJobNumber:
type:
- string
- 'null'
description: The customer's job number (your customer's job number if known)
maxLength: 100
contractValue:
type: number
format: float
description: The contract value with your customer (up to two decimal places are supported)
address:
type: string
description: The project's street address
maxLength: 255
city:
type: string
description: The project's city
maxLength: 75
state:
type: string
description: The project's state (prefer using US state abbreviation, but not required)
maxLength: 50
zipCode:
type: string
description: The project's postal code
maxLength: 25
country:
type: string
description: The project's country (prefer using country code, but not required)
maxLength: 75
lat:
type: number
format: double
description: The project's latitude
lng:
type: number
format: double
description: The project's longitude
presetSupervisorNotes:
type:
- string
- 'null'
description: 'The project''s preset supervisor notes (if different from the office''s, this value will be used instead).
Note that this notes field, while often displayed in e-mails and PDFs, does not currently support HTML.
Please use text only. These are typically short notes in nature, but can support quite a bit of text.'
maxLength: 65000
division:
allOf:
- $ref: '#/components/schemas/Division'
description: The project division (note that this will not adjust any division default rates if changed).
archived:
type: boolean
description: 'Whether the project is archived. Set to `true` to archive the project (it will be
removed from Active Projects), or `false` to unarchive it (it will be restored to
Active Projects). This field is optional; if omitted, the project''s archived status
is left unchanged.'
type: object
additionalProperties: false
Project:
properties:
id:
type: number
format: double
projectTitle:
type: string
jobNumber:
type: string
customerJobNumber:
type: string
division:
type: string
originType:
type: string
archived:
type: boolean
customer:
type: string
customerId:
type: number
format: double
customerInternalId:
type: string
contractValue:
type: number
format: double
address:
$ref: '#/components/schemas/StreetAddress'
officeId:
type: number
format: double
companyId:
type: number
format: double
office:
$ref: '#/components/schemas/Office'
contractWithCustomer:
$ref: '#/components/schemas/Contract'
contracts:
items:
$ref: '#/components/schemas/Contract'
type: array
integrationMetadata:
items:
$ref: '#/components/schemas/IntegrationMetadata'
type: array
updatedAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
startDate:
type: string
format: date-time
endDate:
type: string
format: date-time
required:
- id
- customerJobNumber
- contractValue
- contractWithCustomer
type: object
additionalProperties: false
IntegrationMetadata:
properties:
id:
type: string
provider:
type: string
name:
type: string
value: {}
updatedAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
required:
- id
- provider
- name
type: object
additionalProperties: false
Office:
properties:
id:
type: integer
format: int32
name:
type: string
description: 'The office name is only seen internally. It is not seen by other parties.
For example "Main" or "San Francisco" are common examples.'
businessName:
type: string
description: 'An optional business name that will be used instead of the company name
throughout the application, in the context of projects from this office,
for other parties. So when a customer sees their contractor''s company name,
it is derived from their contractor''s project''s office''s business name if set.
Otherwise it will be the contractor''s company name.'
address:
type: string
city:
type: string
state:
type: string
country:
type: string
zipCode:
type: string
phone:
type: string
fax:
type: string
lat:
type: number
format: double
lng:
type: number
format: double
customId:
type: string
description: 'An internal or custom id users can assign their office.
This can help when integrating with other systems.'
tzName:
type: string
description: 'The timezone the office is set to. This is important for PDF documents that get
generated, reporting, and more.'
regionId:
type: number
format: double
updatedAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
required:
- id
type: object
additionalProperties: false
ErrorResponseJSON:
properties:
message:
type: string
type: object
additionalProperties: false
Division:
description: Division names
enum:
- above_grade_waterproofing
- access_control_systems
- access_flooring
- acoustical_ceiling
- acoustical_treatment
- appliances
- applied_fireproofing
- architectural_woodwork
- artisan_veneer_plaster
- as_built_survey
- asphalt_paving
- athletic_equipment
- audio_visual_systems
- awnings_canopies
- below_grade_waterproofing
- book_storage_retrieval_sys
- building_specialties
- carpet_resilient_flooring
- ceramic_tile
- chain_link_fence
- commercial_equipment
- compressed_air_systems
- concrete_countertops
- concrete_cutting_coring
- concrete_formwork
- concrete_place_finish
- concrete_reinforcing_steel_p_t
- concrete_sealing
- concrete_work
- crane_hoists
- custom_elevator_cabs_doors
- decorative_metal_fence
- decorative_metals
- demolition
- demountable_partitions
- dewatering
- distributed_a_v_systems
- distributed_antenna_systems
- doors_frames_hardware
- eifs
- electrical
- elevators
- entrance_floor_mats_frames
- escalators_moving_walks
- expansion_joints
- exterior_stone
- fabric_wrapped_wall_panels
- fire_alarm
- fire_extinguishers_cabinets
- fire_extinguishing_sys_dry
- fire_sprinklers
- fireplaces
- firestopping
- fixed_audience_seating
- flagpoles
- flashing_sheetmetal
- flood_barriers
- fluid_applied_flooring
- food_service_equipment
- fountains_water_features
- fuel_cells
- fuel_storage_tanks
- furniture
- gfrc
- glass_glazing
- glass_fiber_reinfrcd_pnl_frp
- glass_railings
- grading_paving
- grandstands_bleachers
- gypsum_cement_underlayment
- high_performance_coatings
- hvac
- interior_stone
- intumescent_fireproofing
- joint_sealants_caulking
- joint_trench
- knox_box
- laboratory_casework
- laboratory_equipment
- landscape_irrigation
- lath_plaster
- laundry_chutes
- library_stack_systems
- lightweight_insulating_conc
- loading_dock_equipment
- louvers_vents
- masonry
- mass_excavation_fill
- metal_building_systems
- metal_decking
- metal_railings
- metal_roofing
- metal_siding
- metal_stairs_railings
- metal_studs_drywall
- metal_wall_panels
- millwork_casework
- misc_metal
- off_site_utilities
- operable_partitions
- orchestra_stage_lifts
- overhead_doors_grilles
- painting
- painting_exterior
- pallet_racks
- panelized_roof_systems
- parking_control_equipment
- parking_management_systems
- pavement_markings_bumpers
- pedestrian_control_equipment
- pest_control
- photovoltaic_systems
- pile_foundations
- plastic_laminate_countertops
- play_structures
- plumbing
- postal_specialties
- precast_concrete
- precast_concrete_site_walls
- process_piping_systems
- production_rigging_systems
- projection_screens
- recreational_equipment
- remediation_abatement
- rescue_air_system
- restoration_work
- roof_screens
- roof_specialties_accessories
- roof_pedestal_pavers
- roofing
- rough_carpentry
- safety_netting
- sandblasting
- scoreboards
- security_systems
- shoring_underpinning
- shotcrete
- shower_surrounds
- signage
- site_concrete
- site_electrical
- site_furnishings
- site_tele_data
- site_utilities
- skylights
- smoke_containment_barriers
- soil_vapor_extraction
- solar_hot_water_systems
- specialty_flooring
- stadium_arena_seating
- staining
- staking
- stone_countertops
- stone_flooring
- storage_lockers
- street_traffic_lights
- structural_excavation
- structural_steel
- strut_grid_systems
- submetering
- swimming_pool_spa
- swing_stage
- swppp_maintenance
- tele_data_systems
- terrazzo_flooring
- testing_inspection
- thermal_insulation
- thermal_insulation_exterior
- tile_roofing
- tilt_up_concrete
- toilet_accessories
- toilet_partitions_accessories
- tower_mobile_crane
- traffic_coating
- trash_chutes
- trash_compactors
- tree_shrub_transplanting
- tub_shower_doors
- unit_pavers
- vehicle_barrier_cables
- vehicle_lifts
- vesda
- visual_display_surfaces
- wall_corner_guards
- wall_coverings
- wardrobe_closet_specialties
- waterproofing
- waterproofing_and_roofing
- wheelchair_lifts
- window_film
- window_treatments
- window_washing_systems
- windows
- wire_mesh_partitions
- wood_fence
- wood_flooring
- wood_framing
- wood_siding
- wood_trusses
type: string
securitySchemes:
ClearstoryAPIKey:
type: http
scheme: basic
in: header
name: Authorization
description: 'The Web API currently uses Basic Auth where the username is the _Key ID_ and password is the _Key Secret._ **These API keys provide access to your data at a company level.**
There is a limit to the number of API keys a given company can have generated and active at any given time. Keys can be disabled and created again.
It is important to note the _Secret Key_ value cannot be retrieved again. Should you lose it, you will need to generate a new API key.
Basic Auth works simply by including an `Authorization` header with a base64 encoded string value that combines your _**Key ID**_ and _**Key Secret**_ separated by a colon. ie. `476B2524694742F2B2ACA15ACE3518C9:112cd32ec0d015fe9c5709d14cef3201`.
Your final header should look something like: `Authorization: Basic YWRzZmFkZmFrZmpoM2sybGpma3dhMw==`'