Build it
What do you want Openlayer and DefiLlama 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 Openlayer and DefiLlama
Triggers and actions 2 triggers ยท 33 actions
Trigger
New ProjectTriggers when a new project is created in your Openlayer workspace.
Trigger
New Test ResultTriggers when a new test result is available for a data source. Useful for alerting on passing or failing model tests.
Action
Create Data SourceCreates a new data source in a project for streaming production data to Openlayer.
Action
Create ProjectCreates a new AI or ML project in your Openlayer workspace.
Action
Create TestCreates a data quality test in a project. Checks for duplicate rows, null values, or row counts.
Action
Delete Inference PipelineDelete an inference pipeline by its ID. DELETE /inference-pipelines/{id}
Action
Delete ProjectDelete a project by its ID. DELETE /projects/{id}
Action
Delete TestDelete a test by its ID. DELETE /tests/{testId}
Action
Evaluate TestEvaluates a test for a specific time range. Use after publishing records to get immediate results.
Action
Find Data SourceFinds a data source (inference pipeline) by name in a project.
Action
Find ProjectFinds a project by name in your Openlayer workspace.
Action
Find Test ResultFinds test results for a data source, including whether each test passed or failed. Filter by outcome or test type to branch an automation on the result.
Action
Get Inference PipelineRetrieve the details around a specific inference pipeline. GET /inference-pipelines/{id}
Action
Get ProjectRetrieves one project by its id. Openlayer has no single-project endpoint, so this reads the workspace's first 100 projects and returns the one matching the id.
Action
Get TestRetrieve a test by ID. GET /tests/{testId}
Action
Get Test ResultRetrieves one test result by its id. Openlayer has no single-result endpoint, so this reads the data source's 100 most recent results and returns the matching one.
Action
List Inference PipelinesList the authenticated user's inference pipelines under a project. GET /projects/{id}/inference-pipelines
Action
List ProjectsLists the projects in your Openlayer workspace, optionally narrowed to one kind of project. Returns up to 100 projects.
Action
List Test ResultsList all results for a test/goal under an inference pipeline. GET /inference-pipelines/{id}/results or GET /tests/{id}/results
Action
List TestsLists the tests in a project, optionally narrowed by kind, archived state or monitoring mode. Returns up to 100 tests.
Action
Publish RecordPublishes an LLM inference record to a data source for monitoring. Streams the model input, output, and metadata to Openlayer.
Action
Update Inference PipelineUpdate an inference pipeline. PUT /inference-pipelines/{id}
Action
Update ProjectUpdate a project. PUT /projects/{id}
Action
Update TestUpdate a test (partial updates allowed). PUT /tests/{testId}
Action
Get current protocol TVLSimplified endpoint returning just the current TVL number for a protocol. GET https://api.llama.fi/tvl/{protocol}. Path param: protocol slug.
Action
Get current token pricesGet current prices of tokens by contract address / coingecko id. GET https://coins.llama.fi/prices/current/{coins} where coins is a comma-separated list like "ethereum:0x...,coingecko:bitcoin".
Action
Get historical chain TVLGet historical TVL (excludes liquid staking/double counting) for a specific chain. GET https://api.llama.fi/v2/historicalChainTvl/{chain}. Path param: chain slug.
Action
Get historical token pricesGet historical prices of tokens at a given unix timestamp. GET https://coins.llama.fi/prices/historical/{timestamp}/{coins}.
Action
Get protocol fees summaryGet summary of fees and revenue for a protocol. GET https://api.llama.fi/summary/fees/{protocol}. Path param: protocol slug.
Action
Get protocol TVL detailsGet historical TVL of a protocol and breakdowns by token and chain. GET https://api.llama.fi/protocol/{protocol}. Path param: protocol slug.
Action
Get stablecoin detailsGet historical mcap and chain distribution for a specific stablecoin. GET https://stablecoins.llama.fi/stablecoin/{asset}. Path param: stablecoin id/asset.
Action
List chains TVLGet current TVL of all chains. GET https://api.llama.fi/v2/chains.
Action
List protocolsList all protocols on DefiLlama along with their current TVL. GET https://api.llama.fi/protocols. No auth required.
Action
List stablecoin chainsGet current stablecoin market cap on each chain. GET https://stablecoins.llama.fi/stablecoinchains.
Action
List stablecoinsList all stablecoins along with their circulating supply. GET https://stablecoins.llama.fi/stablecoins.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.