post · projects:write

Create a project

Session-authenticated only. API keys are issued against an existing project and cannot create one.

Write

REST

post/api/v1/projects
curl "https://herculradar.com/api/v1/projects" \
  --request POST \
  --header "Authorization: Bearer hr_live_…" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: $(uuidgen)" \
  --data '{"name":"Acme"}'

MCP

Tool name create_project. It takes the same input and returns the same { data, meta } envelope as REST, because both call the same function.

Create a workspace for a brand. Only needed once per brand you monitor.

Request body

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80
    },
    "website": {
      "type": "string",
      "format": "uri",
      "nullable": true
    }
  }
}

Response

{
  "data": {
    "id": "uuid",
    "name": "Acme",
    "slug": "acme",
    "plan": "trial"
  },
  "meta": {
    "capability": "create_project",
    "requestId": "req_9f2b4a8c1d0e",
    "idempotencyReplayed": false,
    "docs": "https://herculradar.com/docs/reference/create_project"
  }
}

Authorization

Requires the projects:write scope. A credential without it gets 403 FORBIDDEN. Resources in projects the credential cannot reach answer 404 NOT_FOUND rather than 403, so ids cannot be probed across tenants.

Send an Idempotency-Key header. A completed response is replayed for 24 hours, so a retry after a timeout cannot create a duplicate.