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
AuthorizationstringRequired
JWT token for user session authentication.
Responses
200
Documents retrieved successfully
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/fetchDocumentsGET /api/fetchDocuments HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
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-12-06T13:53:01.874Z",
"updated_at": "2025-12-06T13:53:01.874Z"
}
]Creates a copy of an existing project with all its settings and files
Authorizations
AuthorizationstringRequired
JWT token for user session authentication.
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
/duplicateProjectPOST /api/duplicateProject HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
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
AuthorizationstringRequired
JWT token for user session authentication.
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
/starDocumentPOST /api/starDocument HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"jobId": "123e4567-e89b-12d3-a456-426614174000"
}{
"message": "Document starred successfully"
}