📦 Request & Response Format

Content Type

Most requests use JSON format:

Content-Type: application/json

File upload endpoints (e.g., /project/{projectId}/instructions, /project/{projectId}/chat) use:

Content-Type: multipart/form-data

Standard Response Structure

Success Response:

{
  "status": "success",
  "data": {
    // Response data here
  }
}

Error Response:

{
  "status": "fail",
  "message": "Error description"
}