Project Management
Operations for managing projects and project data
Retrieves a list of documents (jobs and projects) for the authenticated user. Returns job-based data with project information included.
Authorizations
Responses
200
Documents retrieved successfully
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /api/fetchDocuments HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"jobId": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"status": "draft",
"progress": 1,
"is_starred": true,
"created_at": "2025-07-17T11:05:59.740Z",
"updated_at": "2025-07-17T11:05:59.740Z"
}
]
Creates a copy of an existing project with all its settings and files
Authorizations
Body
projectIdstring · uuidRequired
ID of the project to duplicate
Responses
200
Project duplicated successfully
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Project not found
application/json
500
Internal Server Error
application/json
post
POST /api/duplicateProject HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"projectId": "123e4567-e89b-12d3-a456-426614174000"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
Toggles the starred status of a document (job)
Authorizations
Body
jobIdstring · uuidRequired
ID of the job to star/unstar
Responses
200
Document starred/unstarred successfully
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Job not found
application/json
500
Internal Server Error
application/json
post
POST /api/starDocument HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"jobId": "123e4567-e89b-12d3-a456-426614174000"
}
{
"message": "Document starred successfully"
}