SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
seo

Add more files to a fix set that has not been pushed yet.

Same rules as creating a set. 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. 409 fix_set_locked means the set is being pushed or already pushed.

POSThttps://app.softsolz.uk/api/v1/services/seo/code/fixes/{fix_set_id}/files

Recent Requests

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

Path Params

fix_set_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 add.

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.addFixSetFiles('<fix_set_id>', {});
console.log(result);

Credentials

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

Response · 201

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