Get Company-Level Contexts
get_company_level_contextsRetrieve company-level contexts for document markup with full field details. Filter by ID, type, or date, paginate results, and get read-only data from Procore.
Instructions
Returns all company-level contexts with pagination and filtering. Use this when you already know which company-level context you want and need its full field set. company_id defaults to the value set by procore_set_config when omitted. Returns a single JSON object describing the company-level context. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id. Procore API (v2.0): Project Management > Document Markup. Endpoint: GET /rest/v2.0/companies/{company_id}/domains/contexts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Query string parameter — page number for pagination (1-based) | |
| per_page | No | Query string parameter — number of items per page (max 5000 for ids_only) | |
| company_id | Yes | URL path parameter — unique identifier of the company | |
| filters__id | No | Query string parameter — jSON array of context IDs to filter by | |
| filters__updated_at | No | Query string parameter — filter by updated_at range in ISO format (start...end) | |
| filters__created_before | No | Query string parameter — filter contexts created before this ISO date-time | |
| filters__context_type_id | No | Query string parameter — context type ID to filter by | |
| filters__subcontext_type_id | No | Query string parameter — sub-context type ID to filter by |