API Reference / Strategy - Initiative Ownership Bulk
Push bootstrap files to repository
post
https://api.intelig.ai/api/v1/intelig/strategy/ownership/bootstrap
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: pushBootstrapFiles
Creates a PR with initiatives.json and ownership-prompt.md in the specified repository and path. Used by the ownership mapping wizard to automate the bootstrap file setup.
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/strategy/ownership/bootstrap" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"repositoryId": 10,
"path": "intelig/bootstrap/"
}' Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
repositoryId | integer (int64) | yes | ID of the target repository Example: 10 |
path | string | yes | Directory path for bootstrap files (alphanumeric, dots, slashes, hyphens only) Example: intelig/bootstrap/ |
Response 200
application/json · ApiResponsePushBootstrapFilesResponseDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | PushBootstrapFilesResponseDto | Response after successfully pushing bootstrap files to a repository via PR |
Status codes
200— PR created successfully400— Invalid repository or path401— —404— Repository not found429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.