Check the status of a project generation job.
curl https://faces.app/api/v1/projects/jobs/cm1abc123... \
-H "Authorization: Bearer $FACES_API_KEY"
{
"jobId": "cm1abc123def456",
"status": "completed",
"editorUrl": "https://faces.app/s/xK9mP2qR",
"publishedUrl": "https://your-subdomain.faces.site/project-slug",
"createdAt": "2025-01-15T10:30:00.000Z"
}
curl https://faces.app/api/v1/projects/jobs/cm1abc123... \
-H "Authorization: Bearer $FACES_API_KEY"
{
"jobId": "cm1abc123def456",
"status": "completed",
"editorUrl": "https://faces.app/s/xK9mP2qR",
"publishedUrl": "https://your-subdomain.faces.site/project-slug",
"createdAt": "2025-01-15T10:30:00.000Z"
}
processing, completed, or failed. Poll until it’s no longer processing.status is completed and the project has a subdomain.status is failed.curl https://faces.app/api/v1/projects/jobs/cm1abc123... \
-H "Authorization: Bearer $FACES_API_KEY"
{
"jobId": "cm1abc123def456",
"status": "completed",
"editorUrl": "https://faces.app/s/xK9mP2qR",
"publishedUrl": "https://your-subdomain.faces.site/project-slug",
"createdAt": "2025-01-15T10:30:00.000Z"
}