Department of Energy SEP API

Access to State Electricity Profiles

GitHub OpenAPI

Operations 36

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/electricity/state-electricity-profiles/capability/facet/{facet_id} Get a state electricity profile capability facet · Get electricity state electricity profiles capability facet by facet id #
Ask an LLM
“What does a single capability facet in a state electricity profile contain?”
“Can I fetch one capability facet by its facet ID?”
Tell an agent
Get capability facet {facet_id}.
Show the details of electricity profile capability facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/facet/{facet_id} Get a state-by-fuel emissions facet · Get electricity state electricity profiles emissions by state by fuel facet by… #
Ask an LLM
“What emissions does a state-by-fuel facet report?”
“Can I fetch one emissions-by-state-by-fuel facet by its ID?”
Tell an agent
Get emissions-by-state-by-fuel facet {facet_id}.
Show the emissions data for facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/energy-efficiency/facet/{facet_id} Get a state electricity profile energy efficiency facet · Get electricity state electricity profiles energy efficiency facet by facet id #
Ask an LLM
“What energy efficiency data does a state electricity profile facet hold?”
“Can I fetch one energy efficiency facet by its facet ID?”
Tell an agent
Get energy efficiency facet {facet_id}.
Show the details of electricity profile energy efficiency facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/meters/facet/{facet_id} Get a state electricity profile meters facet · Get electricity state electricity profiles meters facet by facet id #
Ask an LLM
“What metering data does a state electricity profile facet contain?”
“Can I fetch one meters facet by its facet ID?”
Tell an agent
Get meters facet {facet_id}.
Show the details of electricity profile meters facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/net-metering/facet/{facet_id} Get a state electricity profile net metering facet · Get electricity state electricity profiles net metering facet by facet id #
Ask an LLM
“What net metering data does a state electricity profile facet hold?”
“Can I fetch one net metering facet by its facet ID?”
Tell an agent
Get net metering facet {facet_id}.
Show the details of electricity profile net metering facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/source-disposition/facet/{facet_id} Get a state electricity profile source disposition facet · Get electricity state electricity profiles source disposition facet by facet id #
Ask an LLM
“What source disposition data does a state electricity profile facet contain?”
“Can I fetch one source disposition facet by its facet ID?”
Tell an agent
Get source disposition facet {facet_id}.
Show the details of electricity profile source disposition facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/summary/facet/{facet_id} Get a state electricity profile summary facet · Get electricity state electricity profiles summary facet by facet id #
Ask an LLM
“What summary data does a state electricity profile facet hold?”
“Can I fetch one summary facet by its facet ID?”
Tell an agent
Get summary facet {facet_id}.
Show the details of electricity profile summary facet {facet_id}.
GET /v2/electricity/state-electricity-profiles/capability List state electricity profile capability facets · Get electricity state electricity profiles capability #
Ask an LLM
“What capability facets are available for state electricity profiles?”
“Can I get the full list of electricity profile capability facets?”
Tell an agent
List electricity profile capability facets.
Show every state electricity profile capability facet.
GET /v2/electricity/state-electricity-profiles/capability/facet List state electricity profile capability facet IDs · Get electricity state electricity profiles capability facet #
Ask an LLM
“Which facet IDs exist for state electricity profile capability?”
“Can I get just the capability facet IDs without their data?”
Tell an agent
List electricity profile capability facet IDs.
Show the facet IDs for state electricity profile capability.
GET /v2/electricity/state-electricity-profiles/capability/data Query state electricity profile capability data · Get electricity state electricity profiles capability data #
Ask an LLM
“How much electricity generation capacity does each state have?”
“Can I filter state electricity profile capability data by frequency or date range?”
Tell an agent
Get electricity profile capability data for {facets}.
Show state electricity profile capability data from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/capability/data Request state electricity capability profiles · Class CapabilityDataController #
Ask an LLM
“How much total generation capacity does each state have, per year?”
“Can I get state-level electricity generation profiles for a date range?”
Tell an agent
Request state electricity capability profiles from {start} to {end}.
Get state electricity capability data sorted by {sort}.
GET /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel List state-by-fuel emissions facets · Get electricity state electricity profiles emissions by state by fuel #
Ask an LLM
“What emissions-by-state-by-fuel facets are available?”
“Can I get the full list of state-by-fuel emissions facets?”
Tell an agent
List electricity profile emissions-by-state-by-fuel facets.
Show every state-by-fuel emissions facet.
GET /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/facet List state-by-fuel emissions facet IDs · Get electricity state electricity profiles emissions by state by fuel facet #
Ask an LLM
“Which facet IDs exist for state-by-fuel emissions?”
“Can I get just the emissions-by-state-by-fuel facet IDs?”
Tell an agent
List electricity profile emissions-by-state-by-fuel facet IDs.
Show the facet IDs for state-by-fuel emissions.
GET /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/data Query state-by-fuel emissions data · Get electricity state electricity profiles emissions by state by fuel data #
Ask an LLM
“How much CO2 does each state produce from electricity generation?”
“Can I filter state-by-fuel emissions data by frequency or date range?”
Tell an agent
Get electricity profile emissions-by-state-by-fuel data for {facets}.
Show state-by-fuel emissions data from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/data Query state-by-fuel emissions data with a POST body · Return sep emissions-by-state-by-fuel Data #
Ask an LLM
“Can I send state-by-fuel emissions filters in a request body?”
“Is there a POST endpoint for state-by-fuel emissions data?”
Tell an agent
POST electricity profile emissions-by-state-by-fuel data with {data}.
Send emissions-by-state-by-fuel filters {facets} in a POST body.
GET /v2/electricity/state-electricity-profiles/energy-efficiency List state electricity profile energy efficiency facets · Get electricity state electricity profiles energy efficiency #
Ask an LLM
“What energy efficiency facets are available for state electricity profiles?”
“Can I get the full list of electricity profile energy efficiency facets?”
Tell an agent
List electricity profile energy efficiency facets.
Show every state electricity profile energy efficiency facet.
GET /v2/electricity/state-electricity-profiles/energy-efficiency/facet List state electricity profile energy efficiency facet IDs · Get electricity state electricity profiles energy efficiency facet #
Ask an LLM
“Which facet IDs exist for state electricity profile energy efficiency?”
“Can I get just the energy efficiency facet IDs without their data?”
Tell an agent
List electricity profile energy efficiency facet IDs.
Show the facet IDs for state electricity profile energy efficiency.
GET /v2/electricity/state-electricity-profiles/energy-efficiency/data Query state electricity profile energy efficiency data · Get electricity state electricity profiles energy efficiency data #
Ask an LLM
“How energy efficient are states' electricity profiles?”
“Can I filter state electricity profile energy efficiency data by frequency or date range?”
Tell an agent
Get electricity profile energy efficiency data for {facets}.
Show state electricity profile energy efficiency data from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/energy-efficiency/data Request state electricity energy-efficiency profiles · Return sep energy-effiency Data #
Ask an LLM
“What are the energy efficiency profiles for electricity generation by state?”
“Can I request state energy-efficiency profiles for a time window?”
Tell an agent
Request state electricity energy-efficiency profiles from {start} to {end}.
Get state energy-efficiency profiles sorted by {sort}.
GET /v2/electricity/state-electricity-profiles/meters List state electricity profile meters facets · Get electricity state electricity profiles meters #
Ask an LLM
“What meters facets are available for state electricity profiles?”
“Can I get the full list of electricity profile meters facets?”
Tell an agent
List electricity profile meters facets.
Show every state electricity profile meters facet.
GET /v2/electricity/state-electricity-profiles/meters/facet Get meter facet for state electricity profiles · Get electricity state electricity profiles meters facet #
Ask an LLM
“What meter facets are available for state electricity profiles?”
“Can I see the meter facet for a state's electricity profile?”
Tell an agent
Show the meter facet for state electricity profiles.
Get the electricity profile meter facets.
GET /v2/electricity/state-electricity-profiles/meters/data Get state electricity profile meter data · Get electricity state electricity profiles meters data #
Ask an LLM
“How much electricity did states generate from meters in a given year?”
“Can I filter state electricity profile meter data by state and year?”
Tell an agent
Get state electricity profile meter data for {data}.
Show {data} for state electricity profile meters from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/meters/data Post a state electricity profile meter query · Return sep meters Data #
Ask an LLM
“Can I send a state electricity profile meter query in a POST body?”
“Which fields does the state electricity profile meter POST accept?”
Tell an agent
Post a state electricity profile meter query with {data}.
Send a state electricity profile meter request for {data} from {start} to {end}.
GET /v2/electricity/state-electricity-profiles/net-metering Get state electricity profile net metering · Get electricity state electricity profiles net metering #
Ask an LLM
“What is net metering like for states' electricity profiles?”
“Can I see net metering data for a state's electricity profile?”
Tell an agent
Show the net metering data for state electricity profiles.
Get state electricity profile net metering.
GET /v2/electricity/state-electricity-profiles/net-metering/facet Get net metering facet for state electricity profiles · Get electricity state electricity profiles net metering facet #
Ask an LLM
“What net metering facets exist for state electricity profiles?”
“Can I see the net metering facet for a state's electricity profile?”
Tell an agent
Show the net metering facet for state electricity profiles.
Get the electricity profile net metering facets.
GET /v2/electricity/state-electricity-profiles/net-metering/data Get state electricity profile net metering data · Get electricity state electricity profiles net metering data #
Ask an LLM
“How much electricity do states net meter each year?”
“Can I filter state electricity profile net metering data by state and year?”
Tell an agent
Get state electricity profile net metering data for {data}.
Show {data} for state electricity profile net metering from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/net-metering/data Post a state electricity profile net metering query · Return sep net-metering Data #
Ask an LLM
“Can I send a state electricity profile net metering query in a POST body?”
“Which fields does the state electricity profile net metering POST accept?”
Tell an agent
Post a state electricity profile net metering query with {data}.
Send a state electricity profile net metering request for {data} from {start} to {end}.
GET /v2/electricity/sep Get the nuclear outages data set · Class SEPController #
Ask an LLM
“What nuclear outages data is available for electricity?”
“Can I get the nuclear outages data set for electricity?”
Tell an agent
Show the nuclear outages data set for electricity.
Get the electricity nuclear outages data.
GET /v2/electricity/state-electricity-profiles/source-disposition Get state electricity profile source disposition · Get electricity state electricity profiles source disposition #
Ask an LLM
“What is the source disposition of electricity for states?”
“Can I see how states' electricity is sourced?”
Tell an agent
Show the source disposition for state electricity profiles.
Get state electricity profile source disposition.
GET /v2/electricity/state-electricity-profiles/source-disposition/facet Get electric source disposition facet · Get electricity state electricity profiles source disposition facet #
Ask an LLM
“What share of a state's electricity comes from each source type?”
“Can I get a source disposition facet for state electricity profiles?”
Tell an agent
Get the source disposition facet for state electricity profiles.
Show the electric source mix facet.
GET /v2/electricity/state-electricity-profiles/source-disposition/data Get state electricity profile source disposition data · Get electricity state electricity profiles source disposition data #
Ask an LLM
“How is electricity sourced in each state?”
“Can I filter state electricity profile source disposition data by state and year?”
Tell an agent
Get state electricity profile source disposition data for {data}.
Show {data} for state electricity profile source disposition from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/source-disposition/data Post a state electricity profile source disposition query · Return sep source-disposition Data #
Ask an LLM
“Can I send a state electricity profile source disposition query in a POST body?”
“Which fields does the state electricity profile source disposition POST accept?”
Tell an agent
Post a state electricity profile source disposition query with {data}.
Send a state electricity profile source disposition request for {data} from {start} to {end}.
GET /v2/electricity/state-electricity-profiles/summary Get state electricity profile summary · Get electricity state electricity profiles summary #
Ask an LLM
“What does the state electricity profile summary show?”
“Can I see a summary of state electricity profiles?”
Tell an agent
Show the summary for state electricity profiles.
Get state electricity profile summary.
GET /v2/electricity/state-electricity-profiles/summary/facet Get state electricity profile summary facet · Get electricity state electricity profiles summary facet #
Ask an LLM
“What is the summary facet of state electricity profiles?”
“Can I get a high-level summary facet for state electricity data?”
Tell an agent
Get the summary facet for state electricity profiles.
Show the state electricity profile summary facet.
GET /v2/electricity/state-electricity-profiles/summary/data Get state electricity profile summary data · Get electricity state electricity profiles summary data #
Ask an LLM
“How do states' electricity profiles compare overall?”
“Can I filter state electricity profile summary data by state and year?”
Tell an agent
Get state electricity profile summary data for {data}.
Show {data} for state electricity profile summary from {start} to {end}.
POST /v2/electricity/state-electricity-profiles/summary/data Post a state electricity profile summary query · Return sep summary Data #
Ask an LLM
“Can I send a state electricity profile summary query in a POST body?”
“Which fields does the state electricity profile summary POST accept?”
Tell an agent
Post a state electricity profile summary query with {data}.
Send a state electricity profile summary request for {data} from {start} to {end}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/doe:doe-sep-api"
All apis
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.

