---
title: "Submit Real-Time Rating Proposal"
method: POST
path: "/rating-proposals/realtime"
tags: ["Real-Time"]
---

# Submit Real-Time Rating Proposal

`POST /rating-proposals/realtime`

## Request

- Base URL: `https://trolie.example.com`
- URL: `https://trolie.example.com/rating-proposals/realtime`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://no-server/oauth2` scopes: `write:realtime-proposals`

Some Clearinghouse Providers will support real-time ratings submissions
through this operation.

The API mechanics are different than forecasts, as there is no implicitly
created time window to modify.  Ratings providers simply `POST` new values
as they are measured and/or computed.

Rules for usage however are similar to forecasts; real-time proposals do not
have to contain every resource for which the Ratings Provider is
responsible.  Data may be broken into batches across the Rating Provider's
footprint.

Status of the real-time proposals also includes an indication of incomplete
obligations, much like forecast.  However, the meaning of this is somewhat
different, as it simply indicates data that is either completely missing, or
is considered stale by the Clearinghouse Provider, likely due to simply not
receiving a value within a reasonable period, such as an hour.

There are two supported media types for Real-Time Ratings proposals.

* `application/vnd.trolie.rating-realtime-proposal.v1+json` allows the Ratings
  Provider to combine different limit types, such as `apparent-power` (MVA)
  and `current` (MW), in a single proposal.

* `application/vnd.trolie.rating-realtime-proposal-slim.v1+json` for
  proposals that only require a single limit type, e.g., `apparent-power`.
  Clients *MUST* specify that [limit-type](#tag/limit-type) as a media type
  parameter. For example,

    ```http
    POST /ratings-proposals/realtime HTTP/1.1
    Content-Type: application/vnd.trolie.rating-realtime-proposal-slim.v1+json; limit-type=apparent-power
    ```

    Note that this format is much more concise but requires significant care
    in serialization/deserialization.  For details, see [Using Slim Media
    Types](../example-narratives/using-slim-media-types).

## Request body

- RealtimeProposal
  - `proposal-header` unknown, required
  - `ratings` RealTimeProposal[], required: Real-Time Ratings Proposals
    - `<<` unknown
  - `inputs-used` object[]
    - `name` string, free-text, required
    - `values` ResourceForecastInputs[], required: Since this is expected to be used for wind speed or temperature, we expect an array of numbers for each resource. An empty array is used to indicate that the inputs are not available for a particular resource. This could occur if the inputs were not provided by the Ratings Provider or if a recourse rating was utilized.
      - number[]
    - `unit` string, unit, required: Since we are not specifying which inputs shall be provided, we cannot specify a definitive list of units, but implementors are encouraged to use UnitSymbol from CIM when appropriate: The CIM may not include appropriate units for all inputs, e.g., wind speed, degrees Fahrenheit, etc.

## Response `202`

Accepted. The update was accepted for later processing by the
Clearinghouse.  Updates to ratings may need to undergo additional
validation and propagation to other systems.

Be sure to check the `incomplete-obligation-count` value is zero; if it
is non-zero, the Clearinghouse Provider does not have a valid and
non-stale real-time rating for one or more Ratings Obligations.
Providers should impute recourse ratings as necessary to ensure their
proposals are complete, i.e., the entire Ratings Obligation is met.

- RealTimeProposalStatus: Status of the rating provider's real-time obligations. Includes any validation errors encountered while processing proposals.
  - `<<` unknown
  - `source` DataProvenance, required: Provides information about where the associated representation came from. *No functional aspects of the exchange are contingent upon this data.* However, this information is meant to support debugging and application support use cases, so implementors are encouraged to provide meaningful values. * `provider` identifies that entity, e.g., a Ratings Provider or Clearinghouse Provider, that created the object. The `provider`'s NERC id is recommended. * `last-updated` indicates the wall-clock time at the `provider` when the object was last modified. N.b. this is not when the message describing the object was sent or received, i.e., implementors should not simply insert the current timestamp here when preparing the object serialization. * `origin-id` is the identifier used by the `provider` to uniquely nominate the object. It is recommended but not required that this be a URI.
    - `provider` string, required: Contains a unique identifier for an entity, such as a grid operator or organization. This identifier is typically used in the context of data exchange between entities.
    - `last-updated` string, date-time, required: RFC 3339 date-time string with a maximum of 10 digits in the fractional seconds component, i.e., nanosecond precision.
    - `origin-id` string: Contains a identifier that is unique for an object in the context of an exchange between two grid operators.

## Other responses

- `400`: Malformed request
- `401`: Unauthorized
- `403`: Access denied
- `406`: Not Acceptable (Content negotiation failed)
- `413`: Payload too large
- `415`: Unsupported media type
- `422`: Unprocessable Content. The Real-Time Ratings Proposal may not utilize units that are not permitted by the Clearinghouse Provider. Check the response for details.
- `429`: Too many requests (rate limiting)
- `500`: An unexpected error occurred
- `default`: An unexpected error occurred

## Changes

- **2026-09-23** `92311641b6b2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trolie/apis/transmission-ratings-and-operating-limits-information-exchan/changes/rating-proposals/realtime/post.md)

---

[API](https://skmtc.dev/trolie/apis/transmission-ratings-and-operating-limits-information-exchan.md) - [All operations](https://skmtc.dev/trolie/apis/transmission-ratings-and-operating-limits-information-exchan/llms.txt) - [OpenAPI document](https://skmtc.dev/trolie/apis/transmission-ratings-and-operating-limits-information-exchan/revisions/92311641b6b2?raw)
