Projects
A project is one business: its website, language, audience and voice. Every article and post is generated inside a project, so most integrations start by picking a project_id here.
| Method | Path | Needs |
|---|---|---|
| GET | /api/v1/projects | read |
| GET | /api/v1/projects/{id} | read |
| POST | /api/v1/projects/preflight | read + projects scope. Free. |
/api/v1/projectsYour projects, newest first, paginated. Free.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | integer | Optional | 1-based page Default 1. |
| limit | integer | Optional | 1 to 100 Default 20. |
| status | string | Optional | Exact match on the project status, for example completed |
| search | string | Optional | Case-insensitive match on business_name (max 200 characters) |
curl "https://www.brainpercent.app/api/v1/projects?limit=5" \
-H "Authorization: Bearer $BP_KEY"{
"success": true,
"data": [
{
"id": "1f8b4518-128d-4b2c-8b81-aa3939dbb7b5",
"business_name": "Northwind Coffee",
"business_website": "https://northwind.coffee/",
"business_language": "en",
"location": null,
"expert_in": "Northwind Coffee roasts single-origin beans and sells brewing gear online.",
"status": "completed",
"created_at": "2026-09-28T09:32:51.128873+00:00",
"updated_at": "2026-10-25T04:01:06.591743+00:00"
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 5,
"total_pages": 1,
"has_more": false
},
"meta": {
"timestamp": "2026-10-29T15:40:14.123Z"
}
}/api/v1/projects/:idOne project with the brand context generation uses: audience, tone, offer and products. Credentials and sync settings stored on the project are never returned. Another account's project is a 404. Free.
curl https://www.brainpercent.app/api/v1/projects/1f8b4518-128d-4b2c-8b81-aa3939dbb7b5 \
-H "Authorization: Bearer $BP_KEY"{
"success": true,
"data": {
"id": "1f8b4518-128d-4b2c-8b81-aa3939dbb7b5",
"business_name": "Northwind Coffee",
"business_website": "https://northwind.coffee/",
"business_language": "en",
"language_code": null,
"location": null,
"expert_in": "Northwind Coffee roasts single-origin beans and sells brewing gear online.",
"avatar_icp": "Home brewers who want cafe results",
"avatar_niche": "Specialty coffee",
"tone_voice": "friendly",
"tone_style": "practical",
"structure_usp": "Roasted to order, shipped in 48 hours",
"structure_main_offer": "Monthly bean subscription",
"structure_key_products": "Beans, grinders, pour-over kits",
"status": "completed",
"project_status": "active",
"created_at": "2026-09-28T09:32:51.128873+00:00",
"updated_at": "2026-10-25T04:01:06.591743+00:00"
},
"meta": {
"timestamp": "2026-10-29T15:40:14.123Z"
}
}/api/v1/projects/preflightAsk whether this account already has a project for a website before you send someone to create one. Read-only: it never creates a project, starts a scan or spends credits. Needs the projects scope. Limited to 30 calls a minute per account.
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| website | string | Required | A URL or domain, for example northwind.coffee (max 500 characters) |
| business_name | string | Optional | Optional, max 120 characters. Used to spot a likely duplicate with another address. |
curl -X POST https://www.brainpercent.app/api/v1/projects/preflight \
-H "Authorization: Bearer $BP_KEY" \
-H "Content-Type: application/json" \
-d '{"website": "northwind.coffee"}'{
"success": true,
"data": {
"verdict": "open_existing",
"websiteKey": "northwind.coffee",
"existing": {
"id": "1f8b4518-128d-4b2c-8b81-aa3939dbb7b5",
"business_name": "Northwind Coffee",
"business_website": "https://northwind.coffee/"
},
"source": null
},
"meta": {
"timestamp": "2026-10-29T15:40:14.123Z"
}
}Preflight verdicts
| verdict | Meaning |
|---|---|
| open_existing | A project for this site exists. existing.id is the project_id to use. |
| blocked_removed | A deleted, archived or locked project already holds this exact address, so a new one cannot be created with it. Sort it out in the app. |
| confirm_name | No match on the address, but a recent project has the same name. Confirm before creating. |
| create | Nothing matches and the site is readable. Safe to create in the app. |
| hold | The site could not be read right now. Do not create yet; source.message says why. |
| invalid | The website value is not a usable address. |
Errors: 400 VALIDATION_ERROR for a bad body, 403 FORBIDDEN without the projects scope, 429 RATE_LIMIT_EXCEEDED past 30 a minute, 503 INTERNAL_ERROR when the check could not run.