Skip to main content
The Sail API is OpenAI-compatible — you can use the OpenAI SDK or any HTTP client to interact with it. All endpoints use Bearer token authentication.

Authentication

Include your API key as a Bearer token in the Authorization header of every request:
Authorization: Bearer YOUR_SAIL_API_KEY

Endpoints

The API currently supports the following operations on the /responses resource:
  • Create a responsePOST /responses
  • Retrieve a responseGET /responses/{response_id}
  • Delete a responseDELETE /responses/{response_id}
  • Cancel a responsePOST /responses/{response_id}/cancel
Explore the full reference for each endpoint in the sidebar.