Getting started with our APIs.
prompt_id
parameter is required for both API endpoints. The Prompt object it points to contains the prompt text and the model
to run the request on. You can find the Prompt ID for your prompts on the Prompts page in the dashboard.
messages
, which
is an array of Message
objects. This array can be empty if you would only like to pass in the content of your saved prompt as input.
If you would like to pass in a user message or any additional information, you can pass it in as follows:
messages
param. We usually recommend using
the Conversation endpoint for these types of requests, but you can also use the Completion endpoint with messages
as follows:
message
param, and we’ll handle the rest!
You can always view the full history of the conversation on the
“Logs” page in our dashboard by clicking into the Details page. On the Details page, you can:
Log Detail Page