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.
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.