Api Documentation
API Documentation
Evoka AI provides a set of RESTful APIs to interact with its powerful backend services. Use these APIs to integrate Evoka AI’s capabilities into your workflows and applications.
Base URL
All API endpoints are accessible via the following base URL:
Authentication
No authentication is required for development purposes.
Ensure your environment variables, including
OPENAI_API_KEY
, are properly configured.
Endpoints
1. Chat Endpoint
Description
Generates AI-powered responses based on the provided prompt and context.
Endpoint
Request Body
Response
Example
2. Game Development Chat
Description
Creates or updates game files based on user input.
Endpoint
Request Body
Response
3. Host Site
Description
Hosts a website with the provided pages and metadata.
Endpoint
Request Body
Response
4. Fetch Recent Sites
Description
Retrieves a list of recently created sites.
Endpoint
Response
5. Fetch Site by ID
Description
Fetches a specific site using its unique ID.
Endpoint
Response
Error Handling
All endpoints return errors in the following format:
Last updated