GET Get deal

Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.

GET /api/v1/public/deals/{dealId} — Get deal

Read-only operation

Read one deal in the credential's workspace.

Use URL path and query parameters; no request body. Query arrays and objects are JSON-encoded where indicated. Workspace scope comes exclusively from the bearer credential. Available to read-only and read/write API credentials.

Parameters

dealId (path, string, required)

path parameter

JSON response schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {}
          ],
          "description": "Deal id."
        },
        "account": {
          "description": "Parent account identity, lifecycle classification and company context.",
          "nullable": true
        },
        "name": {
          "type": "string",
          "description": "Deal name."
        },
        "programLabel": {
          "type": "string",
          "description": "Program label associated with the deal."
        },
        "owners": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {}
                    ]
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {}
                ]
              }
            ]
          },
          "description": "Workspace users assigned as deal owners."
        },
        "stage": {
          "type": "string",
          "description": "Deal stage label."
        },
        "value": {
          "type": "number",
          "description": "Deal value amount."
        },
        "valueType": {
          "type": "string",
          "enum": [
            "ARR",
            "MRR"
          ],
          "description": "Deal value type, such as ARR or MRR."
        },
        "currency": {
          "type": "string",
          "enum": [
            "USD",
            "EUR",
            "SEK",
            "MYR",
            "AED",
            "SAR"
          ],
          "description": "Deal value currency."
        },
        "championStakeholder": {
          "type": "string",
          "description": "Champion stakeholder label when maintained on the deal."
        },
        "activationPoint": {
          "type": "string",
          "description": "Where the B2B deal came from: the source, trigger, or motion that activated the opportunity."
        },
        "titleFight": {
          "type": "string",
          "description": "Current choke point to close the B2B deal: the title or decision-authority bottleneck constraining closure."
        },
        "estimateCloseDate": {
          "type": "string",
          "format": "date-time",
          "description": "Estimated close date."
        },
        "probabilityOfClosing": {
          "type": "string",
          "enum": [
            "75% and above",
            "50% to 74%",
            "25% to 49%",
            "0% to 24%",
            "Unknown"
          ],
          "description": "AI-friendly probability-of-closing bracket."
        },
        "pif": {
          "type": "object",
          "properties": {
            "score": {
              "type": "number",
              "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness."
            },
            "engagementBand": {
              "type": "string",
              "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
            },
            "engagementBandDisplay": {
              "type": "string",
              "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
            },
            "engagementBandMeaning": {
              "type": "string",
              "description": "Human-readable explanation of what the current PIF engagement band means."
            },
            "trend": {
              "type": "string",
              "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
              "nullable": true
            },
            "trendDisplay": {
              "type": "string",
              "description": "User-facing PIF trend label with emoji. Use this in final answers."
            },
            "momentum": {
              "type": "number",
              "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
              "nullable": true
            },
            "last30Days": {
              "type": "object",
              "properties": {
                "score": {
                  "type": "number",
                  "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness. This specific field is the score for the fixed window shown by this object."
                },
                "engagementBand": {
                  "type": "string",
                  "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
                },
                "engagementBandDisplay": {
                  "type": "string",
                  "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
                },
                "engagementBandMeaning": {
                  "type": "string",
                  "description": "Human-readable explanation of what the current PIF engagement band means."
                },
                "trend": {
                  "type": "string",
                  "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                  "nullable": true
                },
                "trendDisplay": {
                  "type": "string",
                  "description": "User-facing PIF trend label with emoji. Use this in final answers."
                },
                "momentum": {
                  "type": "number",
                  "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                  "nullable": true
                },
                "breakdown": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "number",
                      "description": "Total PIF points across all breakdown rows."
                    },
                    "baseTotal": {
                      "type": "number",
                      "description": "Base PIF points before bonus logic."
                    },
                    "bonusTotal": {
                      "type": "number",
                      "description": "Bonus PIF points added on top of the base score."
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string",
                            "description": "Stable PIF breakdown row key for the contributing engagement category."
                          },
                          "label": {
                            "type": "string",
                            "description": "User-facing label for the PIF breakdown row."
                          },
                          "category": {
                            "type": "string",
                            "enum": [
                              "BASE",
                              "BONUS"
                            ],
                            "description": "PIF breakdown category for the contributing signal type."
                          },
                          "count": {
                            "type": "number",
                            "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                          },
                          "pointsPerUnit": {
                            "type": "number",
                            "description": "PIF scoring weight for each observed unit in this breakdown row."
                          },
                          "points": {
                            "type": "number",
                            "description": "Total PIF points contributed by this breakdown row."
                          },
                          "durationThresholdSeconds": {
                            "type": "number",
                            "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                          }
                        },
                        "additionalProperties": false
                      },
                      "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                },
                "scoreWindowDays": {
                  "type": "number",
                  "description": "Number of days in the fixed scoring window used for this PIF summary."
                },
                "windowStart": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Start of the fixed scoring window for this PIF summary."
                },
                "windowEnd": {
                  "type": "string",
                  "format": "date-time",
                  "description": "End of the fixed scoring window for this PIF summary."
                },
                "computedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when this PIF summary was computed."
                }
              },
              "additionalProperties": false,
              "description": "Bounded PIF summary for a fixed window. Keep the window semantics distinct from the latest headline PIF score. This object is the fixed last-30-days window."
            },
            "last7Days": {
              "type": "object",
              "properties": {
                "score": {
                  "type": "number",
                  "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness. This specific field is the score for the fixed window shown by this object."
                },
                "engagementBand": {
                  "type": "string",
                  "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
                },
                "engagementBandDisplay": {
                  "type": "string",
                  "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
                },
                "engagementBandMeaning": {
                  "type": "string",
                  "description": "Human-readable explanation of what the current PIF engagement band means."
                },
                "trend": {
                  "type": "string",
                  "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                  "nullable": true
                },
                "trendDisplay": {
                  "type": "string",
                  "description": "User-facing PIF trend label with emoji. Use this in final answers."
                },
                "momentum": {
                  "type": "number",
                  "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                  "nullable": true
                },
                "breakdown": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "number",
                      "description": "Total PIF points across all breakdown rows."
                    },
                    "baseTotal": {
                      "type": "number",
                      "description": "Base PIF points before bonus logic."
                    },
                    "bonusTotal": {
                      "type": "number",
                      "description": "Bonus PIF points added on top of the base score."
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string",
                            "description": "Stable PIF breakdown row key for the contributing engagement category."
                          },
                          "label": {
                            "type": "string",
                            "description": "User-facing label for the PIF breakdown row."
                          },
                          "category": {
                            "type": "string",
                            "enum": [
                              "BASE",
                              "BONUS"
                            ],
                            "description": "PIF breakdown category for the contributing signal type."
                          },
                          "count": {
                            "type": "number",
                            "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                          },
                          "pointsPerUnit": {
                            "type": "number",
                            "description": "PIF scoring weight for each observed unit in this breakdown row."
                          },
                          "points": {
                            "type": "number",
                            "description": "Total PIF points contributed by this breakdown row."
                          },
                          "durationThresholdSeconds": {
                            "type": "number",
                            "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                          }
                        },
                        "additionalProperties": false
                      },
                      "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                },
                "scoreWindowDays": {
                  "type": "number",
                  "description": "Number of days in the fixed scoring window used for this PIF summary."
                },
                "windowStart": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Start of the fixed scoring window for this PIF summary."
                },
                "windowEnd": {
                  "type": "string",
                  "format": "date-time",
                  "description": "End of the fixed scoring window for this PIF summary."
                },
                "computedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when this PIF summary was computed."
                }
              },
              "additionalProperties": false,
              "description": "Bounded PIF summary for a fixed window. Keep the window semantics distinct from the latest headline PIF score. This object is the fixed last-7-days window."
            },
            "breakdown": {
              "type": "object",
              "properties": {
                "total": {
                  "type": "number",
                  "description": "Total PIF points across all breakdown rows."
                },
                "baseTotal": {
                  "type": "number",
                  "description": "Base PIF points before bonus logic."
                },
                "bonusTotal": {
                  "type": "number",
                  "description": "Bonus PIF points added on top of the base score."
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string",
                        "description": "Stable PIF breakdown row key for the contributing engagement category."
                      },
                      "label": {
                        "type": "string",
                        "description": "User-facing label for the PIF breakdown row."
                      },
                      "category": {
                        "type": "string",
                        "enum": [
                          "BASE",
                          "BONUS"
                        ],
                        "description": "PIF breakdown category for the contributing signal type."
                      },
                      "count": {
                        "type": "number",
                        "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                      },
                      "pointsPerUnit": {
                        "type": "number",
                        "description": "PIF scoring weight for each observed unit in this breakdown row."
                      },
                      "points": {
                        "type": "number",
                        "description": "Total PIF points contributed by this breakdown row."
                      },
                      "durationThresholdSeconds": {
                        "type": "number",
                        "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                      }
                    },
                    "additionalProperties": false
                  },
                  "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                }
              },
              "additionalProperties": false,
              "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
            },
            "scoreWindowDays": {
              "type": "number",
              "description": "Number of days in the scoring window represented by this detailed PIF payload."
            },
            "windowStart": {
              "type": "string",
              "format": "date-time",
              "description": "Start of the scoring window represented by this detailed PIF payload."
            },
            "windowEnd": {
              "type": "string",
              "format": "date-time",
              "description": "End of the scoring window represented by this detailed PIF payload."
            },
            "computedAt": {
              "type": "string",
              "format": "date-time",
              "description": "Timestamp when this detailed PIF payload was computed."
            }
          },
          "additionalProperties": false,
          "description": "Detailed deal PIF output. This is media-intent scoring for the deal context, not qualification or deal probability."
        },
        "activationImpact": {
          "type": "string",
          "enum": [
            "High",
            "Medium",
            "Low"
          ]
        },
        "salesImpact": {
          "type": "string",
          "enum": [
            "High",
            "Medium",
            "Low"
          ]
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "activationPointRemarks": {
          "type": "string"
        },
        "targetSegment": {
          "type": "string"
        },
        "remarks": {
          "type": "string"
        },
        "activationChecklist": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "salesChecklist": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "pifHistory": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "score": {
                "type": "number",
                "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness."
              },
              "engagementBand": {
                "type": "string",
                "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
              },
              "engagementBandDisplay": {
                "type": "string",
                "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
              },
              "engagementBandMeaning": {
                "type": "string",
                "description": "Human-readable explanation of what the current PIF engagement band means."
              },
              "trend": {
                "type": "string",
                "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                "nullable": true
              },
              "trendDisplay": {
                "type": "string",
                "description": "User-facing PIF trend label with emoji. Use this in final answers."
              },
              "momentum": {
                "type": "number",
                "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                "nullable": true
              },
              "last30Days": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number",
                    "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness. This specific field is the score for the fixed window shown by this object."
                  },
                  "engagementBand": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
                  },
                  "engagementBandDisplay": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
                  },
                  "engagementBandMeaning": {
                    "type": "string",
                    "description": "Human-readable explanation of what the current PIF engagement band means."
                  },
                  "trend": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                    "nullable": true
                  },
                  "trendDisplay": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. Use this in final answers."
                  },
                  "momentum": {
                    "type": "number",
                    "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                    "nullable": true
                  },
                  "breakdown": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "number",
                        "description": "Total PIF points across all breakdown rows."
                      },
                      "baseTotal": {
                        "type": "number",
                        "description": "Base PIF points before bonus logic."
                      },
                      "bonusTotal": {
                        "type": "number",
                        "description": "Bonus PIF points added on top of the base score."
                      },
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "description": "Stable PIF breakdown row key for the contributing engagement category."
                            },
                            "label": {
                              "type": "string",
                              "description": "User-facing label for the PIF breakdown row."
                            },
                            "category": {
                              "type": "string",
                              "enum": [
                                "BASE",
                                "BONUS"
                              ],
                              "description": "PIF breakdown category for the contributing signal type."
                            },
                            "count": {
                              "type": "number",
                              "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                            },
                            "pointsPerUnit": {
                              "type": "number",
                              "description": "PIF scoring weight for each observed unit in this breakdown row."
                            },
                            "points": {
                              "type": "number",
                              "description": "Total PIF points contributed by this breakdown row."
                            },
                            "durationThresholdSeconds": {
                              "type": "number",
                              "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                            }
                          },
                          "additionalProperties": false
                        },
                        "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                      }
                    },
                    "additionalProperties": false,
                    "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                  },
                  "scoreWindowDays": {
                    "type": "number",
                    "description": "Number of days in the fixed scoring window used for this PIF summary."
                  },
                  "windowStart": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Start of the fixed scoring window for this PIF summary."
                  },
                  "windowEnd": {
                    "type": "string",
                    "format": "date-time",
                    "description": "End of the fixed scoring window for this PIF summary."
                  },
                  "computedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Timestamp when this PIF summary was computed."
                  }
                },
                "additionalProperties": false,
                "description": "Bounded PIF summary for a fixed window. Keep the window semantics distinct from the latest headline PIF score. This object is the fixed last-30-days window."
              },
              "last7Days": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number",
                    "description": "Product Interest Fit score only. This is media-intent scoring, not qualification, buying readiness, or sales readiness. This specific field is the score for the fixed window shown by this object."
                  },
                  "engagementBand": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. This AI output field must not expose the raw engagement-band enum."
                  },
                  "engagementBandDisplay": {
                    "type": "string",
                    "description": "User-facing PIF engagement-band label with emoji. Use this in final answers."
                  },
                  "engagementBandMeaning": {
                    "type": "string",
                    "description": "Human-readable explanation of what the current PIF engagement band means."
                  },
                  "trend": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. This AI output field must not expose the raw trend enum.",
                    "nullable": true
                  },
                  "trendDisplay": {
                    "type": "string",
                    "description": "User-facing PIF trend label with emoji. Use this in final answers."
                  },
                  "momentum": {
                    "type": "number",
                    "description": "Net PIF movement for the same score basis/window. Positive means stronger recent media-intent movement; negative means weaker.",
                    "nullable": true
                  },
                  "breakdown": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "number",
                        "description": "Total PIF points across all breakdown rows."
                      },
                      "baseTotal": {
                        "type": "number",
                        "description": "Base PIF points before bonus logic."
                      },
                      "bonusTotal": {
                        "type": "number",
                        "description": "Bonus PIF points added on top of the base score."
                      },
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "description": "Stable PIF breakdown row key for the contributing engagement category."
                            },
                            "label": {
                              "type": "string",
                              "description": "User-facing label for the PIF breakdown row."
                            },
                            "category": {
                              "type": "string",
                              "enum": [
                                "BASE",
                                "BONUS"
                              ],
                              "description": "PIF breakdown category for the contributing signal type."
                            },
                            "count": {
                              "type": "number",
                              "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                            },
                            "pointsPerUnit": {
                              "type": "number",
                              "description": "PIF scoring weight for each observed unit in this breakdown row."
                            },
                            "points": {
                              "type": "number",
                              "description": "Total PIF points contributed by this breakdown row."
                            },
                            "durationThresholdSeconds": {
                              "type": "number",
                              "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                            }
                          },
                          "additionalProperties": false
                        },
                        "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                      }
                    },
                    "additionalProperties": false,
                    "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                  },
                  "scoreWindowDays": {
                    "type": "number",
                    "description": "Number of days in the fixed scoring window used for this PIF summary."
                  },
                  "windowStart": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Start of the fixed scoring window for this PIF summary."
                  },
                  "windowEnd": {
                    "type": "string",
                    "format": "date-time",
                    "description": "End of the fixed scoring window for this PIF summary."
                  },
                  "computedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Timestamp when this PIF summary was computed."
                  }
                },
                "additionalProperties": false,
                "description": "Bounded PIF summary for a fixed window. Keep the window semantics distinct from the latest headline PIF score. This object is the fixed last-7-days window."
              },
              "computedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp for this historical PIF point."
              },
              "breakdown": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number",
                    "description": "Total PIF points across all breakdown rows."
                  },
                  "baseTotal": {
                    "type": "number",
                    "description": "Base PIF points before bonus logic."
                  },
                  "bonusTotal": {
                    "type": "number",
                    "description": "Bonus PIF points added on top of the base score."
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "type": "string",
                          "description": "Stable PIF breakdown row key for the contributing engagement category."
                        },
                        "label": {
                          "type": "string",
                          "description": "User-facing label for the PIF breakdown row."
                        },
                        "category": {
                          "type": "string",
                          "enum": [
                            "BASE",
                            "BONUS"
                          ],
                          "description": "PIF breakdown category for the contributing signal type."
                        },
                        "count": {
                          "type": "number",
                          "description": "Observed units for this PIF breakdown row, such as clicks, visits, or engaged stakeholders."
                        },
                        "pointsPerUnit": {
                          "type": "number",
                          "description": "PIF scoring weight for each observed unit in this breakdown row."
                        },
                        "points": {
                          "type": "number",
                          "description": "Total PIF points contributed by this breakdown row."
                        },
                        "durationThresholdSeconds": {
                          "type": "number",
                          "description": "Optional visit-duration threshold used for this breakdown contribution when the row is duration-sensitive."
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
                  }
                },
                "additionalProperties": false,
                "description": "Breakdown of the PIF score into contributing engagement categories. Use this to explain why the score is high or low."
              },
              "windowStart": {
                "type": "string",
                "format": "date-time",
                "description": "Start of the scoring window for this historical PIF point."
              },
              "windowEnd": {
                "type": "string",
                "format": "date-time",
                "description": "End of the scoring window for this historical PIF point."
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "value": {
          "nullable": true,
          "enum": [
            null
          ]
        }
      },
      "required": [
        "value"
      ]
    }
  ]
}

