Platform
API & Data Platform
Public API
7 min
all abv data and features are available via the api path /api/public us https //app abv devapi/public eu https //eu app abv dev/api/public references api reference https //api reference abv com openapi spec https //app abv dev/generated/api/openapi ym l postman collection https //app abv dev/generated/postman/collection json authentication authenticate with the api using basic auth https //en wikipedia org/wiki/basic access authentication the api key is available in the abv project settings username abv public key password abv secret key example curl u public key\ api key https //app abv dev/api/public/projects access via sdks both the abv python sdk https //docs abv dev/python sdk and the js/ts sdk https //docs abv dev/jsts sdk provide a strongly typed wrapper around our public rest api for your convenience the api methods are accessible via the api property on the abv client instance in both sdks you can use your editor's intellisense to explore the api methods and their parameters when fetching prompts https //docs abv dev/get started with prompt management#zubhm , please use the get prompt (python) / getprompt (js/ts) methods on the abv client to benefit from client side caching, automatic retries, and fallbacks python sdk when using the python sdk https //docs abv dev/python sdk from abvdev import get client abv = get client() \# fetch a trace abv api trace get(trace id) \# async client via asyncio await abv async api trace(trace id) \# explore more endpoints via intellisense abv api await abv async api js/ts sdk import { abvclient } from "@abvdev/client"; const abv = new abvclient(); // fetch a trace await abv api trace get(traceid); // explore more endpoints via intellisense abv api ingest traces via the api it is recommended to use the opentelemetry endpoint to ingest traces please refer to the opentelemetry docs for more information alternatives you can also export data via ui https //docs abv dev/export data from ui manual batch exports from the abv ui blob storage https //docs abv dev/export via blob storage integration scheduled automated exports to cloud storage faq are there any limits to the abv api? are there any limits to the abv api?