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 CPOs
        • POSTCreate CPO (durable)
        • GETGet CPO provisioning status
        • GETGet CPO
        • DELDelete CPO
        • GETGet CPO report
OCPPLAB Gateway APIOCPIOcpi Cpos

Get CPO report

||View as Markdown|
GET
https://host.com/ocpi/cpos/:cpo_id/report
GET
/ocpi/cpos/:cpo_id/report
1import requests
2
3url = "https://host.com/ocpi/cpos/42/report"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.get(url, headers=headers)
8
9print(response.json())
1{
2 "cpo_id": "101",
3 "markdown": "# CPO 101 — demo (small-urban-ac)\n\n## Party\nFR / ABC / CPO\n\n## Locations (2)\n- loc-1 · Urban AC Small · Paris (3 chargers)\n- loc-2 · Urban AC Small · Lyon (3 chargers)\n\n## Token A\n`a_TOKdemo123`\n"
4}

Return a Markdown 1-pager describing the CPO.

Was this page helpful?
Previous

Delete CPO

Next

List locations in a network

Built with

Authentication

AuthorizationBearer

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

Path parameters

cpo_idstringRequiredformat: "^\d+$"

CPO identifier. Backed by ocpp.partner_operations.id (string, positive integer).

Response

Report generated successfully
cpo_idstring
markdownstring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error