Responses

200: Operation receipt or read result. Arrays are returned under items; scalar and null results under value.
RateLimit-Policy (header, value, optional)

Response header

RateLimit-Limit (header, value, optional)

Response header

RateLimit-Remaining (header, value, optional)

Response header

RateLimit-Reset (header, value, optional)

Response header

400: Invalid operation input or record identifiers.
400 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
401: Bearer credential is missing, expired or invalid.
401 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
402: Insufficient research credits. Add credits before retrying.
402 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
403: Write access or resource permission is required.
403 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
404: Record is not available in the credential workspace.
404 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
405: Use the documented HTTP method.
405 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
409: Revision conflict or a record has dependencies. Refetch and reconcile links before retrying.
409 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
413: Request exceeds the permitted JSON body size.
413 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
429: Rate limit exceeded. Observe Retry-After.
RateLimit-Policy (header, value, optional)

Response header

RateLimit-Limit (header, value, optional)

Response header

RateLimit-Remaining (header, value, optional)

Response header

RateLimit-Reset (header, value, optional)

Response header

429 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
500: Internal server error.
500 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
503: Service temporarily unavailable. Observe Retry-After when present.
503 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}
504: Execution timed out. A write may have committed; check receipts or progress before retrying.
504 response schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "message": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "required": [
    "message",
    "code"
  ]
}

Get deal

curl "https://server-url-from-token-page.endpoint/api/v1/public/deals/507f1f77bcf86cd799439011" \
  -H "Authorization: Bearer $DOE_API_TOKEN" \
  -H "Accept: application/json"
Response example
No response example is supplied. See the JSON response schema.