Get an API 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

doe-sep-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EIA APIv2 SEP API
  description: Swagger UI interface for EIA's APIv2. You can also explore EIA's API using the Opendata Query Browser. For this UI, you must use your EIA `api key` to apply filters and return data. You can register for an API Key at https://www.eia.gov/opendata/
  version: 2.1.0
servers:
- url: https://api.eia.gov
security:
- api_key: []
tags:
- name: SEP
  description: Access to State Electricity Profiles
paths:
  /v2/electricity/state-electricity-profiles/capability/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles capability facet by facet id
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesCapabilityFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles emissions by state by fuel facet by…
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEmissionsByStateByFuelFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/energy-efficiency/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles energy efficiency facet by facet id
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEnergyEfficiencyFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/meters/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles meters facet by facet id
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesMetersFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/net-metering/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles net metering facet by facet id
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesNetMeteringFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/source-disposition/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles source disposition facet by facet id
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSourceDispositionFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/summary/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get electricity state electricity profiles summary facet by facet id
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSummaryFacetByFacetId
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/capability:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles capability
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesCapability
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/capability/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles capability facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesCapabilityFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/capability/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles capability data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesCapabilityData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Class CapabilityDataController
      description: Electricity capability dataset controller.
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesCapabilityData
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles emissions by state by fuel
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEmissionsByStateByFuel
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles emissions by state by fuel facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEmissionsByStateByFuelFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/emissions-by-state-by-fuel/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles emissions by state by fuel data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEmissionsByStateByFuelData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Return sep emissions-by-state-by-fuel Data
      description: 'Class EmissionsByStateByFuelController


        Electricity emissions EmissionsByStateByFuelController dataset controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesEmissionsByStateByFuelData
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/energy-efficiency:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles energy efficiency
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEnergyEfficiency
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/energy-efficiency/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles energy efficiency facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEnergyEfficiencyFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/energy-efficiency/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles energy efficiency data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesEnergyEfficiencyData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Return sep energy-effiency Data
      description: 'Class EnergyEfficiencyController


        Electricity EnergyEfficiencyController dataset controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesEnergyEfficiencyData
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/meters:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles meters
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesMeters
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/meters/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles meters facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesMetersFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/meters/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles meters data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesMetersData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Return sep meters Data
      description: Class MetersController
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesMetersData
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/net-metering:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles net metering
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesNetMetering
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/net-metering/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles net metering facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesNetMeteringFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/net-metering/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles net metering data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesNetMeteringData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Return sep net-metering Data
      description: 'Class NetMeteringController


        Nuclear Outages data set top-level controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesNetMeteringData
      x-operation-id-source: derived
  /v2/electricity/sep:
    get:
      tags:
      - SEP
      summary: Class SEPController
      description: Nuclear Outages data set top-level controller.
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/route'
      operationId: getV2ElectricitySep
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/source-disposition:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles source disposition
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSourceDisposition
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/source-disposition/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles source disposition facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSourceDispositionFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/source-disposition/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles source disposition data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSourceDispositionData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Return sep source-disposition Data
      description: 'Class SourceDispositionDataController


        Electricity SourceDisposition dataset controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesSourceDispositionData
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/summary:
    get:
      tags:
      - SEP
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get electricity state electricity profiles summary
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSummary
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/summary/facet:
    get:
      tags:
      - SEP
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get electricity state electricity profiles summary facet
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSummaryFacet
      x-operation-id-source: derived
  /v2/electricity/state-electricity-profiles/summary/data:
    get:
      tags:
      - SEP
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get electricity state electricity profiles summary data
      x-summary-source: derived
      operationId: getV2ElectricityStateElectricityProfilesSummaryData
      x-operation-id-source: derived
    post:
      tags:
      - SEP
      summary: Return sep summary Data
      description: 'Class SourceSummaryDataController


        Electricity SourceSummary dataset controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2ElectricityStateElectricityProfilesSummaryData
      x-operation-id-source: derived
