Integration
Connect Langfuse to Open Government, Portugal
When something happens in Langfuse, your agent does the next thing in Open Government, Portugal. 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 Open Government, Portugal 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 Open Government, Portugal
Triggers and actions 3 triggers · 20 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
Trigger
New datasetFires when a new dataset is published. Poll GET /datasets/ sorted by -created and dedup on dataset id.
Trigger
New reuseFires when a new reuse is published. Poll GET /reuses/ sorted by -created and dedup on reuse id.
Action
Get datasetGet a dataset given its identifier. GET /datasets/{dataset}/
Action
Get organizationGet an organization given its identifier. GET /organizations/{org}/
Action
Get reuseFetch a given reuse. GET /reuses/{reuse}/
Action
List datasetsList or search all datasets. GET /datasets/
Action
List discussionsList all discussions. GET /discussions/
Action
List organizationsList or search all organizations. GET /organizations/
Action
List reusesList all reuses. GET /reuses/
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.