---
title: "Prediction summary"
method: GET
path: "/contracts/{contract-id}/prediction-summary"
---

# Prediction summary

`GET /contracts/{contract-id}/prediction-summary`

## Request

- Base URL: `https://api.termscout.com`
- URL: `https://api.termscout.com/contracts/{contract-id}/prediction-summary`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/termscout/apis/termscout-data/docs/contracts/:contract-id/prediction-summary/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch topic level summary of predicted labels

## Path parameters

- `contract-id` string, required

## Query parameters

- `topic-id` string, required

## Response `200`

200 response

- PredictionSummary: Summary of predicted labels for a given contract and topic
  - `contract_id` string: ID of the contract
  - `topic_id` number: ID of the topic
  - `summary` string: Summary of predicted labels for the given topic

---

[API](https://skmtc.dev/termscout/apis/termscout-data.md) - [All operations](https://skmtc.dev/termscout/apis/termscout-data/llms.txt) - [OpenAPI document](https://skmtc.dev/termscout/apis/termscout-data/revisions/ccf2baad9b8b?raw)
