RfpRecord
/api/v1/rfp/recordsAn incoming RFP being tracked.
listgetcreateupdateSchema
| Field | Type | Notes |
|---|---|---|
| id* | uuid | Server-assigned ULID with type prefix (e.g. per_…). |
| tenant_id* | string | Tenant scope — auto-stamped from the caller's JWT. |
| app_id | string | App scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present. |
| created_at* | date-time | Server stamp. |
| updated_at* | date-time | Server stamp; updated on every patch. |
| created_by | uuid | Person id from the caller's JWT (sub). |
| updated_by | uuid | Person id from the last writer's JWT (sub). |
| source | string | Provenance tag — defaults to 'edm'. |
| source_type | enum | frontend | backend | server | system | apiWhere the write originated. Defaults to 'api'. |
| is_deleted | boolean | Soft-delete flag. Excluded from default list queries. |
| deleted_at | date-time | Stamped when soft-deleted; null otherwise. |
| deleted_by | uuid | Person id who soft-deleted; null otherwise. |
| schema_version | number | Document schema version. Bumped on incompatible writes. |
| rfp_number | string | Counter-driven, human-readable RFP number. |
| title | string | Short descriptive title for the RFP. |
| description | string | Detailed description of the RFP. |
| account_id | string | ID of the sourcing customer Account. |
| procurement_contact_id | string | ID of the buyer-side procurement Contact. |
| deal_id | string | ID of the linked Deal once qualified. |
| owner_id | string | ID of the bid manager / deal owner (usr-<uuid>). |
| department_group_id | string | ID of the routing target department Group. |
| parent_rfp_id | string | ID of the parent RFP for amendments or addenda. |
| child_rfp_ids | json | IDs of child RFPs (amendments, addenda). |
| status | string | Current lifecycle status of the RFP. |
| bid_decision | string | Bid/no-bid decision. |
| phase | string | Current authoring phase of the RFP. |
| submission_deadline | date-time | ISO 8601 timestamp of the submission deadline. |
| submission_method | string | How the proposal should be submitted (e.g. 'portal:SAP-Ariba'). |
| sla | json | SLA tracking: dueAt, breached flag, and optional breachedAt. |
| sla_milestones | json | Ordered list of SLA milestones with per-milestone status. |
| mail_metadata | json | Outlook mail metadata if source=outlook. |
| attachment_refs | json | MinIO keys for source RFP attachments. |
| proposal_refs | json | MinIO keys for generated proposal documents. |
| extracted_document_ids | json | IDs of documents ingested into cpod-arai (doc-<uuid>). |
| question_ids | json | IDs of all extracted RfpQuestions (rfq-<uuid>). |
| response_ids | json | IDs of all drafted RfpResponses (rfa-<uuid>). |
| ai_enrichment | json | AI-generated enrichment: execSummary, riskScore, pricingHint, recommendation, modelUsed, generatedAt. |
| reviewers | json | IDs of required reviewers (usr-<uuid>). |
| approvers | json | IDs of required approvers (usr-<uuid>). |
| submitted_at | date-time | ISO 8601 timestamp when the proposal was submitted. |
| submitted_by | string | ID of the user who submitted the proposal. |
| outcome | json | Outcome record: status, decidedAt, decidedBy, notes. |
| custom_fields | json | Tenant-defined custom fields. |
| tags | json | Free-form tags. |
| version | number | Optimistic concurrency version counter. |
| source | enum | outlook | portal | manual | api | email_forwardChannel through which the RFP was received. |
| priority | enum | low | medium | high | urgentPriority assigned to this RFP. |
| metrics | json | Rollup status counts (questions/responses totals). |
| file_bytes | string | Base64-encoded bytes of the source RFP file. |
| file_name | string | Original file name of the source RFP. |
| file_size_bytes | integer | Size of the source file in bytes. |
| file_mime | string | MIME type of the source file. |
API
client.rfp.records.*Loading manifest…