Procore Defects API

The Defects API from Procore — 17 operation(s) for defects.

GitHub OpenAPI
Business capability
Construction & Field Delivery Management BC-5040

Operations 21

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/bulk_transitions/{new_status} Move many defects to a new status · Bulk transition defects to a new status #
Ask an LLM
“How do I move several defects to a new status at once?”
“Can I bulk transition defects in a materials management project?”
Tell an agent
Move defects {ids} to status {new_status} in project {project_id}, company {company_id}.
Bulk transition defects {ids} to {new_status}.
PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/line_items/bulk_update Update resolution and notes on defect line items · Updates a line item for a defect #
Ask an LLM
“How do I set the resolution status and notes on the line items of a defect?”
“What happens when I resolve a defect line with ADD_TO_STOCK without giving a location?”
Tell an agent
Update the resolution status and notes on the line items of defect {id} in project {project_id}, company {company_id}.
Resolve line items on defect {id} as ADD_TO_STOCK in project {project_id}, company {company_id}, using company header {procore_company_id}.
PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/line_items/bulk_update Resolve many defect lines at once · Updates multiple line items for a defect #
Ask an LLM
“Can I resolve several defect lines across different defects in one request?”
“Is there a bulk way to resolve defect lines?”
Tell an agent
Resolve defect lines across project {project_id}, company {company_id}.
Apply these defect line resolutions in one bulk update.
POST /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/line_items/unresolve Un-resolve resolved defect lines · Un-resolves resolved line items for a defect #
Ask an LLM
“How do I undo the resolution of a defect line?”
“Can I put resolved defect material back into the defect condition?”
Tell an agent destructive · confirm first
Un-resolve resolved lines on defect {defect_id} in project {project_id}, company {company_id}.
Reverse the resolution of defect lines on defect {defect_id}.
POST /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/attachments Attach files to a defect · Adds attachments to a defect resource #
Ask an LLM
“How do I attach a photo or document to a defect?”
“Can I upload a file to a defect record?”
Tell an agent
Attach files to defect {defect_id} in project {project_id}, company {company_id}.
Upload a new file onto defect {defect_id}.
DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/attachments Remove attachments from a defect · Deletes attachments from a defect resource #
Ask an LLM
“How do I remove a file from a defect?”
“Can I delete attachments on a defect record?”
Tell an agent destructive · confirm first
Delete attachments from defect {defect_id} in project {project_id}, company {company_id}.
Remove the attached files on defect {defect_id}.
PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/attachments Rename or relabel a defect attachment · Updates attachment for a defect resource #
Ask an LLM
“Can I change the description of an attachment on a defect?”
“Is it possible to rename the file attached to a defect?”
Tell an agent
Set the attachment on defect {id} in company {company_id} project {project_id} to {file_name}.
Change the description of attachment {file_id} on defect {id} to {description}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/attachments List attachments on a defect · Get details of one or more attachments for a defect resource #
Ask an LLM
“What files are attached to a defect?”
“Can I see all attachments on a defect document?”
Tell an agent
List attachments on defect {defect_id} in project {project_id}, company {company_id}.
Show every file attached to defect {defect_id}.
POST /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/comments Comment on a defect · Adds comments to a defect resource #
Ask an LLM
“How do I add a note to a defect?”
“Can I comment on a defect document?”
Tell an agent
Add a comment to defect {defect_id} in project {project_id}, company {company_id}.
Leave a note on defect {defect_id}.
PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id} Update a defect's header · Updates a defect resource #
Ask an LLM
“How do I change the title or notes on a defect?”
“Can I update a defect's status through its header?”
Tell an agent
Update defect {defect_id} in project {project_id}, company {company_id}.
Change the notes on defect {defect_id} to {notes}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id} Get a defect's header · Get Defect Header by ID #
Ask an LLM
“What title and notes does a defect have?”
“Can I read just the header of a defect?”
Tell an agent
Get the header of defect {defect_id} in project {project_id}, company {company_id}.
Show the title and notes on defect {defect_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects List defects in a project · Get all Defects #
Ask an LLM
“Which defects exist in a materials management project?”
“Can I filter defects by status or vendor?”
Tell an agent
List defects in project {project_id}, company {company_id}.
Show defects in project {project_id} with status {status}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/line_items List all defect line items · Get all Defect Line Items #
Ask an LLM
“What materials are listed across every defect in a project?”
“Can I see all defect line items regardless of which defect they belong to?”
Tell an agent
List all defect line items in project {project_id}, company {company_id}.
Show every defect line item across defects in project {project_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/line_items List a defect's line items · Get Defect Line Items by Defect ID #
Ask an LLM
“Which materials and quantities are on a specific defect?”
“Can I see the line items of one defect?”
Tell an agent
List line items on defect {defect_id} in project {project_id}, company {company_id}.
Show the materials and quantities on defect {defect_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/details Get a defect's full details · Get Defect by ID #
Ask an LLM
“What are the full details of a defect, including its line items?”
“Can I see every field of a defect document?”
Tell an agent
Get the full details of defect {defect_id} in project {project_id}, company {company_id}.
Show every field and line item on defect {defect_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/configure List configurable defect columns · Get all configurable columns for Defects #
Ask an LLM
“Which columns can I show on defect records?”
“What configurable fields exist for defects?”
Tell an agent
List configurable columns for defects in project {project_id}, company {company_id}.
Show the defect record columns I can configure.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/properties List custom property definitions for defects · Get all properties for Defects #
Ask an LLM
“What custom properties are defined for defects?”
“Can I see the custom property definitions on defect records?”
Tell an agent
List custom property definitions for defects in project {project_id}, company {company_id}.
Show the defect custom properties.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{defect_id}/attachments/{id} Get one defect attachment · Get details of a single attachment for a defect resource #
Ask an LLM
“What are the details of a single file on a defect?”
“Can I look up one defect attachment by file ID?”
Tell an agent
Get attachment {file_id} on defect {defect_id} in project {project_id}, company {company_id}.
Show the details of file {file_id} attached to defect {defect_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/change_history View a defect's change history · Gets change history for a defect #
Ask an LLM
“Who changed a defect and when?”
“Can I see the change history of a defect?”
Tell an agent
Get the change history of defect {defect_id} in project {project_id}, company {company_id}.
Show who changed defect {defect_id} and when.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/related_documents List documents related to a defect · Gets related documents for a defect #
Ask an LLM
“Which purchase orders, shipments or receipts are linked to a defect?”
“Can I see the related documents for a defect?”
Tell an agent
List documents related to defect {defect_id} in project {project_id}, company {company_id}.
Show the purchase orders and receipts linked to defect {defect_id}.
GET /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/defects/{id}/properties Get defect properties · Get all properties for a resource #
Ask an LLM
“What properties are set on a defect?”
“Can I see a defect's property values?”
Tell an agent
Get properties for defect {id} in project {project_id} of company {company_id}.
Show the property values of defect {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/procore:procore-defects-api"
All apis
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.

Get an API 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 Specification

procore-defects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Procore REST Defects API
  version: v1.0/v2.0
  description: Merged from the per-resource OpenAPI documents Procore publishes through its developer portal (https://developers.procore.com/api/v1/resource_groups). Originals are kept verbatim in openapi/_original/resources/.
  x-source: https://developers.procore.com/api/v1/resource_groups
servers:
- url: https://api.procore.com
  description: Production
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (400 KB total) ---
# Full source: https://artifacts.apis.io/procore/openapi/procore-defects-api-openapi.yml