Right now, the primary way to access PromptLayer is through our Python wrapper library that can be installed with pip install promptlayer.

The Python library is a wrapper over our REST API. If you use another language, like Javascript, just interact directly with the API.

Here are the calls you can make via our REST API:

  1. Get Prompt Template
  2. Publish Prompt Template
  3. Get Prompt Template Labels
  4. Create Prompt Template Label
  5. Move Prompt Template Labels
  6. Delete Prompt Template Label
  7. Track Score
  8. Track Prompt
  9. Track Group
  10. Track Metadata
  11. Get All Prompt Templates
  12. Create Dataset from History
  13. Create Evaluation Pipeline
  14. Delete Reports by Name
  15. Get Workflow Version Execution Results
  16. Run Workflow