For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
Dashboard
LogoLogo
DocsAPI Reference
  • OCPPLAB Gateway API
        • GETList CPO templates
OCPPLAB Gateway APIOCPIOcpi Templates

List CPO templates

||View as Markdown|
GET
https://host.com/ocpi/templates/cpos
GET
/ocpi/templates/cpos
1import requests
2
3url = "https://host.com/ocpi/templates/cpos"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.get(url, headers=headers)
8
9print(response.json())
1{
2 "data": [
3 {
4 "slug": "small-urban-ac",
5 "version": 1,
6 "description": "2 urban locations with 3 AC chargers each (OCPP 1.6)",
7 "locations": 2,
8 "chargers": 6
9 },
10 {
11 "slug": "highway-dc",
12 "version": 1,
13 "description": "3 highway sites with 2 DC fast chargers each (OCPP 1.6)",
14 "locations": 3,
15 "chargers": 6
16 },
17 {
18 "slug": "mixed-depot",
19 "version": 1,
20 "description": "Single depot with 4 AC + 2 DC chargers (mixed OCPP)",
21 "locations": 1,
22 "chargers": 6
23 }
24 ],
25 "total": 3
26}

Return the gallery of CPO topology presets. Each entry describes a full CPO recipe (N locations × M chargers). Use the slug in POST /ocpi/cpos.

Was this page helpful?
Previous

Update OCPI location

Next

List location templates

Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Template gallery
datalist of objects
totalinteger

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error