Steps to Access Prompt via API
1. Create Prompt
Users can create custom prompts. By entering any prompt, users can generate content tailored to their needs.

Add variables to your prompts to generate personalized and relevant content in your tone.

2. Integration
Go to the integrate section of Prompts in web prompt and access your X-API-Key

3. Make a Post request to the AIHarness endpoint:
https://aiharness.io/portal/api/promptApi:
with these Required parameters:
Method: POST
Headers:
x-api-key :

example:
Body:
prompt_id
Input Variables

Process: Retrieves prompt details, substitutes variables, and sends a request to OpenAI API
Response: Returns the OpenAI API response or error messages