Integration
Connect Langfuse to UK Carbon Intensity
When something happens in Langfuse, your agent does the next thing in UK Carbon Intensity. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Langfuse and UK Carbon Intensity to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Langfuse and UK Carbon Intensity
Triggers and actions 1 trigger ยท 22 actions
Trigger
New TracePolling trigger: fires for newly created traces (dedup by trace id / timestamp). GET /api/public/traces
Action
Add CommentAdd a comment to a trace/observation/session/prompt object. POST /api/public/comments
Action
Add DatasetCreate a new dataset. POST /api/public/v2/datasets
Action
Add Dataset ItemCreate an item (input/expected_output/metadata) in a dataset. POST /api/public/dataset-items
Action
Add PromptCreate a new prompt version (text or chat). POST /api/public/v2/prompts
Action
Add ScoreCreate a score attached to a trace/observation/session (numeric, categorical, or boolean). POST /api/public/scores
Action
Delete TraceDelete a trace by id. DELETE /api/public/traces/{traceId}
Action
Get ProjectReads the Langfuse project that the connection's project-scoped API key belongs to.
Action
Get PromptGet a prompt by name (and optional version/label). GET /api/public/v2/prompts/{promptName}
Action
Get TraceGet a single trace by id, including nested observations/scores. GET /api/public/traces/{traceId}
Action
List Dataset ItemsList items in a dataset. GET /api/public/dataset-items
Action
List DatasetsList all datasets in the project. GET /api/public/v2/datasets
Action
List PromptsList all prompts in the project. GET /api/public/v2/prompts
Action
List ScoresList scores with optional filters. GET /api/public/v2/scores
Action
Find regional carbon intensity by postcodeGet carbon intensity data for the GB region matching a given postcode, optionally over a date range.
Action
Find regional carbon intensity by region IDGet carbon intensity data for a specific GB region by its region ID, optionally over a date range.
Action
Get carbon intensity by dateGet the national carbon intensity data for a specific date, optionally narrowed to a half-hour settlement period.
Action
Get carbon intensity factorsGet the CO2 emission factors used per generation fuel type in carbon intensity calculations.
Action
Get carbon intensity statistics for a date rangeGet average, min and max national carbon intensity statistics over a date range, optionally broken into blocks.
Action
Get current national carbon intensityGet the current forecast and actual carbon intensity for Great Britain's national grid.
Action
Get national carbon intensity for a date rangeGet national carbon intensity data across a from/to date range or a rolling forward/past window.
Action
Get national generation mixGet the national electricity generation mix by fuel type, currently or over a date range.
Action
Get regional carbon intensityGet current regional carbon intensity data for all GB regions, or for England, Scotland, or Wales.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.
Each app on its own
Reviews