Skip to main content

Setup Your Pipeline’s API

Sign up for jetski.ai and then fill out the form to deploy your own AI. No instructions needed!

Call Your API

Copy your autogenerated API endpoint and make a POST request with the following JSON payload:
{
 "parameters" : 
 {
   "example_param" : "example_value"
 },
 "messages":
 [
 {
 "type" : "human",
 "content" : "who in the right mind jetski's in shark water?"
 },
 {
 "type" : "assistant",
 "content" : "Someone who lives life on the fin!"
 }
 ]
}
This JSON structure is unversal for all AI configurations through our deployment form.
curl -H 'Content-Type: application/json' \\
    -d '{ \n "parameters": 
    {
    
    },
    "messages": [
            {
              "type" : "type of message ("human" or "assistant")",
              "content" : "content of message"
            },
             {
              "type" : "type of message ("human" or "assistant")",
              "content" : "content of message"
            },
          ]}' \\
    -X POST \\
    <your endpoint goes here>