Integration
Connect Langfuse to Transport for Spain
When something happens in Langfuse, your agent does the next thing in Transport for Spain. 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 Transport for Spain 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 Transport for Spain
Triggers and actions 1 trigger · 16 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 records by queryFind transport data records matching a free-text search term (CKAN datastore_search with a query parameter).
Action
List recordsList transport data records from Renfe's open-data resource, with optional paging (CKAN datastore_search).
Action
Query records via SQLRun a read-only SQL SELECT statement against Renfe's open-data resource (CKAN datastore_search_sql).
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.