SafetyCulture · Schema
s12.contractors.v1.ListCompanyDocumentsResponse
CompanyBusiness ApplicationsSafetyInspectionWorkplace OperationsEHSComplianceTrainingField Service ManagementWebhookAustralia
Properties
| Name | Type | Description |
|---|---|---|
| company_document_list | array | The list of documents in the company. |
| next_page_token | string | The next page token. |
| total_count | integer | The total number of documents that match the filter (in the current archived scope — active or archived, whichever was requested). |
| total_archived_count | integer | The total number of archived documents that match the same filters as this request, regardless of which archived scope was requested. Used by clients to populate a "Show archived (N)" badge without fi |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-contractors-v1-list-company-documents-response-schema.json",
"title": "s12.contractors.v1.ListCompanyDocumentsResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/safetyculture-companies-api-openapi.yml#/components/schemas/s12.contractors.v1.ListCompanyDocumentsResponse",
"type": "object",
"properties": {
"company_document_list": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/$defs/s12.contractors.v1.CompanyDocument"
},
"description": "The list of documents in the company."
},
"next_page_token": {
"type": "string",
"description": "The next page token."
},
"total_count": {
"type": "integer",
"format": "int32",
"description": "The total number of documents that match the filter (in the current\narchived scope — active or archived, whichever was requested)."
},
"total_archived_count": {
"type": "integer",
"format": "int32",
"description": "The total number of archived documents that match the same filters as\nthis request, regardless of which archived scope was requested. Used by\nclients to populate a \"Show archived (N)\" badge without firing a second\nrequest, so the count always respects the user's active filters."
}
},
"$defs": {
"google.type.Date": {
"type": "object",
"properties": {
"year": {
"type": "integer",
"format": "int32",
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without\na year."
},
"month": {
"type": "integer",
"format": "int32",
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a\nmonth and day."
},
"day": {
"type": "integer",
"format": "int32",
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0\nto specify a year by itself or a year and month where the day isn't\nsignificant."
}
},
"description": "* A full date, with non-zero year, month, and day values\n* A month and day value, with a zero year, such as an anniversary\n* A year on its own, with zero month and day values\n* A year and month value, with a zero day, such as a credit card expiration\ndate\n\nRelated types are [google.type.TimeOfDay][google.type.TimeOfDay] and\n`google.protobuf.Timestamp`.",
"title": "Represents a whole or partial calendar date, such as a birthday. The time of\nday and time zone are either specified elsewhere or are insignificant. The\ndate is relative to the Gregorian Calendar. This can represent one of the\nfollowing:"
},
"s12.common.ExpiryStatus": {
"type": "string",
"enum": [
"EXPIRY_STATUS_VALID",
"EXPIRY_STATUS_EXPIRED",
"EXPIRY_STATUS_EXPIRING_SOON"
],
"description": "The expiry status of an object based on its validity period."
},
"s12.common.Language": {
"type": "string",
"enum": [
"LANGUAGE_UNSPECIFIED",
"LANGUAGE_EN_US",
"LANGUAGE_EN_GB",
"LANGUAGE_DE_DE",
"LANGUAGE_ES_ES",
"LANGUAGE_FR_FR",
"LANGUAGE_PT_BR",
"LANGUAGE_NL_NL"
],
"default": "LANGUAGE_UNSPECIFIED",
"description": "- LANGUAGE_UNSPECIFIED: Language unspecified\n - LANGUAGE_EN_US: Language en-US\n - LANGUAGE_EN_GB: Language en-GB\n - LANGUAGE_DE_DE: Language de-DE\n - LANGUAGE_ES_ES: Language es-ES\n - LANGUAGE_FR_FR: Language fr-FR\n - LANGUAGE_PT_BR: Language pt-BR\n - LANGUAGE_NL_NL: Language nl-NL",
"title": "Language represents the languages offered in SafetyCulture"
},
"s12.common.Media": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"token": {
"type": "string"
},
"filename": {
"type": "string",
"description": "full file name, including file extension"
},
"media_type": {
"$ref": "#/$defs/s12.common.MediaType"
}
},
"title": "Represents an image or video"
},
"s12.common.MediaType": {
"type": "string",
"enum": [
"MEDIA_TYPE_IMAGE",
"MEDIA_TYPE_VIDEO",
"MEDIA_TYPE_PDF",
"MEDIA_TYPE_DOCX",
"MEDIA_TYPE_XLSX",
"MEDIA_TYPE_PPTX",
"MEDIA_TYPE_CSV"
],
"description": " - MEDIA_TYPE_IMAGE: An image file (GIF, JPG, PNG, WEBP).\n - MEDIA_TYPE_VIDEO: A video file (MP4, MOV).\n - MEDIA_TYPE_PDF: A PDF document.\n - MEDIA_TYPE_DOCX: A Microsoft Word document (DOCX, DOC).\n - MEDIA_TYPE_XLSX: A Microsoft Excel spreadsheet (XLSX, XLS).\n - MEDIA_TYPE_PPTX: A Microsoft PowerPoint presentation (PPTX, PPT).\n - MEDIA_TYPE_CSV: A CSV file."
},
"s12.common.SubscriptionSeatTypes": {
"type": "string",
"enum": [
"SUBSCRIPTION_SEAT_TYPE_UNSPECIFIED",
"SUBSCRIPTION_SEAT_TYPE_PREMIUM",
"SUBSCRIPTION_SEAT_TYPE_COLLABORATOR",
"SUBSCRIPTION_SEAT_TYPE_LITE",
"SUBSCRIPTION_SEAT_TYPE_SERVICE_USER",
"SUBSCRIPTION_SEAT_TYPE_SUPPORT"
],
"default": "SUBSCRIPTION_SEAT_TYPE_UNSPECIFIED",
"title": "SubscriptionSeatTypes is a list of potential subscription seat types"
},
"s12.common.UserActiveStatus": {
"type": "string",
"enum": [
"USER_ACTIVE_STATUS_UNSPECIFIED",
"USER_ACTIVE_STATUS_ACTIVE",
"USER_ACTIVE_STATUS_DEACTIVATED"
],
"default": "USER_ACTIVE_STATUS_UNSPECIFIED",
"description": "- USER_ACTIVE_STATUS_UNSPECIFIED: Status is unknown or not specified\n - USER_ACTIVE_STATUS_ACTIVE: User is active\n - USER_ACTIVE_STATUS_DEACTIVATED: User has been deactivated",
"title": "UserActiveStatus enumerates possible states of 'status' a user may be in"
},
"s12.common.UserDocument": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "UUID of the user"
},
"email": {
"type": "string",
"description": "Email of the user"
},
"first_name": {
"type": "string",
"description": "First name of the user"
},
"last_name": {
"type": "string",
"description": "Last name of the user"
},
"timezone": {
"type": "string",
"description": "What timezone the user is in"
},
"profile_picture": {
"type": "string",
"description": "URL of the profile picture of the user"
},
"status": {
"allOf": [
{
"$ref": "#/$defs/s12.common.UserActiveStatus"
}
],
"description": "Status of the user's account"
},
"external_mappings": {
"allOf": [
{
"$ref": "#/$defs/s12.common.UserDocument.UserExternalMappings"
}
],
"description": "External systems related to this user (e.g. EddApp connections, etc.)"
},
"seat_type": {
"allOf": [
{
"$ref": "#/$defs/s12.common.SubscriptionSeatTypes"
}
],
"description": "Type of seat the user is associated with, based on their subscription"
},
"profile_image": {
"allOf": [
{
"$ref": "#/$defs/s12.common.Media"
}
],
"description": "Profile token and image of user"
},
"last_seen": {
"type": "string",
"format": "date-time",
"description": "Timestamp of when the user last interacted with the system. May be empty."
},
"email_confirmed": {
"type": "boolean",
"description": "Whether or not the user has confirmed their email."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp of when the user was created."
},
"language": {
"allOf": [
{
"$ref": "#/$defs/s12.common.Language"
}
],
"description": "Language of the user"
},
"phone_number": {
"type": "string",
"description": "Phone number of the user"
}
},
"title": "UserDocument contains all information about a user"
},
"s12.common.UserDocument.UserExternalMappings": {
"type": "object",
"properties": {
"edapp_id": {
"type": "string"
}
},
"title": "UserExternalMappings defines third-party details associated with a user's account"
},
"s12.contractors.v1.AiDocumentComplianceAudit": {
"type": "object",
"properties": {
"status": {
"description": "Coarse lifecycle state. For terminal states (COMPLETED, FAILED),\nthe full result payload lives in `outcome`.",
"allOf": [
{
"$ref": "#/$defs/s12.contractors.v1.AiDocumentComplianceAuditStatus"
}
]
},
"finished_at": {
"type": "string",
"format": "date-time",
"description": "When the audit reached a terminal state. Unset for\nQUEUED / RUNNING / NOT_YET_QUEUED."
},
"completed": {
"$ref": "#/$defs/s12.contractors.v1.AiDocumentComplianceAuditCompletedOutcome"
},
"failed": {
"$ref": "#/$defs/s12.contractors.v1.AiDocumentComplianceAuditFailedOutcome"
}
},
"description": "AiDocumentComplianceAudit is the per-document-version result of running AI\ncompliance review against the rule for that document's type. Carried on a\nCompanyDocument when there is a rule configured for its type."
},
"s12.contractors.v1.AiDocumentComplianceAuditCompletedOutcome": {
"type": "object",
"properties": {
"result": {
"$ref": "#/$defs/s12.contractors.v1.AiDocumentComplianceAuditResult"
},
"summary_prose": {
"type": "string",
"description": "Plain-English explanation of the verdict, produced by the AI.\nAlways set."
}
},
"description": "AiDocumentComplianceAuditCompletedOutcome is the payload when the AI produced a\nverdict (status = COMPLETED). Includes UNCERTAIN — that's still a\ncompleted run, just one that fell back to manual review."
},
"s12.contractors.v1.AiDocumentComplianceAuditFailedOutcome": {
"type": "object",
"properties": {
"reason": {
"description": "Coarse, user-meaningful failure category.",
"allOf": [
{
"$ref": "#/$defs/s12.contractors.v1.AiDocumentComplianceAuditFailureReason"
}
]
},
"details": {
"type": "string",
"description": "Optional extra context — upstream error codes, file format details,\netc. Not intended for verbatim end-user display."
}
},
"description": "AiDocumentComplianceAuditFailedOutcome is the payload when the evaluator could\nnot run to completion (status = FAILED)."
},
"s12.contractors.v1.AiDocumentComplianceAuditFailureReason": {
"type": "string",
"enum": [
"AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_UNSPECIFIED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_INTERNAL_ERROR",
"AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_UNSUPPORTED_MEDIA_TYPE",
"AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_TIMEOUT",
"AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_RULE_OWNER_REMOVED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_FILE_TOO_LARGE"
],
"default": "AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_UNSPECIFIED",
"description": "AiDocumentComplianceAuditFailureReason is a coarse categorization of why an audit run failed to complete.\n\n - AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_INTERNAL_ERROR: Unclassified internal error.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_UNSUPPORTED_MEDIA_TYPE: File format not supported by the evaluator (e.g. .dwg, .zip).\n - AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_TIMEOUT: Evaluator timed out.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_RULE_OWNER_REMOVED: The rule's current_actor_user_id could not be resolved.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_FAILURE_REASON_FILE_TOO_LARGE: The document's file is too large for the evaluator to process (e.g. an\nimage exceeding the model's per-image byte limit)."
},
"s12.contractors.v1.AiDocumentComplianceAuditResult": {
"type": "string",
"enum": [
"AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_UNSPECIFIED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_COMPLIANT",
"AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_NON_COMPLIANT",
"AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_UNCERTAIN"
],
"default": "AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_UNSPECIFIED",
"description": "AiDocumentComplianceAuditResult is the AI's verdict on a completed audit.\n\n - AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_COMPLIANT: Document satisfies the rule's criteria.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_NON_COMPLIANT: Document fails one or more parts of the rule's criteria.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_RESULT_UNCERTAIN: The AI could not form a confident verdict (e.g. illegible scan, missing\npages). Falls back to manual review regardless of action_mode."
},
"s12.contractors.v1.AiDocumentComplianceAuditStatus": {
"type": "string",
"enum": [
"AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_UNSPECIFIED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_NOT_YET_QUEUED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_QUEUED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_RUNNING",
"AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_COMPLETED",
"AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_FAILED"
],
"default": "AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_UNSPECIFIED",
"description": "AiDocumentComplianceAuditStatus is the lifecycle of an audit run.\n\n - AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_NOT_YET_QUEUED: A rule is configured for the document's type but this version was\nnever audited — typically because the rule was created after the\nversion was uploaded. The frontend should surface a \"Run audit\"\naffordance rather than a verdict.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_QUEUED: Scheduled but not yet started.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_RUNNING: Currently being evaluated by the AI.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_COMPLETED: Evaluation finished — see result + summary_prose.\n - AI_DOCUMENT_COMPLIANCE_AUDIT_STATUS_FAILED: The evaluator errored out (e.g. unsupported media, AI gateway failure).\nSee summary_prose for a brief reason."
},
"s12.contractors.v1.CompanyDocument": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"resource_version_id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"updated_by": {
"type": "string"
},
"version_number": {
"type": "integer",
"format": "int32"
},
"source_id": {
"type": "string"
},
"file_size": {
"type": "integer",
"format": "int32"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"created_by": {
"type": "string",
"description": "@deprecated. Use created_by_user instead."
},
"archived": {
"type": "boolean"
},
"archived_at": {
"type": "string",
"format": "date-time"
},
"archived_by": {
"type": "string"
},
"company_document_type": {
"$ref": "#/$defs/s12.contractors.v1.CompanyDocumentType"
},
"issue_date": {
"$ref": "#/$defs/google.type.Date"
},
"expiration_date": {
"$ref": "#/$defs/google.type.Date"
},
"parent_id": {
"type": "string"
},
"approval_status": {
"$ref": "#/$defs/s12.documents.v1.ApprovalStatus"
},
"created_by_user": {
"$ref": "#/$defs/s12.common.UserDocument"
},
"media": {
"$ref": "#/$defs/s12.common.Media"
},
"doc_expiry_status": {
"$ref": "#/$defs/s12.common.ExpiryStatus"
},
"modified_by_user": {
"$ref": "#/$defs/s12.common.UserDocument"
},
"fulfills": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/$defs/s12.contractors.v1.FulfilledRequirementRef"
},
"description": "Output-only. References to CompanyRequirements (scoped to the requesting\norg) that this document currently fulfils. A document fulfils a\nrequirement when it is recorded as the fulfilling_entity on that\nrequirement row.\n\nToday, only the caller-org's requirements are surfaced — even though the\nsame document may transitively fulfil requirements held by other buyer\norgs that track the same contractor. May be empty."
},
"ai_compliance_audit": {
"description": "Output-only. The result of running AI compliance review against the rule\nconfigured for this document's type, for this specific version. Unset\nwhen no rule is configured for the type, or when no audit has been\nscheduled yet for this version.",
"allOf": [
{
"$ref": "#/$defs/s12.contractors.v1.AiDocumentComplianceAudit"
}
]
}
}
},
"s12.contractors.v1.CompanyDocumentType": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"form": {
"description": "Optional. The reusable pre-qualification form attached to this document\ntype. Pre-loads into every request for the type. Unset when the type has\nno form.",
"allOf": [
{
"$ref": "#/$defs/s12.contractors.v1.CompanyDocumentTypeForm"
}
]
},
"open_request_count": {
"type": "string",
"format": "int64",
"description": "Output-only. Number of open (sent-but-unfulfilled) requests for this type,\norg-wide. Drives the \"updating the form applies to N open requests\" banner."
}
}
},
"s12.contractors.v1.CompanyDocumentTypeForm": {
"type": "object",
"properties": {
"media": {
"description": "The form file. media.token provides the signed download URL.",
"allOf": [
{
"$ref": "#/$defs/s12.common.Media"
}
]
},
"added_by_user_id": {
"type": "string",
"description": "The user that attached the current form."
},
"added_at": {
"type": "string",
"format": "date-time",
"description": "When the current form was attached."
}
},
"description": "CompanyDocumentTypeForm is a reusable blank form that lives on a document\ntype. Key contacts download, fill out, and return it; it is reused on every\nrequest for that type instead of being re-uploaded per request."
},
"s12.contractors.v1.FulfilledRequirementRef": {
"type": "object",
"properties": {
"reference_id": {
"type": "string",
"description": "The reference_id of the fulfilled CompanyRequirement. For\nrequirement_type = DOCUMENT_TYPE this is the document type ID and matches\nCompanyDocument.company_document_type.id."
}
},
"description": "FulfilledRequirementRef is a lightweight reference from a document to a\nCompanyRequirement it fulfils. Kept minimal because the document already\ncarries display context (document type id + name) — callers can correlate\nreference_id against CompanyDocument.company_document_type.id without\nadditional lookups."
},
"s12.documents.v1.ApprovalStatus": {
"type": "string",
"enum": [
"APPROVAL_STATUS_UNSPECIFIED",
"APPROVAL_STATUS_PENDING",
"APPROVAL_STATUS_APPROVED",
"APPROVAL_STATUS_REJECTED"
],
"default": "APPROVAL_STATUS_UNSPECIFIED"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/safetyculture-s12-contractors-v1-list-company-documents-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.