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. Track Request
  2. Get Prompt Template
  3. Get Prompt Template (Deprecated)
  4. Publish Prompt Template
  5. Get Prompt Template Labels
  6. Create Prompt Template Label
  7. Move Prompt Template Labels
  8. Delete Prompt Template Label
  9. Publish Prompt Template (Deprecated)
  10. Track Score
  11. Track Prompt
  12. Track Group
  13. Track Metadata
  14. Get All Prompt Templates
  15. Get All Prompt Templates (Deprecated)
  16. Create Dataset from History
  17. Delete Datasets by Name
  18. Create Evaluation Pipeline
  19. Delete Reports by Name