components:
  schemas:
    DataResponseContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/DataResponse'
      type: object
    Frequency:
      properties:
        id:
          type: string
        description:
          type: string
        format:
          type: string
        query:
          type: string
      type: object
    FacetOptionListContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/FacetOptionList'
      type: object
    Sort:
      properties:
        column:
          type: string
        direction:
          type: string
      type: object
    FinalRoute:
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        frequency:
          type: array
          items:
            $ref: '#/components/schemas/Frequency'
        facets:
          type: array
          items:
            $ref: '#/components/schemas/FacetMetaData'
        data: {}
        startPeriod:
          type: string
        endPeriod:
          type: string
        defaultDateFormat:
          type: string
        defaultFrequency:
          type: string
      type: object
    Facet:
      properties:
        id:
          type: string
        name:
          type: string
        alias:
          type: string
      type: object
    FacetDetailsContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/FacetDetails'
      type: object
    FinalRouteResponse:
      properties:
        response:
          $ref: '#/components/schemas/FinalRoute'
        request:
          $ref: '#/components/schemas/RouteRequest'
      type: object
    RouteRequest:
      properties:
        command:
          type: array
          items:
            type: string
        params: {}
      type: object
    FacetDetails:
      properties:
        totalFacets:
          type: integer
        facets:
          type: array
          items:
            $ref: '#/components/schemas/Facet'
      type: object
    FinalRouteResponseContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/FinalRouteResponse'
      type: object
    DataResponse:
      properties:
        data: {}
        dateFormat:
          type: string
        description:
          type: string
        frequency:
          type: string
        total:
          type: integer
      type: object
    FacetMetaData:
      properties:
        id:
          type: string
        description:
          type: string
      type: object
    FacetOptionList:
      properties:
        totalFacetOptions:
          type: integer
        facetOptions:
          type: array
          items:
            type: string
      type: object
    Routes:
      properties:
        routes:
          type: array
          items:
            type: string
        id:
          type: string
        name:
          type: string
        description:
          type: string
      type: object
    DataParams:
      properties:
        data:
          type: array
          items:
            type: string
        facets:
          type: object
        frequency:
          type: string
        start:
          type: string
        end:
          type: string
        sort:
          type: array
          items:
            $ref: '#/components/schemas/Sort'
        length:
          type: integer
        offset:
          type: integer
      type: object
    RouteResponseContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/RouteResponse'
      type: object
    RouteResponse:
      properties:
        response:
          $ref: '#/components/schemas/Routes'
        request:
          $ref: '#/components/schemas/RouteRequest'
      type: object
  responses:
    final-route:
      description: List of API data sets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FinalRouteResponseContainer'
    facets:
      description: List of facet options
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FacetOptionListContainer'
    route:
      description: List of API data sets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RouteResponseContainer'
    data:
      description: API Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DataResponseContainer'
    facet:
      description: Facet details
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FacetDetailsContainer'
  parameters:
    start:
      name: start
      in: query
      description: Start date to filter by
      required: false
      schema:
        type: string
    sort:
      name: sort
      in: query
      description: How to sort returned data
      required: false
      schema:
        $ref: '#/components/schemas/Sort'
    facets:
      name: facets
      in: query
      description: Facets to filter by
      required: false
      schema:
        type: object
    frequency:
      name: frequency
      in: query
      description: Frequency to filter by
      required: false
      schema:
        type: string
    data:
      name: data
      in: query
      description: Data columns to filter by
      required: false
      schema:
        type: array
        items:
          type: string
    length:
      name: length
      in: query
      description: Max length of returned data
      required: false
      schema:
        type: integer
    facetId:
      name: facet_id
      in: path
      description: Facet ID
      required: true
      schema:
        type: string
    end:
      name: end
      in: query
      description: End date to filter by
      required: false
      schema:
        type: string
    offset:
      name: offset
      in: query
      description: Offset of returned data
      required: false
      schema:
        type: integer
  requestBodies:
    dataParams:
      description: Parameters for data call
      required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DataParams'
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: query
externalDocs:
  description: EIA's API Technical Documentation
  url: https://www.eia.gov/opendata/documentation.php