sl_management_…) in the Authorization: Bearer header. See Authentication for how to obtain one.
Base path: /api/v1/projects
List all projects
GET /api/v1/projects
Returns every project in your org, ordered most-recently-created first.
array
Array of project objects. Empty array if the org has no projects yet.
string (UUID)
Unique project identifier. Use this as
projectId in all other API calls.string
Human-readable display name.
string
URL-safe identifier. Lowercase alphanumeric + dashes, up to 40 characters. Unique within the org.
string
Free-text architecture description fed to the Superlog agent when it analyzes issues in this project.
string (ISO 8601)
When the project was created.
"never" | "when_checks_pass" | "immediately"
Auto-merge policy for agent-opened fix PRs.
"squash" | "merge" | "rebase"
Merge strategy used when auto-merging.
string | null
Target branch for agent-opened PRs.
null means the repository default branch.Get a project
GET /api/v1/projects/:projectId
Fetch a single project by its UUID.
project object:
404 if no project with the given UUID exists in your org.
Create a project
POST /api/v1/projects
Creates a new project and, by default, mints an initial ingest key in the same request so you can start sending telemetry immediately.
string
required
Display name for the project. 1–120 characters.
string
required
URL-safe identifier for the project. 1–40 characters, lowercase alphanumeric and dashes only (e.g.,
my-app). Must be unique within the org. The first and last characters must be alphanumeric.string
Free-text description of your service architecture (up to 8,000 characters). The Superlog agent reads this when analyzing errors and writing fix PRs. Include details like runtime, framework, database, and deployment environment.
boolean
default:"true"
When
true (the default), an ingest key named "Initial ingest key" is minted alongside the project and returned in the response. Set to false if you prefer to mint keys separately."never" | "when_checks_pass" | "immediately"
default:"\"never\""
Controls whether the agent auto-merges the fix PRs it opens.
"never"— PRs are opened but never merged automatically."when_checks_pass"— uses GitHub’s native auto-merge; the PR merges once all required status checks pass."immediately"— the agent calls the merge API immediately after the PR is opened, without waiting for checks.
"squash" | "merge" | "rebase"
default:"\"squash\""
Merge strategy to use when
automerge_fix_prs is not "never".string | null
Target branch for agent-opened fix PRs. Pass
null or omit to use the repository’s default branch. Must be a valid Git branch name if provided.object
The newly created project. Same shape as the get-project response.
object | null
The minted ingest key. Present when
mint_ingest_key is true; null otherwise. The plaintext field contains the full key value — store it immediately, as it is shown only once.Update a project
PATCH /api/v1/projects/:projectId
Partially updates a project. Only the fields you include in the request body are changed — omitted fields are left untouched.
string
New display name. 1–120 characters.
string
New slug. Must be unique within the org. If the slug is unchanged, no conflict check is performed.
string
Replaces the entire project context string. Up to 8,000 characters.
"never" | "when_checks_pass" | "immediately"
New auto-merge policy.
"squash" | "merge" | "rebase"
New merge strategy.
string | null
New PR base branch. Pass
null to revert to the repo default.