Rebase Energy Expectations API
The Expectations API from Rebase Energy — 6 operation(s) for expectations.
The Expectations API from Rebase Energy — 6 operation(s) for expectations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/rebase-energy:rebase-energy-expectations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fast Expectations API
version: 0.1.0
tags:
- name: Expectations
paths:
/platform/v2/expectations:
post:
tags:
- Expectations
summary: Init Pipeline Run Expectation
operationId: init_pipeline_run_expectation_platform_v2_expectations_post
requestBody:
content:
application/json:
schema:
items:
$ref: '#/components/schemas/PipelineInit'
type: array
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/PipelineInitResponse'
type: array
title: Response Init Pipeline Run Expectation Platform V2 Expectations Post
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResponse'
security:
- APIKeyHeader: []
/platform/v2/expectations/{id}:
post:
tags:
- Expectations
summary: Update Expectation Status
operationId: update_expectation_status_platform_v2_expectations__id__post
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: string
title: Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineLogSchema'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineStatusResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResponse'
/platform/v2/expectations-bulk/log:
post:
tags:
- Expectations
summary: Update Expectation Status Bulk
operationId: update_expectation_status_bulk_platform_v2_expectations_bulk_log_post
requestBody:
content:
application/json:
schema:
items:
$ref: '#/components/schemas/PipelineLogSchemaWithExpectation'
type: array
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineStatusResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResponse'
security:
- APIKeyHeader: []
/platform/v2/expectations-bulk/log-single-step:
post:
tags:
- Expectations
summary: Update Expectation Status Bulk Single Step
operationId: update_expectation_status_bulk_single_step_platform_v2_expectations_bulk_log_single_step_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineLogSingleStepSchema'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineStatusResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResponse'
security:
- APIKeyHeader: []
/platform/v2/expectations-bulk/finish:
post:
tags:
- Expectations
summary: Finish Expectation Status Bulk
operationId: finish_expectation_status_bulk_platform_v2_expectations_bulk_finish_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PipelineFinishSchema'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResponse'
security:
- APIKeyHeader: []
/platform/v2/expectations/{id}/finish:
post:
tags:
- Expectations
summary: Finish Expectation Status
operationId: finish_expectation_status_platform_v2_expectations__id__finish_post
security:
- APIKeyHeader: []
parameters:
- name: id
in: path
required: true
schema:
type: string
title: Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResponse'
components:
schemas:
PipelineLogSchema:
properties:
logs:
items:
$ref: '#/components/schemas/PipelineLogRow'
type: array
title: Logs
type: object
required:
- logs
title: PipelineLogSchema
ValidationResponse:
properties:
errors:
items:
$ref: '#/components/schemas/ErrorItem'
type: array
title: Errors
type: object
required:
- errors
title: ValidationResponse
PipelineStatusResponse:
properties:
message:
type: string
title: Message
example: Ok
type: object
required:
- message
title: PipelineStatusResponse
PipelineLogSchemaWithExpectation:
properties:
expect_key:
type: string
title: Expect Key
example: load_data
logs:
items:
$ref: '#/components/schemas/PipelineLogRow'
type: array
title: Logs
type: object
required:
- expect_key
- logs
title: PipelineLogSchemaWithExpectation
PipelineInit:
properties:
source:
additionalProperties: true
type: object
title: Source
type:
type: string
enum:
- site_forecast_predict
- site_forecast_train
title: Type
config:
items:
$ref: '#/components/schemas/PipelineStepConfig'
type: array
title: Config
type: object
required:
- source
- type
- config
title: PipelineInit
PipelineLogRow:
properties:
step:
type: string
title: Step
example: load_weather
level:
type: string
enum:
- info
- error
- warning
title: Level
message:
type: string
title: Message
timestamp:
type: string
format: date-time
title: Timestamp
stack_trace:
anyOf:
- type: string
- type: 'null'
title: Stack Trace
type: object
required:
- step
- level
- timestamp
title: PipelineLogRow
ErrorItem:
properties:
field:
type: string
title: Field
message:
type: string
title: Message
type: object
required:
- field
- message
title: ErrorItem
PipelineInitResponse:
properties:
id:
type: string
title: Id
example: ed37bc58-3bc9-47da-8cf5-f1c287af8612
type: object
required:
- id
title: PipelineInitResponse
PipelineLogSingleStepSchema:
properties:
expect_keys:
items:
type: string
type: array
title: Expect Keys
log_row:
$ref: '#/components/schemas/PipelineLogRow'
type: object
required:
- expect_keys
- log_row
title: PipelineLogSingleStepSchema
PipelineFinishSchema:
properties:
expect_keys:
items:
type: string
type: array
title: Expect Keys
type: object
required:
- expect_keys
title: PipelineFinishSchema
PipelineStepConfig:
properties:
step:
type: string
title: Step
deadline:
type: string
format: date-time
title: Deadline
type: object
required:
- step
- deadline
title: PipelineStepConfig
securitySchemes:
APIKeyHeader:
type: apiKey
description: Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
in: header
name: Authorization
x-provenance:
method: harvested
publisher: Rebase Energy
source: https://docs.rebase.energy/api-reference/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)