Skip to main content
The best way to access PromptLayer is through our Python or JavaScript SDK libraries. Our REST API is fully supported — the SDK libraries are built on top of it.

Overview

PromptLayer provides a powerful REST API that allows you to interact with the platform programmatically. The API enables you to perform various actions, such as tracking requests, getting prompt templates, publishing prompt templates, tracking scores, associating prompt templates with requests, and associating metadata with requests.

API Reference

For detailed information about the available API endpoints and their usage, please refer to our REST API Reference.