SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
seo

Create a fix set from files you rewrote.

Read the audit findings, fetch the current file content from the repository yourself, rewrite only the wording and metadata, then send 1 to 50 files with their full new content. SoftSolz reads the original from the branch head and diffs it. Every file passes the same guard as the dashboard: only wording and head/metadata tags may change, stylesheets, images and config files are refused (fix_touches_design), and the layout fingerprint of an updated page must be identical. Only robots.txt, sitemap.xml, llms.txt and security.txt may be created. Refused files come back in refused with the reason; fix them and send again. Spends no SoftSolz AI credits. Bodies are capped at 1 MB, so send big sets in batches with POST /code/fixes/{fix_set_id}/files.

POSThttps://app.softsolz.uk/api/v1/services/seo/sites/{site_id}/code/repos/{repo_id}/fixes

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

site_idstringrequired
repo_idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

filesarray of objects

Files to change.

base_branchstring

Branch to read from and target, default the repository default branch.

Response

Response Body

setobjectA set of content fixes destined for one pull request.
filesarray of objectsFiles accepted into the set.
refusedarray of objectsFiles the guard refused, with the reason to fix and resend.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.createFixSet('<site_id>', '<repo_id>', {});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 201

{
"data": {
"set": {},
"files": [],
"refused": []
}
}